Formal Specification
Tug of War — Formal Specification
Kosovo · strength-endurance · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: abstractedGap-fills: 2
# Tërheqja e litarit — AI-optimized specification
## General idea
A simultaneous-choice physical contest between two opposing team captains. On each 5-second tick, captains issue cadence directives (Sustain Anchor, Coordinated Surge, Counter-Brace), spending collective squad stamina to displace the center ribbon along a 1D continuous axis. The first team to displace the marker meters across their victory threshold wins the pull.
## Formal model
- **1D Spatial Model:** Rope center displacement meters ( favors Team A, favors Team B). Win thresholds at m and m.
- **Squad Parameters:** Team A and Team B each have collective maximum strength and initial stamina .
- **Turn model:** Real-time ticked simulation (5-second discrete decision cycles, maximum 24 ticks = 2 minutes).
## Formal rules
R1. **Initial Setup:** Best-of-3 pulls match. Match score . For each pull: , .
R2. **Tick Action Selection:** Each 5-second tick , both captains simultaneously select one squad cadence:
- `SUSTAIN_ANCHOR`: Low exertion. Stamina cost . Base pull force . High traction defense against surges.
- `COORDINATED_SURGE`: Maximum exertion. Stamina cost . Base pull force . High offensive traction.
- `TACTICAL_RESET`: Active recovery. Stamina cost (recovers stamina). Base pull force . Highly vulnerable to opponent surges.
R3. **Force & Displacement Resolution:** [gap-fill]
- Effective pull force for team :
- Net force differential: .
- Position update:
- Stamina update: , .
R4. **Pull Termination:**
- If m: Team A wins the pull ().
- If m: Team B wins the pull ().
- [gap-fill] If tick (2-minute time limit) and , the team leading in displacement (, ) is awarded the pull. If , a 30-second sudden-death overtime is contested.
R5. **Match Victory:** The first team to achieve wins the match.
## Edge cases
- **Tie at the end condition:** Handled explicitly by R4 (displacement leader at 24-tick limit; sudden-death overtime if strictly equal).
- **A player with no legal move:** Not applicable; all three squad cadence directives are always available on every tick.
- **Repetition / cycles:** Bounded by the 24-tick pull limit and monotonic stamina drain, ensuring finite duration per pull.
- **Simultaneous claims on the same resource or position:** Both teams act simultaneously; resolution is evaluated via symmetric net force subtraction in R3.
- **Player elimination mid-round / turn order repair:** Not applicable; squad is modeled as a unified aggregate entity.
- **Resource exhaustion:** Stamina bounded below by 0; a squad at 0 stamina operates at 50% base force effectiveness.
- **Termination guarantee:** Each pull terminates in at most 24 ticks (plus at most 6 sudden-death ticks). With at most 3 pulls per match, the entire simulation terminates in at most 90 ticks.
## State representation
- **Persistent state:**
- `wins_A`, `wins_B`: Integers
- `current_pull_number`: Integer
- **Per-tick ephemeral state:**
- `displacement_x`: Float
- `stamina_A`, `stamina_B`: Floats
- `current_tick`: Integer
- **Observable information:** Fully observable state (displacement, elapsed time, observed stamina estimates).
## Action space
- `set_cadence(directive)`: parameter `directive` .
## Playability notes
- **Single-player-vs-AI:** Natural. Human player acts as Captain against AI squad timing tactical surges.
- **Group games (n>4):** Full 10-person squads reduce directly to 1 Captain agent per side making high-level tactical timing choices.
- **Physical-skill games:** Physical biomechanics and synchronized pulling cadence are abstracted into a dynamic stamina-management decision process.
- **What is lost in the adaptation:** The raw somatic pain of blistered palms, collective vocal cheering, and the tactile tension of the hemp fibers.
## Implementation hints
- Pure 1D continuous state physics with 3x3 simultaneous matrix transitions.
- Optimal strategy involves bluffing stamina reserves, absorbing opponent surges with `SUSTAIN_ANCHOR`, and counter-surging when opponent enters `TACTICAL_RESET`.
- First milestone: Implement 1-pull 24-tick state loop and verify that stamina depletion accurately reduces effective force output.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tug of War (Kosovo). (n.d.). Games of Countries. https://gamesofcountries.com/games/xk-kosovo/terheqja-e-litarit
@misc{gamesofcountries-xk-kosovo-terheqja-e-litarit,
title = {Tug of War (Kosovo)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/xk-kosovo/terheqja-e-litarit}
}