Skip to main content
Formal Specification

Mauritanian stave-dice race game — Formal Specification

Mauritania · dice-lots · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Sig Mauritani — AI-optimized specification ## General idea A traditional Mauritanian 8-stave race and elimination game on an S-curved sand embankment track (*Lebra*). Players cast 8 two-faced wooden sticks to generate non-uniform movement points and piece-activation tokens (*Sig*), maneuvering active pieces through a shared circular track to capture and eliminate all opposing pieces. ## Formal model - **Abstraction taken:** The physical drop of 8 two-faced carved sticks is modeled via an asymmetric 8-coin binomial distribution. The sand mound track is formalized as a 1D circular graph of M=24 nodes. - **Player/agent count:** 2 teams (T0,T1). - **Turn model:** Alternating turns. Bonus rolls grant chaining turns on specific stave combinations. ## Formal rules R1. **Track Graph & Piece Setup:** - Track G with N=24 positions indexed 0…23. - Team 0 base entry at node 0; Team 1 base entry at node 12. - Each team begins with K=8 pieces in reserve (Reservei=8). R2. **Stave Randomizer (*Sikat*):** - Throwing 8 sticks yields outcome W∈[0,8] (count of white faces facing up). - Outcome Mapping: - W∈{1,7}: Points=1, BonusRoll=true, CanActivate=true (*Sig*). - W=2: Points=2, BonusRoll=false. - W=3: Points=3, BonusRoll=false. - W=4: Points=4, BonusRoll=true. - W=6: Points=6, BonusRoll=true. - W∈{0,8}: Points=8, BonusRoll=true. - W=5: Points=0, BonusRoll=false. R3. **Activation & Step Movement:** - If CanActivate==true and Reservei>0: Agent may choose `activate_piece()` to move 1 piece from reserve onto its home entry node. - If active pieces exist: Agent may execute `move_piece(piece_id, points)` to advance piece along track: pos′=(pos+points)(mod24). R4. **Capture Mechanism:** - If an active piece lands on index k occupied by an opponent piece: - Opponent piece is captured and permanently removed from the game. - Friendly pieces on the same node form a stack. R5. **Bonus Roll Chaining:** - If BonusRoll==true, active team retains the turn and casts again. R6. **Victory Condition:** - A team wins immediately when all K=8 pieces of the opposing team are captured. ## Edge cases - **Tie at the end condition:** Not applicable — win triggers unilaterally upon total elimination. - **A player with no legal move:** If an agent has no active pieces and rolls no *Sig* (W∉{1,7}), the turn passes with zero state change. - **Repetition / cycles:** [gap-fill] If 100 consecutive turns occur without a capture, the player with more active pieces on the board wins; if equal, a draw is declared. - **Simultaneous claims on the same resource or position:** Turns are sequential; landing on an occupied square executes a capture or friendly stack. - **Player elimination mid-round; turn order repair:** Not applicable in 2-sided team game. - **Resource exhaustion:** Finite pieces (8 per team). - **Termination guarantee:** Guaranteed by asymmetric capture mechanics and the 100-turn non-capture limit. ## State representation - **Persistent state:** Active team ∈{0,1}, turn count, non-capture turn counter. - **Per-player state:** Reserve count ∈[0,8], captured count ∈[0,8], list of active pieces {(id,position)}. - **Ephemeral state:** Current cast outcome (W,Points,BonusRoll,CanActivate). - **Observable information:** Fully observable board state. ## Action space - `cast_staves()`: Stochastic lot generation. - `activate_piece()`: Move piece from reserve to entry node. - `move_piece(piece_id)`: Advance specified active piece by current points. - `pass_turn()`: Relinquish turn when no moves are legal. ## Playability notes - **Single-player-vs-AI:** Ideal: standard expectimax search or MCTS plays effectively against human opponents. - **Group games (N>4):** Team structure naturally collapses to 2 decision-making agents. - **Physical-skill games:** Not applicable (pure discrete board and dice game). - **What is lost in the adaptation:** The physical ambiance of tent gatherings, laughter, and rhythmic clapping. ## Implementation hints - Implement the randomizer with asymmetric coin weights (P(white)≈0.45). - First milestone: Implement board graph, piece activation via Sig, and basic capture logic.

Download as JSON

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

Download JSON
Cite this page

Mauritanian stave-dice race game (Mauritania). (n.d.). Games of Countries. https://gamesofcountries.com/games/mr-mauritania/sig

@misc{gamesofcountries-mr-mauritania-sig,
  title = {Mauritanian stave-dice race game (Mauritania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/mr-mauritania/sig}
}