Skip to main content
Formal Specification

Sahrawi circular combat tag (Arah / La'bat ar-Rigl) — Formal Specification

Western Sahara · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Arah — AI-optimized specification ## General idea A continuous circular arena evasion and tagging game. One central Defender is anchored to a small center zone, defending against a ring of Attackers who dash into range to land open-hand tags while dodging the Defender's sweeping leg counter-attacks. Successfully landing a leg counter transfers the Defender role to the tagged Attacker. ## Formal model - **Abstraction taken:** The continuous circular sand arena is discretized into a radial grid: a central hub C (radius r=0), an inner ring of 8 sectors R1={0…7}, and an outer perimeter boundary R2={0…7}. - **Player/agent count:** N=6 agents (A0…A5). At any tick, exactly 1 agent is `DEFENDER` (positioned in hub C), and N−1 agents are `ATTACKERS` (positioned in R1 or R2). - **Turn model:** Synchronized discrete time ticks. In each tick, all agents choose an action simultaneously, followed by movement resolution and contact/tag resolution. ## Formal rules R1. **Topology and Initial Positions:** - Hub C is the Defender's anchor zone. - Outer sectors (R2,θ) are safe zones for Attackers. - Inner sectors (R1,θ) are attack-threat zones adjacent to Hub C. - Defender starts in C. Attackers start distributed in R2. R2. **Action Selection (Simultaneous per Tick):** - Defender in C selects: - `defend_and_sweep(target_sector)`: Execute a leg sweep into one chosen inner sector θ∈{0…7}. - `evade()`: Focus on body dodge (increases dodge chance against all incoming hand tags by +30%). - Each Attacker i selects: - `lunge_attack(target_sector)`: Move from R2 into (R1,θ) and attempt a hand tag on the Defender in C. - `feint(target_sector)`: Move into (R1,θ) without committing to a strike (can retreat next tick). - `retreat()`: Move from R1 back to safe zone R2. - `hold()`: Remain in current sector. R3. **Contact and Tag Resolution:** - **Step 1 (Leg Sweep Counter):** If the Defender swept sector θ, and one or more Attackers are in (R1,θ): - Sweep hit probability: P(sweep_hit)=0.75. - If hit: That Attacker is tagged. Role swap is triggered immediately (R4). - **Step 2 (Hand Tag Attempt):** If an Attacker in (R1,θ) lunged and was not hit by a sweep: - Hand tag success: P(hand_tag)=0.60 (or 0.30 if Defender selected `evade`). - If successful: Attacker scores +1 point. Defender is penalized +1 fatigue point. R4. **Role Transfer:** - When an Attacker is hit by the Defender's leg sweep, roles instantly swap: - The tagged Attacker becomes the new `DEFENDER` in Hub C. - The previous Defender joins the Attackers in R2. R5. [gap-fill] **Match Bounding and Victory:** - The match runs for a fixed duration of T=100 ticks. - Each agent tracks individual points scored as an Attacker. - The agent with the highest individual score at tick T wins the match. ## Edge cases - **Tie at the end condition:** Possible if multiple agents tie for the highest individual score; resolved by fewest ticks spent as Defender. - **A player with no legal move:** All agents always have legal choices (`hold`, `evade`, `move`). - **Repetition / cycles:** Bounded by strict tick limit T=100. - **Simultaneous claims on the same resource or position:** Multiple Attackers can enter the same sector (R1,θ). If the Defender sweeps that sector, one Attacker is randomly selected as the primary sweep target. - **Player elimination mid-round; turn order repair:** No agent is eliminated; role state updates dynamically. - **Resource exhaustion:** Finite discrete radial topology and invariant agent count. - **Termination guarantee:** Match strictly terminates when current tick reaches T=100. ## State representation - **Persistent state:** - `defender_id`: integer ∈{0…N−1}. - `agent_positions`: array mapping each agent to C, (R1,θ), or (R2,θ). - `scores`: array of size N tracking attack points. - `current_tick`: integer ∈[0,100]. - **Per-turn ephemeral state:** - `committed_actions`: map of agent ID to selected action. - **Observable information:** Fully observable game state across all agents. ## Action space - Defender: `defend_and_sweep(sector \in 0..7)`, `evade()`. - Attackers: `lunge_attack(sector)`, `feint(sector)`, `retreat()`, `hold()`. ## Playability notes - **Single-player-vs-AI:** Supports 1 human vs N−1 AI agents (either playing as Defender or one of the Attackers). AI uses multi-agent coordination for multi-angle lunge timing. - **Group games (n>4):** Naturally supports 5 to 15 agents. Can be reduced to a 2-agent form (1 Defender vs 1 Attacker with stamina mechanics). - **Physical-skill games:** Physical agility and footwork are abstracted into discrete sector transitions and success probabilities. - **What is lost in the adaptation:** Physical desert footing, real-time kinetic reactions, and verbal crowd psychology. ## Implementation hints - Implement as a discrete time-stepped multi-agent environment with simultaneous action step. - Radial sectors 0…7 can be mapped directly to angles (0∘,45∘,…,315∘). - First milestone: Implement 1v1 Defender vs Attacker sector interaction before expanding to the full 6-agent circle.

Download as JSON

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

Download JSON
Cite this page

Sahrawi circular combat tag (Arah / La'bat ar-Rigl) (Western Sahara). (n.d.). Games of Countries. https://gamesofcountries.com/games/eh-western-sahara/arah

@misc{gamesofcountries-eh-western-sahara-arah,
  title = {Sahrawi circular combat tag (Arah / La'bat ar-Rigl) (Western Sahara)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/eh-western-sahara/arah}
}