Skip to main content
Formal Specification

Palm Leaf Sheath Sled Racing — Formal Specification

Malaysia · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Tarik Upih Pinang — AI-optimized specification ## General idea A multi-agent tandem racing and stamina-allocation game. Pairs consisting of a puller and a rider navigate a 1D sprint track. The pulling agent manages stamina expenditure and acceleration against ground friction and balance stability thresholds, while the rider agent executes active weight-shifting to prevent sled tip-over faults. ## Formal model - **Abstraction taken:** Sled pulling mechanics, friction coefficients, and rider center-of-mass dynamics are discretized into a step-by-step physics simulation over distance D=30.0 meters. - **Player/agent count:** K competing pairs (K∈[2..6]), each pair comprising Puller Pk and Rider Rk. - **Turn model:** Synchronous discrete-time tick simulation (Δt=0.5 s) until all pairs cross the finish line. ## Formal rules R1. State tracking per pair k: Distance xk∈[0..D], Velocity vk≥0, Puller Stamina Ek∈[0..100], Stability Sk∈[0..1.0], Status ∈{RACING,REMOUNTING,FINISHED}. R2. Puller action: At each tick t, Puller selects effort level up,k∈[0.0,1.0]. - Force applied: Fk=up,k⋅Fmax⋅(Ek/100). - Stamina drain: Ek←max⁡(0,Ek−up,k2⋅ΔEdrain). R3. Rider action: Rider selects lean compensation angle θr,k∈[−30∘,+30∘] to match terrain turbulence δt∼𝒩(0,σground2). R4. Dynamic update: - Net acceleration: ak=(Fk−μfriction⋅mtotal⋅g)/mtotal. - Velocity update: vk←max⁡(0,vk+ak⋅Δt). - Distance update: xk←xk+vk⋅Δt. - Stability check: Sk=1.0−α⋅|θr,k−δt|−β⋅vk. R5. Fall-off penalty: - If Sk<0.2, the rider falls off; pair transitions to `REMOUNTING` status for a penalty duration of tremount=3.0 seconds (vk←0). R6. [gap-fill] Relay format: Upon reaching xk≥D, roles swap (Rider becomes Puller, Puller becomes Rider), stamina restores by +30%, and the pair races back to x=0. R7. [gap-fill] Victory condition: The pair that completes the full out-and-back circuit (2×D=60 m) in the lowest total elapsed time wins. ## Edge cases - Tie at the end condition: Resolved by photo-finish millisecond comparison. - A player with no legal move: Not applicable; effort and lean inputs are continuous and always defined. - Repetition / cycles: Sled movement is strictly forward along the track; elapsed time strictly increases monotonically. - Simultaneous claims on the same resource: Pairs operate in separate independent 1D lanes. - Player elimination mid-round: If a pair incurs 3 consecutive falls, they are flagged `DNF` (Did Not Finish). - Resource exhaustion: Stamina Ek decays but maintains a minimum recovery floor. - Termination guarantee: Positive net velocity bounds the time to reach D. ## State representation - Persistent state: `track_length` D, `elapsed_time_vector[K]`, `ranks[K]`. - Ephemeral tick state: Per-pair (xk,vk,Ek,Sk,status). - Observable information: Full visibility of own pair dynamics and relative distance of competing pairs. ## Action space - Puller: `pull_effort(float in [0.0, 1.0])`. - Rider: `lean_angle(float in [-30.0, 30.0])`. ## Playability notes - Single-player-vs-AI: Natural; player controls effort and balance against AI pairs running optimal control heuristics. - Group games (n>4): Native multi-lane race. - Physical-skill games: Physical grip endurance and balance reflexes are mapped to stamina decay curves and balance tolerances. - What is lost: The physical sensation of bumps on grassy ground and friction heat on palm sheaths is abstracted into mathematical coefficients. ## Implementation hints Straightforward ODE/kinematic simulation loop. First milestone: tune friction and stamina parameters so an aggressive puller without rider stabilization falls off, while a calibrated team finishes the 60m circuit in ~25–35 seconds.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Palm Leaf Sheath Sled Racing (Malaysia). (n.d.). Games of Countries. https://gamesofcountries.com/games/my-malaysia/tarik-upih

@misc{gamesofcountries-my-malaysia-tarik-upih,
  title = {Palm Leaf Sheath Sled Racing (Malaysia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/my-malaysia/tarik-upih}
}