Skip to main content
Formal Specification

Shaddat (Sudanese One-Legged Balance Tag) — Formal Specification

Sudan · chase-tag · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Shaddat — AI-optimized specification ## General idea A balance-constrained infiltration game on a 2D spatial grid. An Attacker agent operating with reduced mobility and balance thresholds attempts to navigate past a Defender to cross a goal boundary. Collisions trigger physical balance checks where the Attacker seeks to knock down the Defender or slip past to score. ## Formal model - **Abstraction taken:** The physical single-leg grip is modeled as an asymmetric balance meter Batt∈[0,100] (vulnerable to ground-touch faults) and hop movement constraints on a 2D grid [−5,5]×[0,10] where y=0 is the start line and y=10 is the goal line (*al-mays*). - **Player/agent count:** 1 Attacker vs. 1 Defender (extensible to 1 vs N). - **Turn model:** Synchronous discrete ticks (100ms per tick). ## Formal rules R1. Positions: Attacker starts at (0,0), Batt=100. Defender starts at (0,6), Bdef=100. R2. Movement per tick: - Both agents simultaneously select directional moves ≤1 cell. - Attacker hop cost: Attacker loses −1 balance per movement tick due to single-leg fatigue. R3. Collision Resolution: - If Attacker and Defender occupy adjacent cells and execute a collision action (`SHOULDER_CHARGE` vs `BLOCK`): - Attacker balance change: ΔBatt=−20×(1+skilldef−skillatt). - Defender balance change: ΔBdef=−30×(1+skillatt−skilldef). R4. Elimination / Termination: - If Batt≤0: Attacker suffers a `FOOT_DROP / FALL` and is `ELIMINATED` (0 points). - If Bdef≤0: Defender is `KNOCKED_DOWN` (frozen for 5 ticks). - If Attacker reaches y≥10 while Batt>0: Attacker scores a `GOAL` (**+10 points**). R5. [gap-fill] Time Limit: Maximum 50 ticks per infiltration run. If tick 50 is reached with y<10, Attacker fails (0 points). R6. [gap-fill] Match Structure: Match consists of 6 alternating runs (each agent attacks 3 times). Highest cumulative score wins. ## Edge cases - Tie at the end condition: Equal points at run 6 triggers a sudden-death single run by each agent. - A player with no legal move: Directional moves within grid bounds are always available. - Repetition / cycles: Bounded by the 50-tick hard limit (R5). - Simultaneous claims on the same resource or position: Handled smoothly by R3 collision and balance updates. - Player elimination mid-round; turn order repair: Infiltration concludes instantly on goal crossing or balance depletion. - Resource exhaustion (pieces, tokens, space, time): Ticks strictly expire at 50 per run. - Termination guarantee: Monotonic fatigue drain (−1 per tick) and 50-tick hard cutoff guarantee termination. ## State representation - Persistent state: `match_scores`: `{AGENT_A: int, AGENT_B: int}`, `run_number: int in 1..6`. - Per-run state: - `pos_att`: `(x, y)`. - `pos_def`: `(x, y)`. - `balance_att`: float in [0,100]. - `balance_def`: float in [0,100]. - `tick_counter`: integer in `0..50`. - Observable information: Fully observable by both agents. ## Action space - Attacker: `move(dx, dy)`, `shoulder_charge()`. - Defender: `move(dx, dy)`, `block()`, `evade()`. ## Playability notes - Single-player-vs-AI: Engine-ready; play as Attacker threading defensive gaps or Defender holding the line. - Group games (n>4): Parameterizes naturally to 1 Attacker vs K Defenders or full-team line scrimmages. - Physical-skill games: Single-leg balance and shoulder collision leverage are parameterized via balance meters and fatigue decay. - What is lost in adaptation: The raw physical burn in the calf muscle and dynamic sand sliding. ## Implementation hints Discrete 2D grid pursuit/block simulation. First milestone: implement grid boundaries, fatigue drain, and goal line trigger before adding shoulder collision mechanics.

Download as JSON

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

Download JSON
Cite this page

Shaddat (Sudanese One-Legged Balance Tag) (Sudan). (n.d.). Games of Countries. https://gamesofcountries.com/games/sd-sudan/shaddat

@misc{gamesofcountries-sd-sudan-shaddat,
  title = {Shaddat (Sudanese One-Legged Balance Tag) (Sudan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sd-sudan/shaddat}
}