Skip to main content
Formal Specification

Tug of War (Litarash) — Formal Specification

Albania · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: abstractedGap-fills: 2
# Tërheqja e litarit — AI-optimized specification ## General idea A physical team strength, stamina, and cadence-synchronization contest where two squads apply continuous opposing force on a 1D scalar displacement axis. Squad captains coordinate rhythmic power surges to overcome opponent friction and displace the rope marker past a critical distance threshold. ## Formal model - **Abstraction taken:** The complex friction, grip slipping, and biomechanical tension of 10–20 pulling individuals are simplified into a 1D continuous displacement scalar `x ∈ [-2.0, +2.0]` where `x = 0` is the center line and `x = ±2.0` are the victory boundaries. - **Player/agent count:** 2 teams of `K` agents (default `K = 5`). - **Turn model:** Real-time ticked simulation (discrete simulation ticks `t = 1, 2, ...`). ## Formal rules R1. Setup: Central marker position `x = 0.0`. Team A pulls toward `x = -2.0`; Team B pulls toward `x = +2.0`. Both teams start with `team_stamina = 100.0`. R2. Each tick `t`, both teams simultaneously select a team effort mode: - `STEADY_PULL`: Force = `F_base = 50.0`, Stamina cost = `1.0` / tick. - `POWER_SURGE`: Force = `F_surge = 85.0`, Stamina cost = `4.0` / tick. - `DIG_IN_DEFENSE`: Force = `F_def = 40.0`, incoming displacement reduced by 50%, Stamina cost = `1.5` / tick. R3. Dynamic Force Calculation: - Net force `F_net = (Force_B * (Stamina_B / 100)) - (Force_A * (Stamina_A / 100))` [gap-fill]. - Rope displacement per tick `dx = 0.05 * F_net`. - Update marker coordinate: `x := x + dx`. R4. Victory Conditions: - If `x <= -2.0`: Team A wins the pull. - If `x >= +2.0`: Team B wins the pull. R5. Match Scoring: Match is played as best-of-three pulls. First team to win 2 pulls wins the match. R6. [gap-fill] Stalemate Resolution: If after `T_max = 200` ticks neither team has crossed `±2.0`, the team with `|x|` displaced in their favor wins the pull. ## Edge cases - Tie at the end condition: If `x == 0.0` at `T_max`, a 50-tick sudden-death pull with reset stamina is run. - A player with no legal move: Not applicable; all 3 team effort strategies are available every tick. - Repetition / cycles: Bounded because stamina monotonically depletes, eventually causing a power asymmetry and decisive displacement, and R6 caps ticks at 200. - Simultaneous claims on the same resource or position: Resolved continuously through symmetric net force subtraction in R3. - Player elimination mid-round; turn order repair: Team strength is evaluated as an aggregate squad vector. - Resource exhaustion (pieces, tokens, space, time): Stamina is bounded `[0..100]`; tick clock is bounded by `T_max`. - Termination guarantee: why the game provably ends: Guaranteed because stamina exhaustion forces an asymmetric force differential, and R6 enforces a strict 200-tick termination limit. ## State representation - Persistent state: `match_score: array[2] of int`, `pull_num: int`. - Per-turn ephemeral state: `marker_pos: float ([-2.0..2.0])`, `team_stamina: array[2] of float`, `tick_clock: int`. - Observable information: Fully observable by all agents. ## Action space - `commit_team_effort(mode: {STEADY_PULL, POWER_SURGE, DIG_IN_DEFENSE})`: Squad-level decision committed per tick. ## Playability notes - Single-player-vs-AI: Needs adaptation — player manages stamina economy and surge timing against an AI squad. - Group games (n>4): Natively reduced to a 2-team strategic resource management problem. - Physical-skill games: Real-life brute muscle fatigue and blistered skin friction are converted into a stamina expenditure curve. - What is lost in the adaptation: The raw physical sensation of rope burn, collective roar of village spectators, and strained leg muscles. ## Implementation hints Extremely simple 1D continuous dynamical system. Branching factor is 3 per team per tick. First milestone: Implement 1D force integrator and stamina decay loop for a single pull.

Download as JSON

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

Download JSON
Cite this page

Tug of War (Litarash) (Albania). (n.d.). Games of Countries. https://gamesofcountries.com/games/al-albania/terheqja-e-litarit

@misc{gamesofcountries-al-albania-terheqja-e-litarit,
  title = {Tug of War (Litarash) (Albania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/al-albania/terheqja-e-litarit}
}