Formal Specification
Mongolian grand chess (Bodyguard chess) — Formal Specification
Mongolia · board-abstract · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 2
# Hiashatar — AI-optimized specification
## General idea
A deterministic 10×10 chess variant featuring 28 pieces per side. The defining mechanic is the *Hia* (Bodyguard), which radiates a continuous 3×3 aura of control: any opposing piece entering the eight squares immediately adjacent to a *Hia* has its maximum movement speed reduced to exactly 1 square per turn while within that zone.
## Formal model
- **Abstraction taken:** Direct discrete grid formalization on a 10×10 matrix `[0..9] x [0..9]`.
- **Player/agent count:** 2 agents: White and Black.
- **Turn model:** Strictly alternating sequential turns; White moves first.
## Formal rules
R1. Setup: 10×10 board.
- Rank 0 (White): `[Tereg, Mori, Temee, Hia_L, Bers, Noyon, Hia_R, Temee, Mori, Tereg]`
- Rank 1 (White): 10 `Khüü` (Pawns)
- Rank 9 (Black): `[Tereg, Mori, Temee, Hia_L, Bers, Noyon, Hia_R, Temee, Mori, Tereg]`
- Rank 8 (Black): 10 `Khüü` (Pawns)
R2. Standard piece movements follow *Mongol shatar* rules: *Noyon* (King, 1 step any dir, no castling), *Bers* (moves orthogonally any distance, diagonally 1 step), *Temee* (diagonal slider), *Mori* (2+1 knight leap), *Tereg* (orthogonal slider), *Khüü* (1 step forward, captures 1 step diagonally).
R3. *Hia* (Bodyguard) movement: A *Hia* piece can move 1 or 2 squares in any direction (orthogonal or diagonal). It cannot jump over intervening pieces.
R4. The *Hia* Influence Zone:
- For every active *Hia* at coordinate `(r, c)`, its influence zone `Z(Hia)` is defined as all board squares `(r', c')` where `max(|r - r'|, |c - c'|) == 1` (the 8 adjacent squares).
- Speed penalty: If an enemy piece starts its turn inside `Z(Hia)` or enters `Z(Hia)`, its movement is immediately clamped to a distance of at most 1 square for that turn.
- An enemy sliding piece cannot slide through `Z(Hia)` in a single turn; it must enter (stopping at the perimeter square) and take single-square steps while inside the zone.
- The enemy *Mori* (Knight) cannot make its normal 2+1 leap into or out of `Z(Hia)`; it is restricted to a 1-square step while within `Z(Hia)`.
R5. Promotion: A *Khüü* reaching the 10th rank promotes to a *Bers* or *Hia*.
R6. Check & Mate: Delivering checkmate against the opposing *Noyon* wins the game.
R7. [gap-fill] Bare King Draw: Capturing all enemy pieces leaving only the bare *Noyon* results in an immediate draw.
R8. [gap-fill] Move cap & repetition: 100 consecutive halfmoves without a pawn move or capture, or threefold repetition of identical board states, results in a draw.
## Edge cases
- Tie at the end condition: Resolved via stalemate, bare king rule (R7), or move cap / threefold repetition (R8).
- A player with no legal move: In check -> loss (checkmate); not in check -> draw (stalemate).
- Repetition / cycles: Bounded by R8 threefold repetition rule.
- Simultaneous claims on the same resource: Not applicable — turns are strictly sequential.
- Player elimination mid-round: Not applicable — 2-player duel.
- Resource exhaustion: Piece capture monotonic reduction; bare king draw ends game cleanly.
- Termination guarantee: Guaranteed by finite board states, piece captures, and R8 draw conditions.
## State representation
- Persistent state: 10×10 board matrix of piece IDs and colors, `active_player` (`WHITE` | `BLACK`), `halfmove_clock`, `turn_counter`, `history_hashes`.
- Per-turn ephemeral state: Computed active influence zones `Z(Hia_White)` and `Z(Hia_Black)`, selected move vector, capture flag.
- Observable information: Fully observable — zero hidden information.
## Action space
- `move(from_r, from_c, to_r, to_c)`: Move piece respecting standard movement geometry and the active *Hia* influence zone speed clamp.
## Playability notes
- Single-player-vs-AI: Natural — fairy chess engine or custom minimax agent.
- Group games (n>4): Not applicable — 2-player board game.
- Physical-skill games: Deterministic strategy.
- What is lost in the adaptation: None — captures the exact 10×10 bodyguard mechanics.
## Implementation hints
Compute the *Hia* influence zones as dynamic bitmasks on every turn. Modify the move generator to query whether `from_square` or any intermediate ray square intersects an enemy *Hia* zone bitmask, truncating ray lengths to 1 step. Milestone 1: implement 10×10 board and Hia movement; Milestone 2: implement zone-of-control speed clamp in move validator.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Hiashatar (Mongolia). (n.d.). Games of Countries. https://gamesofcountries.com/games/mn-mongolia/hiashatar
@misc{gamesofcountries-mn-mongolia-hiashatar,
title = {Hiashatar (Mongolia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mn-mongolia/hiashatar}
}