Formal Specification
Lao Traditional Chess / War Game — Formal Specification
Laos · board-abstract · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 3
# Mak Seuk — AI-optimized specification
## General idea
Mak Seuk (Makruk Lao) is the traditional two-player board game of Laos belonging to the classical Southeast Asian chaturanga lineage. Played on an uncheckered 8x8 board with 16 pieces per side, pawns start on the 3rd rank and promote on the 6th rank into diagonally-moving Lieutenants (*Met*). With restricted piece mobility compared to Western chess (Bishops/Nobles move only 1 square forward or diagonally; Queens/Lieutenants move 1 square diagonally), games feature deep positional pawn structures and formalized endgame piece countdown rules when defending with a bare King.
## Formal model
- **Abstraction taken:** Direct discrete formalization on an grid graph .
- **Player/agent count:** 2 agents ().
- **Turn model:** Strictly alternating sequential turns; White moves first.
## Formal rules
R1. Board & Initial Piece Setup:
- Rank 0 (White back rank): `[Rook, Knight, Noble, King, Lieutenant, Noble, Knight, Rook]` (King on d1, Lieutenant on e1) [gap-fill: standard Makruk/Mak Seuk piece indexing].
- Rank 1: Empty.
- Rank 2: 8 White Pawns (*Bia*).
- Rank 7 (Black back rank): `[Rook, Knight, Noble, King, Lieutenant, Noble, Knight, Rook]` (King on d8, Lieutenant on e8).
- Rank 6: Empty.
- Rank 5: 8 Black Pawns (*Bia*).
R2. Piece Movement Profiles:
- **King (*Khun*):** Moves 1 square in any of the 8 orthogonal or diagonal directions. Cannot move into check.
- **Lieutenant (*Met*):** Moves 1 square diagonally in any of the 4 directions.
- **Noble (*Khon*):** Moves 1 square diagonally (4 directions) or 1 square straight forward (5 total directions).
- **Knight (*Ma*):** Moves in an L-shape (2 squares along one orthogonal axis, 1 square perpendicular). Can leap over intervening pieces.
- **Rook (*Heua*):** Slides any number of vacant squares orthogonally (horizontal/vertical).
- **Pawn (*Bia*):** Steps 1 square straight forward (no initial 2-square push). Captures 1 square diagonally forward.
R3. Pawn Promotion (*Bia Ngai*):
- A White Pawn that reaches Rank 5 (the 6th rank from White's perspective) or a Black Pawn that reaches Rank 2 immediately promotes into a promoted pawn (*Bia Ngai*), gaining the movement of a Lieutenant (*Met*).
R4. Castling & Special Rules:
- There is no castling and no *en passant* capture.
R5. Win, Checkmate & Stalemate:
- **Checkmate:** The game ends with victory for the attacking player if the opponent's King is in check and has no legal moves to escape.
- **Stalemate:** If the active player is not in check but has 0 legal moves, the game is declared an immediate draw.
R6. Bare King Countdown Rules (*Kaan Nup*):
- When a defending player is reduced to a bare King (*Khun Diao*) with no other pieces remaining, the countdown begins.
- The countdown limit is determined by the strongest piece configuration possessed by the attacker:
- 2 Rooks: 8 moves
- 1 Rook: 16 moves
- 2 Nobles: 22 moves
- 2 Knights: 32 moves
- 1 Noble: 44 moves
- 1 Knight: 64 moves
- Pawns/Promoted Pawns only: 64 moves
- The move count begins from the total count of all remaining pieces on the board. If the attacker fails to checkmate before reaching , the game is declared a draw.
R7. [gap-fill] Threefold Repetition Draw: If the identical board position (piece locations and active turn) occurs 3 times in a game, either player may claim an immediate draw.
R8. [gap-fill] 50-Move Rule: If 50 consecutive moves occur without a piece capture or pawn promotion, the game is declared a draw.
## Edge cases
- **Tie at the end condition:** A draw occurs via Stalemate (R5), Bare King countdown expiration (R6), Threefold Repetition (R7), or the 50-Move rule (R8).
- **A player with no legal move:** If in check Checkmate (Loss); if not in check Stalemate (Draw per R5).
- **Repetition / cycles:** Explicitly broken by R7 (threefold repetition) and R8 (50-move rule).
- **Simultaneous claims on the same resource or position:** Not applicable; turns are strictly sequential.
- **Player elimination mid-round; turn order repair:** Not applicable; exactly 2 players.
- **Resource exhaustion:** Pieces captured are permanently removed from the board; promotions do not introduce extra physical pieces beyond transformed pawns.
- **Termination guarantee: why the game provably ends:** Guaranteed to terminate because all moves are bounded by the Bare King countdown (R6), the 50-move rule (R8), or the finite-state threefold repetition rule (R7).
## State representation
- Persistent state: 64-element board array , active player , bare King countdown counter, half-move clock, position history hashes.
- Per-turn ephemeral state: Selected piece square, destination square, captured piece type, promotion trigger flag.
- Observable information: Fully observable — complete perfect information with zero hidden state.
## Action space
- `move(from_sq, to_sq)`: Move a piece from source square to destination square conforming to legal piece movement and check validation.
## Playability notes
- Single-player-vs-AI: Engine-ready. Directly supported by standard chess engines (e.g. Fairy-Stockfish) using Makruk rulesets.
- Group games (n>4): Strictly a 2-player abstract strategy game.
- Physical-skill games: Pure combinatorial strategy.
- What is lost in the adaptation: The tactile resonance of carved rosewood pieces clicking against wooden boards and the tea-stall spectators' lively banter.
## Implementation hints
Use a standard 64-square 1D array or 8x8 matrix. Piece moves can be represented with precomputed move-offset arrays. Makruk/Mak Seuk games have significantly lower branching factors (~20–35 moves) and longer average game lengths than Western chess. Milestone 1: Implement board representation, legal move generation, and pawn promotion; Milestone 2: Implement checkmate, stalemate, and the Bare King countdown evaluator.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Mak Seuk (Laos). (n.d.). Games of Countries. https://gamesofcountries.com/games/la-laos/mak-seuk
@misc{gamesofcountries-la-laos-mak-seuk,
title = {Mak Seuk (Laos)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/la-laos/mak-seuk}
}