Formal Specification
Steppe Horse Racing / Long-Distance Endurance Race — Formal Specification
Kazakhstan · equestrian-team · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 4
# Baige — AI-optimized specification
## General idea
Baige is the ancient Kazakh long-distance steppe horse racing tradition contested over extreme distances (typically 18 to 25 kilometres in *Alaman baige*). Lightweight jockeys and horse trainers must manage the horse's physiological stamina, pacing rhythm, and heart rate across multiple multi-kilometre race sectors, conserving energy for a decisive final-stretch sprint without causing cardiovascular exhaustion or lameness.
## Formal model
- **Abstraction taken:** The continuous 25-kilometre open terrain course is discretized into sequential 1-kilometre segments. [gap-fill] At each segment , each jockey agent selects an effort/speed tier km/h; stamina depletion and heart-rate elevation follow non-linear physiological differential curves, and total race time is the sum of sector transit times.
- **Player/agent count:** 2 to 20 agents (default: 6-horse field; 2-agent duel format with AI background field).
- **Turn model:** Simultaneous discrete pacing decisions per 1-kilometre sector across 20 sectors.
## Formal rules
R1. **Race Distance & Horse Parameters:**
- Total race distance: kilometres, divided into 20 segments ().
- Each horse-jockey pair has base attributes: Aerobic Capacity , Sprint Burst Power , and Trainer Conditioning .
- Dynamic state variables per horse: `stamina` (starts at 1.0), `heart_rate` bpm (starts at 90 bpm).
R2. **Sector Pacing Selection:**
- At the start of each sector , all agents simultaneously select a target speed km/h.
- [gap-fill] Sustainable cruise threshold: km/h.
R3. **Physiological Update & Sector Transit Time:**
- For horse in sector :
- If :
- Stamina burn: .
- Heart rate increase: .
- If :
- Stamina recovery: .
- Heart rate decrease: .
- Update: , .
- **Exhaustion Penalty:**
- If or bpm, the horse suffers exhaustion: actual speed in that sector drops to km/h regardless of selected speed.
- [gap-fill] Sector transit time in seconds: , where .
R4. **Finish Order & Veterinary Check:**
- Total race time for horse : .
- Preliminary finish rank is ordered strictly by ascending total time .
- **Post-Race Veterinary Inspection:**
- [gap-fill] If a finishing horse's final heart rate bpm after a 10-minute cooldown calculation, the horse is disqualified for veterinary safety (simulating modern welfare regulations).
- The valid finisher with the lowest total time is declared the winner.
R5. **Match Victory:**
- The winner receives the 1st prize (*bäyge* / gold ribbon).
- In case of exact time tie ( s), the horse with the strictly lower final heart rate wins.
## Edge cases
- **Tie at the end condition:** Explicitly resolved by R5 (lower final heart rate breaks sub-centisecond ties).
- **A player with no legal move:** Not applicable; selecting speed from km/h is always legal.
- **Repetition / cycles (and the loop-breaking rule):** The race progresses through a strictly monotonic 20-sector index from 1 to 20; cycles are impossible.
- **Simultaneous claims on the same resource or position:** Finish times are continuous real values; sub-centisecond ties are broken by heart rate.
- **Player elimination mid-round; turn order repair:** If a horse fails the veterinary check or suffers catastrophic lameness, it is recorded as DNF/DQ, and remaining ranks shift up.
- **Resource exhaustion (pieces, tokens, space, time):** Stamina bounded in ; exhaustion reduces horse to minimum 25 km/h limp pace.
- **Termination guarantee: why the game provably ends:** Exactly 20 sequential sectors; every sector takes a strictly positive, finite amount of time.
## State representation
- **Persistent state:**
- `horses`: Array of structs `{id, capacity, burst, trainer_skill}`.
- `sector_number`: Integer .
- `stamina_levels`: Array of floats .
- `heart_rates`: Array of floats .
- `cumulative_times`: Array of floats (seconds).
- **Per-sector ephemeral state:**
- `selected_speeds`: Array of floats (km/h).
- `sector_times`: Array of floats.
- **Observable information:** Fully observable. Positions, current sector, and cumulative times of all horses are public.
## Action space
- `select_sector_speed(target_speed)`:
- Parameters: `target_speed` km/h.
- Preconditions: Active race sector .
## Playability notes
- **Single-player-vs-AI:** Natural. 1 human jockey vs AI field executing pacing strategies (early pacemakers, drafting stalkers, late sprinters).
- **Group games (n>4):** Scales cleanly up to 20 simultaneous agents without state bloat.
- **Physical-skill games:** Physical endurance and horse training are parameterized into .
- **What is lost in the adaptation:** Physical dust plumes on the open steppe, tactile feel of horse lather and breathing through stirrups, and collective excitement of village spectators.
## Implementation hints
- Model pacing as a dynamic programming / optimal control problem over a 20-step horizon.
- The core heuristic is conserving just enough stamina during sectors 1–16 to execute a full 58 km/h sprint across sectors 18–20 without tripping the 220 bpm heart-rate exhaustion cliff.
- First milestone: Implement sector time summation, stamina depletion curves, exhaustion clamping, and verify that continuous flat-out sprinting loses against balanced pacing.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Steppe Horse Racing / Long-Distance Endurance Race (Kazakhstan). (n.d.). Games of Countries. https://gamesofcountries.com/games/kz-kazakhstan/baige
@misc{gamesofcountries-kz-kazakhstan-baige,
title = {Steppe Horse Racing / Long-Distance Endurance Race (Kazakhstan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/kz-kazakhstan/baige}
}