Formal Specification
Synchronized Long Clog Racing / Bakiak Panjang — Formal Specification
Indonesia · strength-endurance · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: abstractedGap-fills: 4
# Terompah Panjang — AI-optimized specification
## General idea
A multi-agent team rhythm and sprint race where squads of 3 to 5 agents strapped to a shared rigid apparatus must output synchronized alternating stepping inputs ("LEFT" / "RIGHT"). Desynchronization between team members causes frictional drag or stumbles, penalizing team velocity. Teams race in parallel 1D lanes to reach the finish threshold first.
## Formal model
- **Abstraction taken:** Physical wooden plank kinematics and human leg straps are abstracted into a 1D position state per team. Team velocity is a function of the synchrony metric across agents' binary step inputs.
- **Player/agent count:** 2 to 6 teams, each composed of agents (default 3 agents per team).
- **Turn model:** Simultaneous tick execution ().
## Formal rules
R1. Setup: Each team starts at lane position with velocity . Target distance is . Expected step cadence alternates .
R2. Step input:
- Every tick interval (or rhythm beat), each agent on team submits action .
R3. Synchrony & velocity update:
- If all agents submit the matching target step , synchronization .
- Step cadence flips: .
- Forward displacement , where [gap-fill].
R4. Mismatch & stumbles:
- If agent submits a mismatched step, .
- Stumble probability [gap-fill].
- If a stumble occurs, team enters state `STUMBLED` and is immobilized for a penalty of 10 ticks (1.0 s) [gap-fill].
R5. Win condition: The first team whose position wins immediately. If multiple teams cross on the exact same tick, the team with greater distance wins.
## Edge cases
- Tie at the end condition: If two teams cross on the exact same tick with identical distance within , a draw is declared.
- A player with no legal move: Not applicable; submitting a step choice is always legal.
- Repetition / cycles: Bounded by monotonic non-decreasing track position .
- Simultaneous claims on the same resource or position: Teams operate in disjoint parallel lanes; no inter-team spatial collision occurs.
- Player elimination mid-round: If an agent disconnects, team status changes to `DISQUALIFIED` and is removed from the active race [gap-fill].
- Resource exhaustion: Not applicable.
- Termination guarantee: As long as agents maintain non-zero coordination, increases monotonically to 50.0 m. Hard cutoff at ticks (100 s) guarantees termination.
## State representation
- Persistent state:
- `teams`: array of objects `{team_id, position_x, target_cadence, status: RUNNING|STUMBLED|FINISHED, stumble_ticks_left}`.
- `current_tick`: integer .
- Per-tick ephemeral state:
- `agent_actions`: 2D matrix of submitted actions `[team_idx][agent_idx]`.
- Observable information: Fully observable (all team positions, cadences, and race clock are public).
## Action space
- `step(direction)`: `direction` .
## Playability notes
- Single-player-vs-AI: Excellent as a rhythm coordination game where 1 human player controls the leader agent while AI teammates follow cadence cues with stochastic reaction delay.
- Group games (n>4): Reduces naturally to 2 competing teams (e.g. Team A vs Team B, each with 3 agents).
- Physical-skill games: Physical foot-eye coordination is translated into a discrete-time rhythm synchronization challenge.
- What is lost in the adaptation: The somatic strain of leg muscles pulling against rigid timber planks and collective physical balance is abstracted.
## Implementation hints
Can be implemented as a discrete rhythm game (e.g. QTE/BPM-based step triggers). First milestone: Implement 1 team with 3 rule-based agents tracking a 120 BPM metronome and measure stumble frequency.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Synchronized Long Clog Racing / Bakiak Panjang (Indonesia). (n.d.). Games of Countries. https://gamesofcountries.com/games/id-indonesia/terompah-panjang
@misc{gamesofcountries-id-indonesia-terompah-panjang,
title = {Synchronized Long Clog Racing / Bakiak Panjang (Indonesia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/id-indonesia/terompah-panjang}
}