Formal Specification
Tug of War — Formal Specification
Bulgaria · strength-endurance · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: abstractedGap-fills: 3
# Darpane na vazhe — AI-optimized specification
## General idea
A two-team continuous 1D force-displacement contest. Teams generate synchronized pulling surges and manage ground grip traction against fatigue degradation. The rope's central position moves dynamically based on net instantaneous force differentials across discrete simulation ticks until a defined spatial displacement threshold is crossed.
## Formal model
- **Abstraction taken:** The complex continuous biomechanics of multi-person traction and rope elasticity are abstracted into an aggregate net force vector acting on a 1D scalar position , with . Team pulling power is modeled as the product of individual agent strength, remaining stamina, and a cadence synchronization factor.
- **Player/agent count:** 2 teams (Team A, Team B), each with agents (, standard ).
- **Turn model:** Real-time ticked simulation (e.g. seconds per tick).
## Formal rules
R1. Setup:
- 1D displacement state . Target win threshold metres.
- Team A pulls toward ; Team B pulls toward .
- Each agent has Strength , Grip , and initial Stamina .
R2. Pull Action:
- At each tick , each team captain may select an effort regime .
- Individual agent force output: .
- `SustainedPull`: , Stamina cost .
- `SurgePulse`: , Stamina cost , introduces synchronization check.
- `AnchorBrace`: (acting as resistive friction multiplier ), Stamina cost .
R3. Team Force Aggregation and Synchronization:
- [gap-fill] Team synchronization factor depends on team coordination attribute: .
- Aggregate Team A force: .
- Aggregate Team B force: .
R4. Spatial State Update:
- Net force .
- [gap-fill] Rope position updates as , where m/N.
R5. Win Conditions:
- If : Team A wins the pull.
- If : Team B wins the pull.
R6. [gap-fill] Time / Exhaustion Cap:
- If simulation reaches ticks without crossing , the team with displaced in their favorable direction wins on distance; if , team with higher remaining total stamina wins.
## Edge cases
- Tie at the end condition: Fully resolved by R6 time cap distance/stamina tiebreaker.
- A player with no legal move: Not applicable — effort regime action is continuous and always defined.
- Repetition / cycles: Bounded: Stamina monotonically decays over time, causing asymmetric force degradation; strictly terminates prolonged stalemates.
- Simultaneous claims on the same resource or position: The rope position is a shared scalar updated simultaneously by the net force vector.
- Player elimination mid-round; turn order repair: If an agent disconnects, their force contribution drops to 0, dynamically weakening their team without halting the simulation.
- Resource exhaustion: Stamina floors at 0 (agents can only pull at minimal baseline force ).
- Termination guarantee: Enforced by finite spatial bounds combined with the hard time cap.
## State representation
- Persistent state: Team rosters, agent base attributes , team match scores .
- Per-tick ephemeral state: Current displacement , remaining agent stamina arrays , active effort modes , net force .
- Observable information: Fully observable — rope position , team effort modes, and visible fatigue are public.
## Action space
- `set_pull_mode(mode_type)`: Executed by team captain each tick ().
## Playability notes
- Single-player-vs-AI: Highly playable — Human acts as team captain timing tactical surges (bursting when the opponent is fatigued or resting in anchor brace) against an AI squad.
- Group games (n>4): Reduces cleanly to 2 agents (1v1 single pullers) by setting , or supports full multi-agent squads natively.
- Physical-skill games: Dynamic muscular traction is abstracted into discrete stamina budgeting and surge timing.
- What is lost: The physical burning sensation of rope friction on palms, the mud-splattering grip under boots, and the raw collective shouting are formalized into numerical vectors.
## Implementation hints
Extremely simple 1D physics integration model. State is a single float and two stamina arrays. Suggested first milestone: implement the 1D displacement loop with contrasting surge vs sustain strategies and verify that fatigue curves produce realistic tug dynamics.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tug of War (Bulgaria). (n.d.). Games of Countries. https://gamesofcountries.com/games/bg-bulgaria/darpane-na-vazhe
@misc{gamesofcountries-bg-bulgaria-darpane-na-vazhe,
title = {Tug of War (Bulgaria)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/bg-bulgaria/darpane-na-vazhe}
}