장기 · JANGGI

References & credits

A game with a long history, made possible here by a generous community. Thank you to the players, writers and open source contributors whose work helped us build it.

View the source on GitHub

Janggi by Neil Armstrong · MIT licence

Rules & match formats

Janggi has more than one tradition of play. In this app, Casual lets a called bikjang end in a draw. Scored adds conditions and settles it on points. These formats are our reading of the sources below, whose accounts of bikjang, repetition and passing do not always agree.

Opening arrangements & variants

Names for horse and elephant arrangements can change with the writer’s viewpoint. We compared diagrams, move lists and Korean terminology to settle the app’s opening names and its descriptions of facing and crossed elephants.

The computer opponent

Thank you to Fabian Fichter and the Fairy-Stockfish and Stockfish contributors for the engine behind the bot. This app checks every move against its own rules before playing it. The displayed bot strengths are nominal Elo, calibrated on chess, not janggi.

Open source software & tools

The app and its development tools are built on the work of these projects and their contributors. Related packages are credited together below, with links to their source and licence terms.