Formal Specification
Tunisian Traditional Draughts — Formal Specification
Tunisia · board-abstract · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 1
# Dammet Tounissia — AI-optimized specification
## General idea
A deterministic 8x8 draughts game played on orthogonal grid lines. Each player starts with 16 pieces; regular pieces step forward/sideways, with mandatory leaping multi-captures in all orthogonal directions. Pieces reaching the opposing back rank promote to flying kings (*Sultan*).
## Formal model
- **Abstraction taken:** Direct discrete formalization on an 8x8 coordinate grid `{(r, c) | 0 <= r, c <= 7}`.
- **Player/agent count:** 2 players (0 and 1).
- **Turn model:** Sequential alternating turns.
## Formal rules
R1. Setup: Board is an 8x8 grid.
- Player 0 places 16 pieces on rows `0` and `1`.
- Player 1 places 16 pieces on rows `6` and `7`.
- Rows `2, 3, 4, 5` are empty.
R2. Piece Types: `Man` (regular piece) or `Sultan` (promoted king).
R3. Movement of Men:
- Player 0 Man at `(r, c)` can step to an orthogonally adjacent empty cell `(r', c')` where `r' >= r` and `|r - r'| + |c - c'| == 1`.
- Player 1 Man at `(r, c)` can step to an adjacent empty cell where `r' <= r` and `|r - r'| + |c - c'| == 1`.
R4. Leaping Captures (Men):
- A Man at `u` can leap over an orthogonally adjacent enemy piece at `v` to land on an empty cell `w` along the straight line `u-v-w`.
- Captures can be made forward, backward, and laterally.
- Captures are mandatory: if a capture exists, the player cannot make a simple step.
- Multi-capture: If `w` admits another leap, the jump sequence must continue until exhausted.
R5. Sultan Movement & Capture:
- Promotion: A Player 0 Man reaching row `7` or Player 1 Man reaching row `0` is crowned `Sultan`.
- A `Sultan` can slide across any number of empty orthogonal cells in any direction.
- A `Sultan` can leap-capture an enemy piece at any distance along an orthogonal line, landing on any empty cell beyond it.
R6. Mandatory Action Generation: Game engines strictly prune non-capturing actions if any capture is legal.
R7. Win Condition: A player wins when the opponent has 0 pieces remaining or has no legal moves available on their turn.
## Edge cases
- Tie at the end condition: [gap-fill] If 40 consecutive moves occur without any piece capture or promotion, the game is declared a draw.
- A player with no legal move: Treated as an immediate loss for the immobilized player.
- Repetition / cycles: Bounded by the 40-move non-capture draw counter.
- Simultaneous claims on the same resource or position: Sequential turn execution prevents position collisions.
- Player elimination mid-round; turn order repair: Not applicable; 2-player game ends on final elimination.
- Resource exhaustion: Bounded by finite 32 starting pieces.
- Termination guarantee: Enforced by monotonic piece reduction and the 40-move non-capture draw threshold.
## State representation
- Persistent state: `board: Array[8][8] in {Empty, P0_Man, P0_Sultan, P1_Man, P1_Sultan}`, `active_player: int in {0, 1}`, `no_capture_plies: int`.
- Ephemeral state: `active_jump_path: List[(int, int)]`.
- Observability: Complete, perfect information.
## Action space
- `step((r_src, c_src), (r_dst, c_dst))`: Simple orthogonal move.
- `jump(path)`: Sequence of orthogonal jumping coordinates.
## Playability notes
- Single-player-vs-AI: Engine-ready; standard Minimax with Alpha-Beta pruning and bitboards.
- Group games (n>4): Not applicable; strictly 2-player.
- Physical-skill games: Pure combinatoric strategy.
- What is lost: The ambient chatter and clinking glasses of a traditional Tunis medina café.
## Implementation hints
64-bit bitboard or 2D coordinate array. First milestone: implement orthogonal step legality and mandatory capture chain detection before adding flying Sultan slider logic.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Tunisian Traditional Draughts (Tunisia). (n.d.). Games of Countries. https://gamesofcountries.com/games/tn-tunisia/dammet-tunisia
@misc{gamesofcountries-tn-tunisia-dammet-tunisia,
title = {Tunisian Traditional Draughts (Tunisia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/tn-tunisia/dammet-tunisia}
}