Formal Specification
Stilt Racing / Bamboo and Coconut Shell Stilts — Formal Specification
Philippines · strength-endurance · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: abstractedGap-fills: 3
# Kadang-Kadang — AI-optimized specification
## General idea
A simultaneous-tick sprint and balance racing game where agents navigate a straight 1D track of length meters on stilts. Each tick, an agent selects a locomotion speed effort; higher speeds produce larger forward spatial displacements but exponentially increase the stochastic probability of falling off the stilts (which incurs a multi-tick remount penalty). The first agent to cross the finish line mounted on stilts wins.
## Formal model
- **Abstraction taken:** The complex biomechanical coupling between toe grip, rope tension, and upper body center of gravity is modeled as an internal balance state and a stride power action . Higher stride power yields faster position progression but accelerates balance decay.
- **Player/agent count:** 2 to 6 agents ().
- **Turn model:** Simultaneous discrete execution ticks ( tick).
## Formal rules
R1. Setup:
- Track length meters.
- Each agent begins at position , velocity , balance , and status `MOUNTED`.
R2. Stride Action & State Updates:
- On each tick , every mounted agent submits an action (stride speed gear):
- Nominal forward displacement: (meters) [gap-fill].
- Balance drain: .
- Natural balance recovery: .
- Updated balance: .
R3. Balance Check & Fall Event:
- Fall probability per tick: .
- If fall occurs (`fall == true`):
- Agent status transitions to `DISMOUNTED`.
- Agent is immobilized for a remount penalty duration of ticks [gap-fill].
- is restored to upon completion of remount penalty.
R4. Remount Progression:
- Dismounted agents decrement penalty counter: `remount_counter -= 1`.
- When `remount_counter == 0`, status returns to `MOUNTED`.
R5. Win Condition & Race End:
- An agent wins immediately when while status is `MOUNTED`.
- If multiple agents cross on the same tick, the agent with the higher coordinate wins.
- Race hard time cap: ticks.
## Edge cases
- Tie at the end condition: If two agents cross on the same tick with identical , the agent with higher remaining balance wins [gap-fill].
- A player with no legal move: In mounted state, is always available; in dismounted state, agent automatically executes wait/remount.
- Repetition / cycles: Monotonic forward displacement () ensures strictly non-decreasing race progress.
- Simultaneous claims on the same resource or position: Agents run in independent parallel virtual lanes; collisions between lanes are ignored.
- Player elimination mid-round: Falling incurs a time delay rather than permanent player elimination.
- Resource exhaustion: Not applicable.
- Termination guarantee: Non-negative displacement and maximum tick ceiling guarantee finite termination.
## State representation
- Persistent state:
- `positions`: array of floats ().
- `balance_states`: array of floats ().
- `agent_statuses`: array of enums (`MOUNTED`, `DISMOUNTED`).
- `remount_timers`: array of integers.
- `current_tick`: integer .
- Observable information: Fully observable public state (all racer positions and mounted statuses are visible).
## Action space
- `stride(gear)`: integer (when mounted).
## Playability notes
- Single-player-vs-AI: Highly playable as a classic drag-race style risk/speed management challenge against AI opponents with diverse risk profiles.
- Group games (n>4): Scales seamlessly to 6 or more agents without increasing algorithm complexity ( tick cost).
- Physical-skill games: Dynamic core balance and foot stability are modeled as a controllable state resource ().
- What is lost in the adaptation: The tactile foot pain of gripping coconut ropes between the bare toes and physical bamboo peg vibrations.
## Implementation hints
Simple 1D vector kinematics with stochastic penalty interrupts. Extremely fast rollout capability for Monte Carlo tree search. First milestone: Implement 1-agent runner to tune balance decay parameters and find optimal steady-state gear strategies.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Stilt Racing / Bamboo and Coconut Shell Stilts (Philippines). (n.d.). Games of Countries. https://gamesofcountries.com/games/ph-philippines/kadang-kadang
@misc{gamesofcountries-ph-philippines-kadang-kadang,
title = {Stilt Racing / Bamboo and Coconut Shell Stilts (Philippines)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ph-philippines/kadang-kadang}
}