Skip to main content
Formal Specification

Korean Chess (DPRK Rules) — Formal Specification

North Korea · board-abstract · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 2
# Joseon Janggi — AI-optimized specification ## General idea A deterministic abstract board game played on a 9×10 grid of intersections with 32 pieces. Opposing commanders navigate Chariots, leaping Cannons, diagonal-stepping Horses and Elephants, Guards, and Soldiers to checkmate the enemy General inside a 3×3 palace, featuring unique rules allowing turn passing (*Han-su swim*), the DPRK *Gidongcha* opening formation, and facing-king draw/point resolution (*Bigjang*). ## Formal model - **Abstraction taken:** None; formalizes the complete discrete movement rules of Korean Janggi with DPRK tournament conventions. - **Player/agent count:** 2 players (Green/Blue vs. Red). - **Turn model:** Sequential alternating turns, with legal `pass` action permitted. ## Formal rules R1. Setup: 9×10 grid (90 points). Green and Red deploy 16 pieces each on standardized initial rank positions. Prior to move 1, players choose their Horse/Elephant formation from `{MSMS, SMSM, MSSM, SMMS, Gidongcha}`. R2. On a turn, the active player must select exactly one legal move: either moving/capturing with one friendly piece or executing a `pass` turn. R3. Legal piece moves: - **General/Guard:** 1 step orthogonally within palace; along palace diagonals if on diagonal lines. - **Chariot:** Any distance along open orthogonal lines; travels along palace diagonals within either palace. - **Cannon:** Moves/captures by jumping exactly one non-Cannon piece along orthogonal lines or palace diagonals; cannot jump or capture another Cannon. - **Horse:** 1 orthogonal step + 1 diagonal step outward (blocked if orthogonal point is occupied). - **Elephant:** 1 orthogonal step + 2 diagonal steps outward (blocked if first orthogonal or first diagonal point is occupied). - **Soldier:** 1 step forward or laterally sideways; 1 step along forward diagonals within enemy palace. R4. Checkmate condition: If an agent's General is under direct attack and no legal move (escape, block, or capture) exists, the attacking agent wins immediately. R5. Facing Kings (*Bigjang*): If the board state leaves Generals facing on the same open vertical line with no intervening pieces, the moving player may claim *Bigjang*. In DPRK scoring, this triggers an immediate piece-value evaluation: `Cha=13, Po=7, Ma=5, Sang=3, Sa=3, Jol=2` (Red receives +1.5 komi). The side with higher points wins. R6. [gap-fill] Threefold repetition: If an identical board state occurs three times with the same player to move without captures, the match transitions to piece point adjudication. R7. [gap-fill] Move limit: If 200 full moves elapse without checkmate, the game terminates and is scored by remaining piece point totals. ## Edge cases - **Tie at the end condition:** Prevented by the half-point komi (+1.5 for Red) during point adjudication. - **A player with no legal move:** A player may pass (`Han-su swim`). If both players pass consecutively, the game ends and points are tallied. - **Repetition / cycles:** Resolved by R6 (threefold repetition triggers point evaluation) and R7 (200-move limit). - **Simultaneous claims on the same resource or position:** Not applicable (strictly sequential turns). - **Player elimination mid-round:** Not applicable (2-player game). - **Resource exhaustion:** Captured pieces are permanently removed from play. - **Termination guarantee:** Provably terminates within 200 moves by R7. ## State representation - **Persistent state:** `board[9][10]` (storing piece type and owner), `turn_count`, `consecutive_passes`, `repetition_history`. - **Observable information:** Fully observable perfect-information game. ## Action space - `move(from_pos, to_pos)`: Move piece from coordinate to legal destination. - `pass()`: Forfeit active turn. - `claim_bigjang()`: Declare facing kings resolution. ## Playability notes - **Single-player-vs-AI:** Highly engine-ready; compatible with standard Alpha-Beta or Minimax chess engines. - **Group games (n>4):** Not applicable (pure 2-player abstract). ## Implementation hints Standard grid representation. Implement bitboards or 2D array coordinates. Pay special attention to the Cannon's unique jumping restrictions and the Elephant's two-point path blocking check.

Download as JSON

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

Download JSON
Cite this page

Joseon Janggi (North Korea). (n.d.). Games of Countries. https://gamesofcountries.com/games/kp-north-korea/joseon-janggi

@misc{gamesofcountries-kp-north-korea-joseon-janggi,
  title = {Joseon Janggi (North Korea)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kp-north-korea/joseon-janggi}
}