Skip to main content
Formal Specification

One-Legged Tag — Formal Specification

Nepal · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Langadi — AI-optimized specification ## General idea Langadi is an asymmetric hopping-tag team sport. One attacking chaser hops on a single leg within a bounded rectangular court to tag 3 active dodging defenders, who are eliminated if tagged or forced out of bounds. The match alternates attacking and defending innings across fixed time intervals. ## Formal model - **Abstraction taken:** Court is modeled as a 2D bounded grid 10×10 units. Defenders run normally; the chaser hops on one leg with a hopping fatigue model that reduces velocity over time and risks a foot-down foul. - **Player/agent count:** 2 teams of 9 agents (Team A, Team B; 1 chaser vs. 3 active defenders on court). - **Turn model:** 4 innings of 120 ticks each (2 attacking innings per team). Simulation step Δt=1.0 s. ## Formal rules R1. Setup: Court bounds X∈[0,10],Y∈[0,10]. Attacking team sends 1 Chaser C; Defending team sends Batch 1 of 3 Defenders {D1,D2,D3}. R2. Chaser Hopping Kinematics: - Chaser hops on single leg: max velocity vchaser=1.2−0.003⋅tfatigue units/tick. - [gap-fill] Foot-down foul risk: At each tick, chaser has probability Pfoot_down=0.002⋅tfatigue of losing balance → if triggered, chaser is FAULTED and must be substituted by a fresh reserve chaser (tfatigue←0). R3. Defender Dodging Kinematics: - Defenders run on both feet: max velocity vdefender=1.0 unit/tick. - Defenders must remain inside court bounds. If a defender's position (x,y)∉[0,10]2, that defender is ELIMINATED (Line Out). R4. Tagging: - If distance between Chaser C and Defender Dj<0.8 units, Defender Dj is TAGGED and ELIMINATED. - Attacking team receives +1 point per eliminated defender. R5. Defender Batch Replacement: - When all 3 defenders of the active batch are eliminated, the next batch of 3 defenders immediately spawns at the boundary entry line. R6. Inning Switch: - After 120 ticks, the inning ends. Teams swap roles (Attacking ↔ Defending). R7. Win Condition: Team with the higher aggregate score after 4 full innings wins. ## Edge cases - Tie at the end condition: Tied scores resolved by a 1-batch sudden death sprint inning. - A player with no legal move: Eliminated defenders wait on the bench. - Repetition / cycles: Bounded strictly by 120 ticks per inning and 4 innings. - Simultaneous claims on the same resource or position: Tag events resolved before boundary exits on the same tick. - Player elimination mid-round: Handled natively by 3-defender batch replacements. - Resource exhaustion: Defender roster contains 9 players (3 batches of 3). - Termination guarantee: Strictly guaranteed by 480 total simulation ticks. ## State representation - `current_inning`: Integer ∈[1,4]. - `chaser_position`: (xc,yc). - `defender_positions`: Array of 3 coordinates [(x1,y1),(x2,y2),(x3,y3)]. - `active_defenders_alive`: Array of 3 booleans. - `defenders_eliminated_total`: Integer. - `team_scores`: Array [SA,SB]. - `inning_tick`: Integer ∈[0,120]. ## Action space - Chaser: `move_hop(dx, dy)`, `substitute_chaser()`. - Defender: `move_dodge(dx, dy)`. ## Playability notes - Single-player-vs-AI: Highly playable as an evasion/pursuit control benchmark. - Group games (n>4): Benchmark multi-agent cooperative pursuit/evasion in bounded spaces. - Physical-skill games: Single-leg hopping fatigue and foot-faults modeled via progressive stamina degradation. - What is lost in the adaptation: The burning lactic acid in the calves and physical dust of the schoolyard. ## Implementation hints Classic multi-agent pursuit-evasion game. Defenders can use Voronoi partitioning or repulsion vectors to stay away from the chaser while avoiding court edges. First milestone: implement 1 chaser vs. 1 defender in a 10×10 court with the 120-tick clock.

Download as JSON

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

Download JSON
Cite this page

One-Legged Tag (Nepal). (n.d.). Games of Countries. https://gamesofcountries.com/games/np-nepal/langadi

@misc{gamesofcountries-np-nepal-langadi,
  title = {One-Legged Tag (Nepal)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/np-nepal/langadi}
}