Formal Specification
Lao Festival Tug-of-War — Formal Specification
Laos · strength-endurance · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Deung Xeuk — AI-optimized specification
## General idea
Deung Xeuk is a team tug-of-war strength and endurance contest where two balanced squads grasp opposite ends of a rope across a central line. Each team coordinates pulling effort and pacing over discrete time ticks, attempting to drag the central ribbon across their designated victory demarcation line (2.0–2.5 meters from center). Matches are contested as a best-of-three rounds series with court swaps between rounds.
## Formal model
- **Abstraction taken:** The continuous mechanical tension, foot traction, and biological fatigue of rope pulling are discretized into a 1D positional displacement model over discrete time steps . Each team simultaneously chooses a pulling posture (burst power, sustained pull, defensive anchor) which interacts with stamina reserves to generate net displacement .
- **Player/agent count:** 2 team agents (Team Red / Team Blue, representing collective squads of 8–15 pullers).
- **Turn model:** Simultaneous discrete time ticks (e.g. 1 tick = 2 seconds of real pulling; maximum 60 ticks per round) [gap-fill: ticks].
## Formal rules
R1. Initial State:
- Rope center position on a continuous axis where meters.
- Both teams start with full stamina pool .
- Round counter , match score .
R2. Action Selection: Each tick, both teams simultaneously commit to an effort stance:
- `BURST_PULL`: High immediate force (), high stamina drain ().
- `STEADY_PULL`: Moderate force (), moderate stamina drain ().
- `DEFENSIVE_ANCHOR`: Low offensive force (), high resistance to displacement, low stamina drain ().
R3. State Transition:
- Effective force per team where represents momentary footing traction variance.
- Net displacement where is a terrain friction scaling constant.
- Position update: .
R4. Round Resolution:
- If (+2.5 m), Team 1 wins the round immediately ().
- If (-2.5 m), Team 2 wins the round immediately ().
- If (60 ticks) without crossing , the team on whose side the marker sits (, ) is awarded the round [gap-fill].
R5. Match End Condition:
- Matches are best-of-three rounds. The first team to win 2 rounds wins the match.
- Sides swap between rounds; stamina resets to minus a cumulative fatigue deduction [gap-fill: ].
R6. [gap-fill] Foul penalty: An agent attempting 3 consecutive `BURST_PULL` actions when stamina is suffers a slip penalty (opponent receives an unresisted +1.0 m pull bonus).
## Edge cases
- **Tie at the end condition:** If and exactly, a 10-tick sudden-death extension is initiated; if still tied, the round is replayed from center.
- **A player with no legal move:** Not applicable; all three action stances are always valid.
- **Repetition / cycles:** Bounded strictly by ticks per round and best-of-three structure.
- **Simultaneous claims on the same resource or position:** Both teams pull simultaneously; opposing forces resolve algebraically into net scalar displacement .
- **Player elimination mid-round; turn order repair:** Not applicable; team entities persist for the entire match duration.
- **Resource exhaustion:** Depleted stamina limits effective force output (), leaving the exhausted team vulnerable to displacement.
- **Termination guarantee: why the game provably ends:** Each round terminates in at most ticks (either by crossing or timeout evaluation under R4), guaranteeing the full best-of-three match concludes in at most 180 ticks.
## State representation
- Persistent state: Match score , current round index , team overall stamina baseline.
- Per-tick ephemeral state: Current rope position , stamina pools , active tick counter , action choices .
- Observable information: Fully observable — current rope displacement, tick clock, score, and visible exhaustion/stamina indicators are public knowledge.
## Action space
- `burst_pull()`: High force output, heavy stamina consumption.
- `steady_pull()`: Standard pacing pull, sustainable drain.
- `defensive_anchor()`: Dig in heels, reduce opponent forward progress while conserving energy.
## Playability notes
- Single-player-vs-AI: Natural 1v1 tactical stamina management duel. The human player tries to bait the AI into premature burst exhaustion before executing a counter-surge.
- Group games (n>4): In multi-agent settings, individual agents contribute separate sub-vectors to team force, requiring intra-team coordination signals.
- Physical-skill games: Physical isometric strength and grip endurance are mapped to stamina decay curves and simultaneous stance interactions.
- What is lost in the adaptation: The somatic tactile feedback of rope friction, collective rhythmic shouting (*"Sam, Si, Deung!"*), and physical team mass dynamics.
## Implementation hints
Treat rope position as a scalar clamped to . Branching factor is 3 choices per agent per tick ( joint actions). Milestone 1: Build the 1D state transition engine with stamina decay and timeout rules; Milestone 2: Implement heuristic AI that anchors during enemy bursts and surges during enemy recovery.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Lao Festival Tug-of-War (Laos). (n.d.). Games of Countries. https://gamesofcountries.com/games/la-laos/deung-xeuk
@misc{gamesofcountries-la-laos-deung-xeuk,
title = {Lao Festival Tug-of-War (Laos)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/la-laos/deung-xeuk}
}