Skip to main content
Formal Specification

Damascus Checkers — Formal Specification

Syria · board-abstract · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Al-Dama al-Shamiya — AI-optimized specification ## General idea A deterministic two-player orthogonal draughts game on an 8x8 grid where pieces move forward and sideways, captures are mandatory and must maximize captured piece quantity, and promoted pieces become orthogonal flying kings with sweeping capture abilities. ## Formal model - **Abstraction taken:** Direct representation. 8x8 matrix grid with coordinates (r,c)∈{0..7}2. - **Player/agent count:** 2 discrete agents (Player 0 starts at r∈{1,2}, moving +r; Player 1 starts at r∈{5,6}, moving −r). - **Turn model:** Sequential alternating turns. Multi-jumps executed within a single turn. ## Formal rules R1. Setup: 8x8 board. Player 0 has 16 regular pieces on rows 1 and 2. Player 1 has 16 regular pieces on rows 5 and 6. Other rows are empty. R2. Piece status: A piece is either `Man` (regular) or `Dama` (crowned). R3. Legal moves for `Man` of player p: - Non-capturing: 1 step orthogonal forward or sideways to an empty adjacent square. - Capturing: Jump over an orthogonally adjacent opposing piece (forward, left, right) landing on the immediately adjacent vacant square. R4. Legal moves for `Dama` of player p: - Non-capturing: Any number of vacant squares orthogonally (forward, backward, left, right). - Capturing: Fly along an orthogonal line, jump over an isolated opposing piece at distance d≥1, and land on any vacant square beyond it along the same ray. R5. Mandatory maximum capture: If any capture move exists, an agent cannot make a quiet move. The agent must select the capture sequence that maximizes the count of captured opposing pieces. R6. Promotion: If a `Man` reaches the opposite baseline (r=7 for player 0, r=0 for player 1), it promotes immediately to `Dama`. If reached during a multi-jump, it continues the jump sequence as a `Dama`. R7. Win condition: An agent wins if the opponent has 0 pieces remaining or has no legal moves on their turn. ## Edge cases - **Tie at the end condition:** [gap-fill] If 40 successive moves occur with only `Dama` pieces on board without any piece captures, or upon 3-fold state repetition, the game is declared a draw. - **A player with no legal move:** The immobilized player loses immediately. - **Repetition / cycles:** Bounded by the 40-move king rule and 3-fold repetition check. - **Simultaneous claims on the same resource or position:** Not applicable; sequential turns. - **Player elimination mid-round; turn order repair:** Not applicable; 2-agent duel. - **Resource exhaustion:** Pieces are conserved and removed only via capture. - **Termination guarantee:** Guaranteed by monotonic piece reduction and the 40-move / 3-fold repetition draw breaker. ## State representation - Persistent state: 8x8 board array with cell values ∈{0(empty),1(P0 Man),2(P0 Dama),3(P1 Man),4(P1 Dama)}. - Current player: p∈{0,1}. - Halfmove clock: integer counter for capture-less king moves. - Observable information: Fully observable, complete information. ## Action space - `move(from_pos, to_pos)`: Simple quiet orthogonal slide. - `jump(path)`: List of coordinates defining the orthogonal jumping sequence. ## Playability notes - Single-player-vs-AI: Engine-ready; standard Alpha-Beta Minimax with bitboard representation searches deeply and evaluates tactically. - Group games (n>4): Not applicable (2-player duel). - Physical-skill games: Not applicable. - What is lost in the adaptation: The tactile snap of polished wooden draughts pieces and café spectator atmosphere. ## Implementation hints - Implement the mandatory maximum-capture tree search before allowing quiet move generation. - Ray-casting logic for flying Dama must correctly identify empty squares and isolated opposing pieces.

Download as JSON

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

Download JSON
Cite this page

Damascus Checkers (Syria). (n.d.). Games of Countries. https://gamesofcountries.com/games/sy-syria/al-dama-al-shamiya

@misc{gamesofcountries-sy-syria-al-dama-al-shamiya,
  title = {Damascus Checkers (Syria)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sy-syria/al-dama-al-shamiya}
}