Skip to main content
Formal Specification

Burmese Frog-Leap Game (also known as Pha Khon Pyai) — Formal Specification

Myanmar · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Pha Khon Tam — AI-optimized specification ## General idea A traditional children's agility and relay race imitating the locomotion of frogs. Competitors maintain a deep squat (*pha-htoek*) with hands touching the ground between their knees, springing forward in two-footed explosive bounds. The game models both individual sprint racing and cooperative leapfrog caterpillar chain relays where players vault sequentially over crouching teammates. ## Formal model - **Abstraction taken:** Full-body biomechanics and quadriceps muscle burn are discretized into a 1D track of length L=15.0 meters. Each agent maintains a 1D position xi∈[0,L], a stance status ∈{Deep_Squat,Airborne,Fault}, and a Stamina pool Ei∈[0,100]. Each discrete hop tick evaluates spring distance and balance stability. - **Player/agent count:** 2 to 8 individual racers, or 2 teams of 3–4 players in relay mode. - **Turn model:** Synchronous discrete action ticks t=1,2,…,Tmax⁡ (Δt=0.5 seconds per hop). ## Formal rules R1. **Track Setup & Starting Posture:** - A straight course of length L=15.0 meters with start line at x=0 and finish line at x=L. - All racers start at xi=0.0 in `Deep_Squat` posture with Stamina Ei=100. R2. **Hop Action & Locomotion Dynamics:** In each tick t, an active racer commits to a hop effort level U∈[0.5,1.0]: 1. *Hop Distance Check:* Dist=(0.8+1.2⋅U)⋅(0.5+0.5⋅Ei100)+ϵ where ϵ∼𝒩(0,0.05). 2. *Balance & Landing Stability:* P(clean_landing)=logistic(3.0−1.5⋅U+0.02⋅Ei) - On clean landing: xi←xi+Dist; Stamina Ei←max⁡(0,Ei−10⋅U). - On stumble / loss of balance: racer falls to knees; xi←xi+0.3⋅Dist, and must spend 1 full tick in recovery. R3. **Upright Stance Foul (*A-pyit*):** - Any attempt to stand upright or take standard running bipedal strides is an infraction. - Penalty: racer is reset back by 2.0 meters and forced into `Deep_Squat` for 1 recovery tick. R4. **Team Leapfrog Relay Mode (*Pha Khon Kyaw*):** - Teammates form a queue spaced 2.0 m apart in low crouch. - The rearmost player executes sequential leapfrog vaults over each teammate in front, landing in a forward squat at xfront+2.0. - The new rearmost player immediately repeats the sequence. R5. **Victory Condition:** - In sprint race mode: The first racer whose position satisfies xi≥L=15.0 meters wins the race. - In team relay mode: The first team whose entire squad crosses L=15.0 meters wins. R6. [gap-fill] Time Cap Per Race:** If no racer reaches 15.0 meters within Tmax⁡=60 ticks (30 seconds), the race ends; the racer with the maximum distance xi is declared the winner. ## Edge cases - Tie at the end condition: If two racers cross x≥15.0 in the exact same tick, the racer with larger final displacement xi wins; if identical to within 1 mm, sudden-death 5m sprint decides [gap-fill]. - A player with no legal move: Not applicable; hop action with effort U∈[0.5,1.0] is always legally available. - Repetition / cycles: Bounded by monotonic forward distance accumulation and the hard limit Tmax⁡=60 ticks in R6. - Simultaneous claims on the same resource or position: Racers occupy parallel 1D lanes; no spatial blocking occurs in sprint mode. - Player elimination mid-round; turn order repair: If an individual racer disconnects or is disqualified for repeated fouls, they are removed from the active roster; remaining racers continue uninterrupted [gap-fill]. - Resource exhaustion (pieces, tokens, space, time): Track length is fixed (15 m); ticks strictly limited to 60. - Termination guarantee: why the game provably ends: Guaranteed by non-negative forward displacement in each hop and the hard cap Tmax⁡=60. ## State representation - **Persistent state:** Track length L=15.0 m, race mode (`Sprint_Race`, `Leapfrog_Relay`), player rosters. - **Per-turn ephemeral state:** Tick t∈{1…60}, per-racer array: position xi, stamina Ei, posture status (`Deep_Squat`, `Stumbled`, `Foul_Recovery`), ranking vector. - **Observable information:** Fully observable; all racer positions, stamina levels, and postures are public. ## Action space - `hop(effort)`: Effort U∈[0.5,1.0]. Precondition: Racer in `Deep_Squat`, not in recovery. - `leapfrog_vault(target_teammate_id)`: Execute leapfrog jump over teammate in relay mode. ## Playability notes - Single-player-vs-AI: Fun and fast-paced arcade game; player balances high-power leaps against stumbling risks and quad fatigue. - Group games (n>4): Scales naturally up to 8 racers in parallel lanes or 2 teams of 4 in caterpillar relay mode. - Physical-skill games: Quadriceps lactic acid build-up and explosive plyometric jumping are abstracted into stamina decay and landing probability curves. - What is lost in the adaptation: The intense physical thigh burn of deep squats, hand slaps on dusty earth, and comical ribbit chants. ## Implementation hints Low complexity 1D runner engine. Simple kinematics loop with stamina-modified displacement and landing checks. First milestone: implement single-racer sprint loop with stamina decay and verify finish line crossing trigger at x=15.0.

Download as JSON

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

Download JSON
Cite this page

Burmese Frog-Leap Game (also known as Pha Khon Pyai) (Myanmar). (n.d.). Games of Countries. https://gamesofcountries.com/games/mm-myanmar/pha-khon-tam

@misc{gamesofcountries-mm-myanmar-pha-khon-tam,
  title = {Burmese Frog-Leap Game (also known as Pha Khon Pyai) (Myanmar)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/mm-myanmar/pha-khon-tam}
}