Skip to main content
Formal Specification

Mauritanian desert hockey (Koura al-Ragg) — Formal Specification

Mauritania · stick-team · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Kour — AI-optimized specification ## General idea A traditional Mauritanian desert hockey team sport. Two teams maneuver across a discretized 2D gravel field (Ragg), driving a dense leather-wrapped ball using hooked wooden sticks through coordinated passes, dribbles, and shots on goal while enforcing strict high-sticking prohibitions. ## Formal model - **Abstraction taken:** The continuous open-terrain field is discretized into an M×N grid (18×10 zones). Time progresses in discrete synchronous ticks (Δt=200ms). Ball velocity, stick friction, and contested tackles are modeled via a stochastic physics resolver parameterized by player agility and stick skill. - **Player/agent count:** 2 teams (TA,TB), each with K=5 agents (1 Goalkeeper, 2 Defenders, 1 Midfielder, 1 Forward). - **Turn model:** Synchronous ticks where all 10 agents declare movement/action vectors simultaneously. ## Formal rules R1. **Field Geometry & Setup:** - Grid dimensions: X∈[0,18], Y∈[0,10]. - Team A goal line: X=0, Y∈[3,7]. Team B goal line: X=18, Y∈[3,7]. - Center pit located at (9,5). - Ball starts at (9,5), Vball=0. Agents positioned in their respective halves (X<9 for TA, X>9 for TB). R2. **Face-off (*Center Strike*):** - At match start and after each goal, the two center forwards engage at (9,5). Both submit a `strike_ball()` action; ball velocity vector is determined by relative strength check plus random deviation. R3. **Legal Actions per Tick:** - An agent may choose exactly one action per tick: - `move(dx, dy)`: Move up to 2 grid units (‖dx‖+‖dy‖≤2). - `dribble(dx, dy)`: Move 1 unit with ball in possession. - `pass(target_agent_id, power)`: Hit ball toward teammate (valid if ball is within adjacent zone ≤1 unit). - `shoot(target_x, target_y, power)`: Drive ball toward goal. - `tackle(target_agent_id)`: Attempt stick interception if within 1 unit of ball carrier. R4. **Fouls & Penalties:** - [gap-fill] An action with `elevation` >1.2m (high-sticking) or bodily collision triggers a foul: ball possession transfers to the opponent at the spot with a 1-turn free-hit buffer. R5. **Goal & Scoring:** - A goal is scored when ball coordinate enters the opponent's goal region (X=0 for TB score, X=18 for TA score). - Score increments by 1. - Target score: First team to score 3 goals wins the match. ## Edge cases - **Tie at the end condition:** [gap-fill] If neither team reaches 3 goals within Tmax⁡=250 ticks, a sudden-death overtime period of 50 ticks is played; if still tied, a draw is declared. - **A player with no legal move:** Movement into adjacent unoccupied cells is always legal; holding position is legal. - **Repetition / cycles:** Bounded by the monotonic maximum tick counter Tmax⁡=250. - **Simultaneous claims on the same resource or position:** If two opposing agents enter the same cell or strike the ball simultaneously, resolution applies a strength check: P(Agent A wins)=skillAskillA+skillB. - **Player elimination mid-round; turn order repair:** Not applicable — no permanent eliminations. - **Resource exhaustion:** Finite spatial boundaries; out-of-bounds ball resets to nearest in-bounds cell. - **Termination guarantee:** Guaranteed by finite target score (3 goals) or hard tick cap (T≤250). ## State representation - **Persistent state:** Score (SA,SB), elapsed ticks t, match phase ∈{faceoff,live,free_hit,ended}. - **Ball state:** Position (Xb,Yb), velocity (Vbx,Vby), carrier ID (or null). - **Agent state:** Position (Xi,Yi), team ID, role, stamina, foul count. - **Observable information:** Fully observable 2D state for all agents. ## Action space - `move(dx, dy)`: dx,dy∈{−1,0,1}. - `hit_ball(angle, power, elevation)`: angle∈[0,2π), power∈(0,1], elevation∈[0,2.0]. - `tackle(agent_id)`. ## Playability notes - **Single-player-vs-AI:** Natural: human controls active player nearest the ball, AI controls other 9 agents using behavior trees. - **Group games (N=10):** Can be reduced to a 1v1 duel on a smaller 10×6 grid without losing core hockey dynamics. - **Physical-skill games:** Shot accuracy modeled by Gaussian dispersion around target aim point. - **What is lost in the adaptation:** The physical sensation of running barefoot on hot desert gravel and shouting across the dunes. ## Implementation hints - Implement grid movement with bounding box collision logic and a standard discrete vector for ball trajectory. - First milestone: Build a 1v1 prototype on a 12×8 grid verifying face-off, ball strike, and goal detection.

Download as JSON

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

Download JSON
Cite this page

Mauritanian desert hockey (Koura al-Ragg) (Mauritania). (n.d.). Games of Countries. https://gamesofcountries.com/games/mr-mauritania/kour

@misc{gamesofcountries-mr-mauritania-kour,
  title = {Mauritanian desert hockey (Koura al-Ragg) (Mauritania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/mr-mauritania/kour}
}