Skip to main content
Formal Specification

Bamboo Stilt Racing & Balance Contest — Formal Specification

Indonesia · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: abstractedGap-fills: 3
# Egrang — AI-optimized specification ## General idea A high-risk speed-versus-balance sprint race across a 50-metre linear track. On each tick, agents choose their forward stride power, trading off acceleration against cumulative instability. Exceeding dynamic balance thresholds triggers a fall and immediate elimination. ## Formal model - **Abstraction taken:** Continuous neuromuscular balance and stilt gait are formalized into a discrete stride-power choice s∈[1..3] and an instability accumulator It. P(fall) increases non-linearly with speed and accumulated tilt. - **Player/agent count:** 2 to 5 agents racing concurrently in parallel tracks. - **Turn model:** Simultaneous discrete steps (each step represents one full stilt stride, ~0.5 seconds). ## Formal rules R1. Setup: All agents start at position x=0, velocity v=0, instability I=0, status = `RACING`. Distance to finish line D=50.0 metres. R2. Action selection: Each stride tick, each active agent chooses stride aggression a∈{1 (Safe),2 (Moderate),3 (Sprint)}. R3. Dynamic update: - Distance gained: Δx=0.8⋅a+ϵx, where ϵx∼𝒩(0,0.05) [gap-fill]. - Instability update: It+1=max⁡(0,α⋅It+β(a)−RecoverySkill), where β(1)=0.05,β(2)=0.20,β(3)=0.50, α=0.85 [gap-fill]. - Fall probability: P(fall)=11+e−k(It+1−Icrit). R4. Fall resolution: If a sampled uniform random variable U(0,1)<P(fall), the agent falls: status = `ELIMINATED`, x freezes. R5. Win condition: The first agent whose position x≥50.0 without falling wins the race. - If multiple agents cross 50.0 on the same step, the agent with the higher x wins. - If all remaining agents fall on the same step, the agent who achieved the greatest distance x is declared the winner. R6. [gap-fill] Max step limit Tmax⁡=100 steps ensures termination if all agents play overly conservative strides. ## Edge cases - Tie at the end condition: Resolved by exact float distance x; if distance is identical to 3 decimal places, joint victory / tie is recorded. - A player with no legal move: Not applicable; action a∈{1,2,3} is always available. - Repetition / cycles: Distance x is strictly monotonically increasing (xt+1>xt) for all active agents, preventing cycles. - Simultaneous claims on the same resource or position: Not applicable; each agent occupies a dedicated parallel lane. - Player elimination mid-round: An eliminated agent stops advancing; remaining racers continue to the finish line without turn-order disturbance. - Resource exhaustion: Not applicable. - Termination guarantee: Monotonic progress towards x=50.0 plus hard cutoff Tmax⁡=100 provably guarantees termination. ## State representation - Persistent state: - `agents`: array of objects `{id, x_pos, instability, status}`. - `step_counter`: integer 0..100. - Per-turn ephemeral state: selected stride actions ai, random fall checks. - Observable information: Fully observable (all positions, visible wobble/instability levels are public). ## Action space - `stride(level)`: `level` ∈{1,2,3} (Safe stride, Steady jog, High sprint). ## Playability notes - Single-player-vs-AI: Highly playable as a risk-reward push-your-luck racing duel against AI bots with varied risk appetites (conservative, balanced, reckless). - Group games (n>4): Scales naturally from 2 to 5 agents with zero rule modifications. - Physical-skill games: Dynamic balance recovery is abstracted into the mathematical decay parameter α and threshold Icrit. - What is lost in the adaptation: The somatic sensory experience of stilt vibration, arm fatigue, and physical heights is replaced by a probability distribution. ## Implementation hints Extremely clean and fast execution. Branching factor is 3 per agent per tick (3n joint actions). First milestone: Implement single-agent time trial to tune stability decay parameters α,β, then launch multi-agent race.

Download as JSON

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

Download JSON
Cite this page

Bamboo Stilt Racing & Balance Contest (Indonesia). (n.d.). Games of Countries. https://gamesofcountries.com/games/id-indonesia/egrang

@misc{gamesofcountries-id-indonesia-egrang,
  title = {Bamboo Stilt Racing & Balance Contest (Indonesia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/id-indonesia/egrang}
}