Formal Specification
Sahrawi circular combat tag (Arah / La'bat ar-Rigl) — Formal Specification
Western Sahara · chase-tag · Confidence: low
← Back to game pageImplementation 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 (radius ), an inner ring of 8 sectors , and an outer perimeter boundary .
- **Player/agent count:** agents (). At any tick, exactly 1 agent is `DEFENDER` (positioned in hub ), and agents are `ATTACKERS` (positioned in or ).
- **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 is the Defender's anchor zone.
- Outer sectors are safe zones for Attackers.
- Inner sectors are attack-threat zones adjacent to Hub .
- Defender starts in . Attackers start distributed in .
R2. **Action Selection (Simultaneous per Tick):**
- Defender in selects:
- `defend_and_sweep(target_sector)`: Execute a leg sweep into one chosen inner sector .
- `evade()`: Focus on body dodge (increases dodge chance against all incoming hand tags by ).
- Each Attacker selects:
- `lunge_attack(target_sector)`: Move from into and attempt a hand tag on the Defender in .
- `feint(target_sector)`: Move into without committing to a strike (can retreat next tick).
- `retreat()`: Move from back to safe zone .
- `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 :
- Sweep hit probability: .
- If hit: That Attacker is tagged. Role swap is triggered immediately (R4).
- **Step 2 (Hand Tag Attempt):** If an Attacker in lunged and was not hit by a sweep:
- Hand tag success: (or if Defender selected `evade`).
- If successful: Attacker scores point. Defender is penalized 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 .
- The previous Defender joins the Attackers in .
R5. [gap-fill] **Match Bounding and Victory:**
- The match runs for a fixed duration of ticks.
- Each agent tracks individual points scored as an Attacker.
- The agent with the highest individual score at tick 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 .
- **Simultaneous claims on the same resource or position:** Multiple Attackers can enter the same sector . 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 .
## State representation
- **Persistent state:**
- `defender_id`: integer .
- `agent_positions`: array mapping each agent to , , or .
- `scores`: array of size tracking attack points.
- `current_tick`: integer .
- **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 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 can be mapped directly to angles .
- 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 JSONCite 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}
}