Starting Gungi… If this message stays on screen, this viewer is not running JavaScript. On iPhone: open index.html in Safari via Files → Share → Open in Safari (chat/Files previews leave the board blank). On Android: open it in Chrome. The game works offline; no internet needed.

軍儀 Gungi

New game

Display

movestack 付capture 取betray 返unsafe
Starting… If pieces never appear, open this file in Safari or Chrome — not a chat or Files preview.
—

Tower inspector

Hover or click a square.

Move log

Piece explorer

Click a piece to see where a White piece on the centre square can move at tiers 1, 2 and 3 (computed live by the game engine; Black mirrors this).

About

A single-file, offline Gungi (軍儀) game. The rules are a faithful port of gungi.js v3.4.11, the open-source engine behind gungi.io, verified move-for-move against it (7,000+ positions in the saved runs, over 1 million generated moves, including tower captures, leaps and betrayals). Bots and engine are plain JavaScript; the stronger bots run in a Web Worker so the board never freezes.

Bot levels: 1 Hunter Exam (random) · 2 Rookie Hunter (greedy) · 3 Royal Guard (alpha-beta depth 2 + quiescence) · 4 Netero (iterative deepening, TT, ~1.5 s) · 5 Meruem (same, ~5 s) · 6 Komugi (stronger search and evaluation, ~5 s).

Phone tip: the game is a single HTML file and needs a real browser tab. On iPhone, chat and Files previews show the layout but do not run JavaScript, so the board stays empty — use Share → Open in Safari. On Android, open the file in Chrome.

Made for Daniel, nya.