Formal Specification
Burmese Frog-Leap Game (also known as Pha Khon Pyai) — Formal Specification
Myanmar · dexterity-small · Confidence: low
← Back to game pageImplementation 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 meters. Each agent maintains a 1D position , a stance status , and a Stamina pool . 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 ( seconds per hop).
## Formal rules
R1. **Track Setup & Starting Posture:**
- A straight course of length meters with start line at and finish line at .
- All racers start at in `Deep_Squat` posture with Stamina .
R2. **Hop Action & Locomotion Dynamics:**
In each tick , an active racer commits to a hop effort level :
1. *Hop Distance Check:*
where .
2. *Balance & Landing Stability:*
- On clean landing: ; Stamina .
- On stumble / loss of balance: racer falls to knees; , 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 meters and forced into `Deep_Squat` for 1 recovery tick.
R4. **Team Leapfrog Relay Mode (*Pha Khon Kyaw*):**
- Teammates form a queue spaced m apart in low crouch.
- The rearmost player executes sequential leapfrog vaults over each teammate in front, landing in a forward squat at .
- The new rearmost player immediately repeats the sequence.
R5. **Victory Condition:**
- In sprint race mode: The first racer whose position satisfies meters wins the race.
- In team relay mode: The first team whose entire squad crosses meters wins.
R6. [gap-fill] Time Cap Per Race:** If no racer reaches meters within ticks (30 seconds), the race ends; the racer with the maximum distance is declared the winner.
## Edge cases
- Tie at the end condition: If two racers cross in the exact same tick, the racer with larger final displacement 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 is always legally available.
- Repetition / cycles: Bounded by monotonic forward distance accumulation and the hard limit 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 ( m); ticks strictly limited to .
- Termination guarantee: why the game provably ends: Guaranteed by non-negative forward displacement in each hop and the hard cap .
## State representation
- **Persistent state:** Track length m, race mode (`Sprint_Race`, `Leapfrog_Relay`), player rosters.
- **Per-turn ephemeral state:** Tick , per-racer array: position , stamina , 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 . 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 .
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite 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}
}