Formal Specification
Bamboo Stilt Racing & Balance Contest — Formal Specification
Indonesia · strength-endurance · Confidence: low
← Back to game pageImplementation 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 and an instability accumulator . 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 , velocity , instability , status = `RACING`. Distance to finish line metres.
R2. Action selection: Each stride tick, each active agent chooses stride aggression .
R3. Dynamic update:
- Distance gained: , where [gap-fill].
- Instability update: , where , [gap-fill].
- Fall probability: .
R4. Fall resolution: If a sampled uniform random variable , the agent falls: status = `ELIMINATED`, freezes.
R5. Win condition: The first agent whose position without falling wins the race.
- If multiple agents cross on the same step, the agent with the higher wins.
- If all remaining agents fall on the same step, the agent who achieved the greatest distance is declared the winner.
R6. [gap-fill] Max step limit steps ensures termination if all agents play overly conservative strides.
## Edge cases
- Tie at the end condition: Resolved by exact float distance ; if distance is identical to 3 decimal places, joint victory / tie is recorded.
- A player with no legal move: Not applicable; action is always available.
- Repetition / cycles: Distance is strictly monotonically increasing () 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 plus hard cutoff provably guarantees termination.
## State representation
- Persistent state:
- `agents`: array of objects `{id, x_pos, instability, status}`.
- `step_counter`: integer .
- Per-turn ephemeral state: selected stride actions , random fall checks.
- Observable information: Fully observable (all positions, visible wobble/instability levels are public).
## Action space
- `stride(level)`: `level` (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 .
- 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 ( 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 JSONCite 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}
}