Skip to main content
Formal Specification

Tunisian Sand Race Board Game — Formal Specification

Tunisia · board-race · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 2
# Drissa — AI-optimized specification ## General idea A turn-based race and capture game on a 16-node circular track. Movement points are generated by casting 4 two-sided lots. Pieces must be activated by rolling a "Sig" value before entering the circuit, where exact landing captures eliminate opponent pieces. ## Formal model - **Abstraction taken:** Direct discrete formalization. Lot outcomes are modeled via a 4-coin binomial distribution `B(4, 0.5)` mapped to traditional scoring values. - **Player/agent count:** 2 players (0 and 1). - **Turn model:** Sequential alternating turns with bonus-roll continuation. ## Formal rules R1. Board Topology: A 16-node circular track `0..15`. Player 0 starts at node `0` moving clockwise `0 -> 15`; Player 1 starts at node `8` moving clockwise `8 -> 15 -> 0 -> 7`. R2. Piece State: Each player owns `N = 6` pieces, each in state `Inactive` (home trench) or `Active(pos)`. R3. Lot Randomizer: 4 lots cast simultaneously. Let `k` be the count of convex-up lots: - `k = 1`: **Sig** -> `value = 1`, `grant_extra_roll = true`. Can activate one `Inactive` piece to `Active(start_node)`. - `k = 2`: `value = 2`, `grant_extra_roll = false`. - `k = 3`: `value = 3`, `grant_extra_roll = false`. - `k = 4`: `value = 4`, `grant_extra_roll = true`. - `k = 0`: `value = 6`, `grant_extra_roll = true`. R4. Roll Accumulation Phase: If a roll grants `grant_extra_roll`, player rolls again and accumulates points before allocating moves. R5. Movement & Capture: - Active piece advances by `M` accumulated points. - If landing on an enemy piece, the enemy piece is eliminated permanently. - If landing on a friendly piece, a protected stack is formed. R6. [gap-fill] Turn Pass on No Move: If points cannot be legally allocated to any active piece, points forfeit and the turn passes. R7. Win Condition: A player wins when all opposing pieces are eliminated. ## Edge cases - Tie at the end condition: Not applicable; winner is determined strictly when one player captures all opposing pieces. - A player with no legal move: Handled by R6; points forfeit cleanly. - Repetition / cycles: [gap-fill] If 40 consecutive non-capture turns elapse, the player with the most surviving active pieces wins. - Simultaneous claims on the same resource or position: Sequential movement resolves collisions. - Player elimination mid-round; turn order repair: 2-player game ends immediately on final capture. - Resource exhaustion: Monotonically decreasing piece count (6 down to 0). - Termination guarantee: Guaranteed by the 40-turn stagnation breaker and finite piece counts. ## State representation - Persistent state: `pieces_p0: Array[6][Status]`, `pieces_p1: Array[6][Status]`, `active_player: int in {0, 1}`, `stagnation_turns: int`. - Ephemeral state: `accumulated_points: int`, `can_activate: bool`. - Observability: Complete, perfect information. ## Action space - `roll_lots()`: Triggered at turn start or bonus roll. - `activate_piece()`: Consume 1 Sig point to deploy. - `move_piece(piece_id, points)`: Advance active piece. ## Playability notes - Single-player-vs-AI: Engine-ready; standard expectimax or MCTS performs well given stochastic branching. - Group games (n>4): Not applicable; 2-player. - Physical-skill games: Pure discrete race system. - What is lost: The simple tactile joy of digging fresh finger hollows in warm Sahara sand. ## Implementation hints 1D circular array representation. First milestone: implement 4-lot binomial randomizer and piece activation checks before implementing heuristic AI.

Download as JSON

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

Download JSON
Cite this page

Tunisian Sand Race Board Game (Tunisia). (n.d.). Games of Countries. https://gamesofcountries.com/games/tn-tunisia/drissa

@misc{gamesofcountries-tn-tunisia-drissa,
  title = {Tunisian Sand Race Board Game (Tunisia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tn-tunisia/drissa}
}