Formal Specification
Bahraini Strategic Draughts — Formal Specification
Bahrain · board-abstract · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 1
# Umm Al-Hakam — AI-optimized specification
## General idea
A 2-player deterministic orthogonal draughts variant played on an 8x8 grid. Unpromoted pieces move and capture orthogonally (forward, left, right), promoting at the opposite baseline to flying kings (*Al-Hakam*) capable of arbitrary-distance orthogonal movement and capture.
## Formal model
- **Abstraction taken:** Direct discrete 8x8 board representation `B[row][col] ∈ {EMPTY, P0_MAN, P0_KING, P1_MAN, P1_KING}`. Full deterministic zero-sum state machine.
- **Player/agent count:** 2 agents (Player 0 = Rank 2-3, Player 1 = Rank 6-7).
- **Turn model:** Sequential alternating turns with mandatory multi-jump capture continuation.
## Formal rules
R1. Board & Initial Layout:
- 8x8 grid: `r ∈ [0..7]`, `c ∈ [0..7]`.
- Player 0 pieces at `(r, c)` where `r ∈ {1, 2}`, `c ∈ [0..7]` (16 pieces).
- Player 1 pieces at `(r, c)` where `r ∈ {5, 6}`, `c ∈ [0..7]` (16 pieces).
R2. Movement of Men (Unpromoted Pieces):
- Player 0 Man: Orthogonal moves to `(r+1, c)`, `(r, c-1)`, `(r, c+1)` if destination is EMPTY.
- Player 1 Man: Orthogonal moves to `(r-1, c)`, `(r, c-1)`, `(r, c+1)` if destination is EMPTY.
- No backward or diagonal moves for Men.
R3. Captures by Men:
- A Man captures an adjacent opponent piece by jumping over it to the immediate vacant square beyond:
`(r_dest, c_dest) = (r_opp + dr, c_opp + dc)` where `(dr, dc) ∈ {(1,0), (-1,0), (0,1), (0,-1)}` (backward captures allowed during jumping).
- Mandatory Multi-Jump: If landing square admits further captures, jumping must continue.
- Mandatory Majority Rule: Player must select the capture sequence that maximizes total captured pieces.
R4. King (*Hakam*) Movement and Capture:
- Man reaching baseline (`r = 7` for P0, `r = 0` for P1) promotes immediately to King.
- King moves any distance along orthogonal rays if path is unobstructed.
- King captures by flying over an enemy piece along an orthogonal ray and landing on any vacant square beyond it.
R5. Win and Draw Conditions:
- **Win Condition 1:** All opponent pieces captured.
- **Win Condition 2:** Opponent has no legal moves on their turn (stalemate).
- **Draw Condition:** Threefold state repetition or 40 consecutive moves with Kings without a capture. [gap-fill]
## Edge cases
- **Tie at the end condition:** Draw evaluated strictly by threefold repetition or 40-move King rule.
- **A player with no legal move:** Stalemate results in immediate defeat for the immobilized player.
- **Repetition / cycles:** Enforced threefold repetition rule prevents infinite King maneuvering.
- **Simultaneous claims on destination:** Not applicable; strictly sequential turns.
- **Player elimination mid-round:** Complete piece loss triggers immediate game termination.
- **Resource exhaustion:** Finite pieces (16 per player); captures monotonically reduce pieces.
- **Termination guarantee:** Guaranteed by finite pieces and 40-move non-capture draw limit.
## State representation
- **Persistent state:**
- `board: Array[8][8] of int`.
- `current_player: int` (0 or 1).
- `piece_counts: Tuple[int, int]`.
- `king_move_counter: int`.
- `board_history: List[str]`.
- **Information set:** Perfect information, fully observable.
## Action space
- `move(from_pos: Tuple[int, int], to_pos: Tuple[int, int])`: Orthogonal shift.
- `capture(jump_sequence: List[Tuple[int, int]])`: Sequence of orthogonal jumps.
## Playability notes
- **Single-player-vs-AI:** Excellent fit for Alpha-Beta Minimax or MCTS with piece material and King advancement heuristics.
- **Group games:** Strictly 2-player zero-sum abstract.
- **Physical-skill model:** None (pure abstract strategy).
- **What is lost:** Tactile clack of wooden pieces and cafe spectator banter.
## Implementation hints
Precompute orthogonal directional vectors `[(1,0), (-1,0), (0,1), (0,-1)]`. Implement mandatory majority capture generator prior to evaluating quiet moves.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Bahraini Strategic Draughts (Bahrain). (n.d.). Games of Countries. https://gamesofcountries.com/games/bh-bahrain/umm-al-hakam
@misc{gamesofcountries-bh-bahrain-umm-al-hakam,
title = {Bahraini Strategic Draughts (Bahrain)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/bh-bahrain/umm-al-hakam}
}