Skip to main content
Formal Specification

Cow Lawn Racing — Formal Specification

Thailand · animal-contest · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 4
# Wing Wua Lan — AI-optimized specification ## General idea A nocturnal agrarian team bull-racing contest from the central plains of Thailand. Nineteen trained racing bulls are harnessed abreast along a single radial rope tethered to a central anchor mast (*Sao Kiat*); eighteen inner bulls (*Wua Nai*) form a defending herd maintaining pace and formation around the circle, while a challenger's champion bull (*Wua Nok*) in the 19th outermost slot attempts to sprint along the wide outer circumference to overtake the lead bull of the inner line. ## Formal model - **Abstraction taken:** The continuous circular physics of tethered cattle sprinting under centrifugal force is discretized into a polar coordinate system: radial positions `r in {1..19}` and angular positions `theta in [0.0, 360.0)` degrees. Defending Stable controls the pacing strategy of the 18 inner bulls; Challenger Stable controls the acceleration and sprint bursts of the 19th outer bull. Pacing decisions update angular velocities and consume stamina pools. - **Player/agent count:** 2 team agents (Defending Stable agent vs Challenger Stable agent). - **Turn model:** Simultaneous action selection per circuit tick across a maximum of 20 arena laps (100 ticks total). ## Formal rules R1. Setup: - 19 bull slots are attached along the radial tether rope from center post `(r = 0)` to outer flank `(r = 19)`. - Inner herd (*Wua Nai*, slots 1–18) starts with aggregate `herd_stamina = 100`, angular position `theta_inner = 0.0`. - Outer bull (*Wua Nok*, slot 19) starts with `outer_stamina = 100`, angular position `theta_outer = 0.0`. - All bulls run counter-clockwise (`theta` increases). R2. [gap-fill] Pacing Actions (Simultaneous per tick): - Defending Stable chooses: - `Steady_Cruise`: +15 deg/tick, consumes 2 herd stamina. - `Defensive_Surge`: +22 deg/tick, consumes 6 herd stamina. - `Conserve_Energy`: +10 deg/tick, recovers +3 herd stamina. - Challenger Stable chooses: - `Sustained_Gallop`: +18 deg/tick, consumes 4 outer stamina. - `Maximum_Sprint`: +28 deg/tick, consumes 10 outer stamina (15% risk of stumbling under centrifugal strain). - `Draft_Coast`: Matches inner herd speed, recovers +5 outer stamina. R3. [gap-fill] Centrifugal Strain & Kinematic Checks: - Because the outer bull runs at radius `r = 19`, its required linear speed is higher than the inner herd. If `outer_stamina < 20`, maximum sprint speed is capped at +14 deg/tick. - If a stumble occurs during `Maximum_Sprint`, the outer bull loses 10 degrees of angular progress for that tick. R4. [gap-fill] Victory Conditions (evaluated each tick): - **Challenger Victory (*Wua Nok Chana*):** If the outer bull's angular position overtakes the inner herd by at least 15 degrees (`theta_outer - theta_inner >= 15.0`), the outer bull successfully overtakes the line (*Saeng*), and Challenger wins immediately. - **Defending Herd Victory (*Wua Nai Chana*):** If the outer bull falls behind the radial line by more than 45 degrees (`theta_inner - theta_outer >= 45.0` / *Wua Nok Tok*), or if 20 full laps (7200 degrees total) are completed without the outer bull overtaking, the Defending Stable wins. R5. [gap-fill] Hard Match Limit & Void Heats: - The heat terminates at a maximum of 100 ticks (20 laps). - If a harness snap or mechanical tie occurs, the heat is re-run once; if still unresolved, a draw is awarded. ## Edge cases - Tie at the end condition: If after 100 ticks (20 laps) the outer bull is within `[-45, +15]` degrees of the inner herd, the Defending Stable is awarded victory per traditional rules (the defending line held its ground against the overtake); exact mathematical parity (`theta_outer == theta_inner`) at lap 20 is recorded as a draw. - A player with no legal move: Not applicable; both stables always have pacing decisions available. - Repetition / cycles: Bounded by the monotonic accumulation of lap progress (counter strictly advances toward 20 laps / 7200 degrees). - Simultaneous claims on the same resource or position: Bulls are mechanically separated by their assigned radial tether positions `r = 1..19`; radial collisions are physically impossible. - Player elimination mid-round; turn order repair: The heat ends immediately upon an overtake or drop-off; no turn order repair required for 2 team agents. - Resource exhaustion: Stamina pools deplete monotonically during high-speed surges; match lap budget strictly expires at lap 20. - Termination guarantee: why the game provably ends: Forward angular velocity is strictly positive (`omega >= 10` deg/tick), guaranteeing that 7200 degrees (20 laps) is reached in at most 100 ticks. ## State representation - Persistent state: - `theta_inner`: float in `[0.0, 7200.0]` (degrees) - `theta_outer`: float in `[0.0, 7200.0]` (degrees) - `herd_stamina`: float in `[0.0, 100.0]` - `outer_stamina`: float in `[0.0, 100.0]` - `current_tick`: integer in `[1, 100]` - `heat_status`: `racing | challenger_win | defender_win | draw` - Per-turn ephemeral state: - `defender_action`: chosen pacing mode - `challenger_action`: chosen pacing mode - `stumble_occurred`: boolean - Observable information: Fully observable public state (angular positions, lap counts, stamina estimates, and relative lead angles are visible to both agents). ## Action space - Defending Stable: - `steady_cruise()`: Moderate steady pace (+15 deg, -2 SP). - `defensive_surge()`: High defensive pace (+22 deg, -6 SP). - `conserve_energy()`: Slow pace (+10 deg, +3 SP). - Challenger Stable: - `sustained_gallop()`: Strong steady pace (+18 deg, -4 SP). - `maximum_sprint()`: High-speed burst (+28 deg, -10 SP, 15% stumble risk). - `draft_coast()`: Coasting pace (matches herd speed, +5 SP). ## Playability notes - Single-player-vs-AI: Excellent stamina-management and drafting race; human can manage either the lone superstar outer bull or the collective pacing of the 18-bull inner herd. - Group games (n>4): Duels are contested between two stables per heat; multi-stable village events operate as a round-robin or bracketed card of heats. - Physical-skill games: Centrifugal force, soil traction, and cattle stamina management are abstracted into polar velocity curves and risk-weighted sprint decisions. - What is lost in the adaptation: The nocturnal carnival atmosphere of Phetchaburi under blinding stadium floodlights, the ringing of brass cowbells, the thundering ground vibration of 19 galloping bulls, and the intense rural spectator wagering. ## Implementation hints - Continuous 1D angular simulation with polar constraints. - Track angular differential `delta_theta = theta_outer - theta_inner` to trigger early victory checks on every tick. - Suggested first milestone: Implement the angular velocity loop with stamina drain and verify overtake vs fall-behind threshold detections across 20 laps.

Download as JSON

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

Download JSON
Cite this page

Cow Lawn Racing (Thailand). (n.d.). Games of Countries. https://gamesofcountries.com/games/th-thailand/wing-wua-lan

@misc{gamesofcountries-th-thailand-wing-wua-lan,
  title = {Cow Lawn Racing (Thailand)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/th-thailand/wing-wua-lan}
}