Skip to main content
Formal Specification

Synchronized Long Clog Racing / Bakiak Panjang — Formal Specification

Indonesia · strength-endurance · Confidence: high

← Back to game page

Implementation 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 x∈[0,50.0] m per team. Team velocity v(t) is a function of the synchrony metric S(t)∈[0.0,1.0] across agents' binary step inputs. - **Player/agent count:** 2 to 6 teams, each composed of M∈[3..5] agents (default 3 agents per team). - **Turn model:** Simultaneous tick execution (Δt=100 ms). ## Formal rules R1. Setup: Each team starts at lane position x=0.0 with velocity v=0.0. Target distance is Xfinish=50.0 m. Expected step cadence alternates ϕ∈{LEFT,RIGHT}. R2. Step input: - Every tick interval (or rhythm beat), each agent i on team k submits action ak,i∈{STEP_LEFT,STEP_RIGHT,HOLD}. R3. Synchrony & velocity update: - If all M agents submit the matching target step ak,i==ϕ, synchronization Sk=1.0. - Step cadence flips: ϕ←(ϕ==LEFT ? RIGHT:LEFT). - Forward displacement Δxk=vbase×Sk×Δt, where vbase=3.5 m/s [gap-fill]. R4. Mismatch & stumbles: - If ≥1 agent submits a mismatched step, Sk=0.0. - Stumble probability Pstumble=0.40×(mismatched_count/M) [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 xk≥Xfinish wins immediately. If multiple teams cross on the exact same tick, the team with greater distance xk wins. ## Edge cases - Tie at the end condition: If two teams cross Xfinish on the exact same tick with identical distance within 1 mm, 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 xk≥0. - 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, xk increases monotonically to 50.0 m. Hard cutoff at Tmax⁡=1000 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 0..1000. - 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` ∈{LEFT,RIGHT,IDLE}. ## 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 JSON
Cite 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}
}