Skip to main content
Formal Specification

Tanzanian Draughts — Formal Specification

Tanzania · board-abstract · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Tanzanian Draughts (Dama) — AI-optimized specification ## General idea A flying-kings draughts variant on an 8x8 board with mandatory capture, men able to capture kings, and free choice among multiple valid capture sequences. ## Formal model - **Abstraction taken:** none — draughts is already a fully discrete board game. - **Player/agent count:** 2. - **Turn model:** strictly alternating. ## Formal rules R1. Board: 8x8, playable squares are the dark squares only (standard draughts convention; bottom-right corner is light/unplayed). R2. Men move diagonally forward one square onto an empty playable square. R3. Kings move and capture diagonally in any of the four directions, any distance along an empty diagonal, landing on any empty square beyond a single captured piece. R4. Capture is mandatory: if any legal capturing move exists for the player to move, a non-capturing move is illegal. R5. Multi-capture: if a capture sequence begins, the player must continue capturing with the same piece for as long as further captures are available in that sequence, including via a different diagonal branch than the one just taken. R6. Men may capture kings (no piece-type immunity from capture). R7. Capture-path choice is free: when multiple legal capture sequences exist, the player may choose any of them (no forced longest-sequence or king-priority rule). R8. Promotion: a man landing on the opponent's back row promotes to a king; if this happens mid-capture-sequence, the sequence ends immediately (the new king does not continue capturing that turn). R9. Draw: declared when each side has exactly one king and no men, or when both sides have exactly two kings and no men. R10. Win condition: [gap-fill: not explicitly stated by the source beyond the general draughts convention — implementers should use the standard rule: a player wins when the opponent has no legal move (no pieces, or all pieces blocked)]. ## Edge cases - **Tie at the end:** game ends in a draw per R9 when each side has 1 king, or both have 2 kings. - **A player with no legal move:** per R10's gap-filled default, having no legal move (not via elimination) is a loss for the player to move, as in standard draughts. - **Repetition / cycles:** repetition of king positions triggers a draw check after agreed cycle counts (R9). - **Simultaneous claims on one position:** simultaneous multiple mandatory-capture options are resolved by R7 — free choice. - **Elimination mid-round and turn-order repair:** captured pieces are permanently removed; 2-player alternation remains invariant. - **Resource exhaustion:** piece count is monotonically non-increasing as captures occur. - **Termination guarantee:** guaranteed under normal play — piece count is monotonically non-increasing and captures are forced when available, bounding the game; a move-cap safety bound is still recommended for repetition-only positions (e.g. two kings vs. two kings before the R9 draw check triggers). ## State representation - `board`: 8x8 grid, each playable square holding {empty, man(player), king(player)}. - `to_move`: player index. - `mid_capture`: optional piece reference + remaining forced-capture state, for R5. ## Action space - `move(from, to)` — legal iff a non-capturing move and no capture is available anywhere on the board (R4). - `capture(from, to)` — jump over an adjacent enemy piece per R3/R6; if part of a multi-capture sequence, only continuations of the current sequence are legal (R5). ## Playability notes - Deterministic, perfect-information — well suited to minimax with alpha-beta pruning; a mature, well-studied game family (draughts/checkers engines are a classic AI target). - Branching factor is moderate and shrinks as pieces are captured. ## Implementation hints Implement mandatory-capture (R4) and multi-capture continuation (R5) carefully — these are the rules most often gotten wrong in draughts implementations. Validate promotion mid-capture (R8) as a distinct test case, since many draughts variants let a newly-promoted king continue capturing in the same turn, which this variant explicitly does not.

Download as JSON

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

Download JSON
Cite this page

Tanzanian Draughts (Tanzania). (n.d.). Games of Countries. https://gamesofcountries.com/games/tz-tanzania/tanzanian-draughts

@misc{gamesofcountries-tz-tanzania-tanzanian-draughts,
  title = {Tanzanian Draughts (Tanzania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tz-tanzania/tanzanian-draughts}
}