Formal Specification
Dama — Formal Specification
Palestine · board-abstract · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 3
# Al-Dama — AI-optimized specification
## General idea
The traditional Levant/Ottoman draughts game played on an uncheckered board. Pieces move orthogonally (forward and sideways, never backward or diagonally). Promotion to *Queen* (*Dama*) unlocks full-range orthogonal flying movement and capture. Mandatory maximum-capture rules govern tactical play.
## Formal model
- **Board structure:** grid of 64 identical squares.
- **Player/agent count:** 2 players (16 pieces each, occupying rows 2-3 and 6-7).
- **Turn model:** Alternating turns.
## Formal rules
R1. **Initial board:** Player 1 pieces on rows 2 and 3; Player 2 pieces on rows 6 and 7. Rows 1, 4, 5, 8 start empty.
R2. **Regular piece movement:** A regular piece moves 1 square forward, left, or right to an empty square (never diagonally, never backward).
R3. **Regular piece capture:** If an adjacent orthogonal square has an opponent piece and the square immediately beyond is empty, the piece leaps over and captures it. Multiple consecutive orthogonal jumps in a single turn are mandatory.
R4. **Flying Queen (Dama):** When a piece reaches the opposite back row (row 8 for P1, row 1 for P2), it promotes to a *Dama*. A *Dama* can move any number of empty squares along orthogonal lines (like a chess rook) and capture from any distance, landing on any empty square along the line beyond the captured piece.
R5. **Mandatory capture & quantity priority:** If capture is available, it must be taken. If multiple capture paths exist, the player must choose the path that captures the maximum number of pieces (*Kaf*).
R6. **Victory:** A player wins by capturing all opponent pieces, blocking the opponent from having any legal move, or reducing the opponent to 1 piece against a Queen [gap-fill].
R7. [gap-fill] Draw rule:** 40 consecutive moves without a capture or promotion result in a draw.
## Edge cases
- **Tie at the end condition:** Handled by 40-move draw rule.
- **A player with no legal move:** The blocked player loses immediately.
- **Repetition / cycles:** Standard 3-fold repetition draw rule applies [gap-fill].
- **Simultaneous claims:** Not applicable — turn-based.
- **Player elimination mid-round:** Not applicable.
- **Resource exhaustion:** 16 pieces per player, permanently removed on capture.
- **Termination guarantee:** Provable termination via piece decrement and 40-move draw rule.
## State representation
- **Persistent state:** `board: Array[8][8] \in {Empty, P1_Men, P1_Queen, P2_Men, P2_Queen}`, `turn: PlayerID`.
- **Ephemeral state:** `halfmove_clock: int`, `consecutive_repetition_table: Dict[State, int]`.
- **Observable information:** Fully observable state.
## Action space
- `move(from_pos, to_pos)`: Orthogonal displacement.
- `capture(jump_sequence)`: Ordered list of jump landings.
## Playability notes
- **Single-player-vs-AI:** Perfect for Alpha-Beta pruning / Minimax engines.
- **Group games (n>4):** Strictly 2-player.
- **Physical-skill games:** Not applicable (pure strategy).
- **What is lost:** Tactile wooden board and cafe atmosphere.
## Implementation hints
Standard draughts bitboard or 2D matrix engine. Orthogonal neighbor offsets: `(0,1), (0,-1), (1,0), (-1,0)`.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Dama (Palestine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ps-palestine/dama
@misc{gamesofcountries-ps-palestine-dama,
title = {Dama (Palestine)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ps-palestine/dama}
}