Skip to main content
Formal Specification

Tug-of-War (Traditional Cambodian Tugging Ritual) — Formal Specification

Cambodia · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: abstractedGap-fills: 3
# Teanh Prot — AI-optimized specification ## General idea A continuous collective force contest and ritual performance. Two teams apply isometric and dynamic pulling force on a shared linear rope. The game's primary interest is social, ritual, and physiological rather than combinatorial or strategic; an agent abstraction models team stamina expenditure, cadence synchronization, and surge timing. ## Formal model - **Abstraction taken:** Physical muscle mechanics and collective grip friction are abstracted into a 1D continuous position state x∈[−L,+L] driven by instantaneous net team force ΔF(t)=FA(t)−FB(t) and stamina decay. - **Player/agent count:** 2 teams (TA,TB), each with aggregate strength S, stamina E, and synchronization coefficient σ∈[0,1]. - **Turn model:** Real-time ticked (e.g., Δt=1.0 sec) or discrete round-based force commitment. ## Formal rules R1. State Setup: Rope midpoint starts at x=0. Win thresholds set at x=+W (Team A win) and x=−W (Team B win). R2. Each tick t, both teams choose an effort mode from: `SUSTAIN`, `PULL_SURGE`, `REST_BRACE`. R3. [gap-fill] Force calculation per team: - `SUSTAIN`: Fk=Sk×σk×1.0, Stamina cost ΔEk=1. - `PULL_SURGE`: Fk=Sk×σk×1.8, Stamina cost ΔEk=4 (requires Ek≥4). - `REST_BRACE`: Fk=Sk×σk×0.6, Stamina recovery ΔEk=+1. R4. Net displacement: Δx=α⋅(FA−FB)⋅Δt. Position updates: x←x+Δx. R5. Win Condition: If x≥+W, Team A wins the pull. If x≤−W, Team B wins the pull. R6. [gap-fill] Time Cap: If after Tmax⁡=120 ticks neither threshold is reached, the team with x>0 is awarded the round; if x=0, the round is a draw. R7. [gap-fill] Best of 3 frames determines the match winner. ## Edge cases - **Tie at the end condition:** x=0 at time cap results in a draw round; re-pulled in sudden death. - **A player with no legal move:** `REST_BRACE` and `SUSTAIN` are always legal actions. - **Repetition / cycles (and the loop-breaking rule):** Bounded by strict stamina depletion (E→0) and time cap Tmax⁡. - **Simultaneous claims on the same resource or position:** Forces are evaluated simultaneously and summed into net Δx. - **Player elimination mid-round; turn order repair:** Not applicable. - **Resource exhaustion:** Stamina E bottoms out at 0, forcing teams into reduced force production. - **Termination guarantee: why the game provably ends:** Provably terminates within Tmax⁡ ticks per frame. ## State representation - `rope_position`: float x∈[−W,+W]. - `stamina_A`, `stamina_B`: float E∈[0,Emax⁡]. - `sync_A`, `sync_B`: float σ∈[0.5,1.0]. - `current_frame`: integer 1..3. - `wins_A`, `wins_B`: integer counters. - Observable information: Fully observable — rope position and team postures are public. ## Action space - `commit_effort_mode(mode)`: where `mode` ∈{SUSTAIN,PULL_SURGE,REST_BRACE}. ## Playability notes - **Single-player-vs-AI:** Operates as a resource/timing management mini-game (optimizing surge timing against AI cadence). - **Group games (n>4):** Naturally represents aggregated mass teams. - **What is lost:** The profound cosmological ritual, community chanting, drum cadences, and gender fertility blessings are outside the mathematical formalization. ## Implementation hints Simple 1D differential equation state updater. Suggested milestone: Validate stamina drain curves against a baseline steady-pulling AI before adding surge bonuses.

Download as JSON

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

Download JSON
Cite this page

Tug-of-War (Traditional Cambodian Tugging Ritual) (Cambodia). (n.d.). Games of Countries. https://gamesofcountries.com/games/kh-cambodia/teanh-prot

@misc{gamesofcountries-kh-cambodia-teanh-prot,
  title = {Tug-of-War (Traditional Cambodian Tugging Ritual) (Cambodia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kh-cambodia/teanh-prot}
}