30 game families. One unified engine
Chess
Every chess variant, one engine
→Shogi
Japan's classic strategy game where captured pieces change sides
→Draughts
The world's oldest family of capture games
→Standard 52-Card Deck
Every game a standard deck of cards can play
→Go
Four thousand years of emergent complexity from one rule
→Xiangqi
Ancient Chinese chess: cannon fire, palace tactics, and the river divide
→Backgammon
Five thousand years of race, risk, and probability
→Hex
Connect your two edges across a diamond of hexagons
→Mancala
The world's most-played family of count-and-capture games
→Nine Men's Morris
The ancient mill game, played on stone, cloth, and wood across five continents
→Mahjong
A tile-matching game of skill, strategy, and fortune
→Standard Dice
Games built on standard six-sided dice
→Stern-Halma
Race across the star board to claim the opposite point
→Double-Six Dominoes
Match the pips, build the chain, score the ends
→Flower 48
Japanese flower cards: 12 monthly suits, 48 cards
→Tafl
King against the horde: asymmetric Norse strategy games of the Viking Age
→Pachisi
The ancient Indian race game behind Ludo, Sorry!, and Trouble
→Reversi
Flip your opponent's discs to claim the board
→Asalto
Officers defend a fortress against a siege of soldiers
→Bavarian 32-Card Games
Trick-taking games for the 32-card Skat deck
→Halma
Race your pieces across the board before your opponent
→Agon
Guide your Queen to the centre of a 91-hex board
→Chaupar
The ancient Indian game of the Mahabharata: three long dice, super-pieces and split throws
→Dou Shou Qi (斗兽棋 / Jungle)
Animals battle across rivers and traps to reach the enemy den
→Fanorona
The national game of Madagascar: capture by approach and withdrawal
→Nyout (유놓이 / Yut Nori)
Korean stick-throwing race across a circular track
→Royal Game of Ur
The oldest known board game: reconstructed from 4,500-year-old clay tablets
→Senet
Ancient Egyptian race game (c. 3500 BCE), reconstructed from archaeological evidence
→Surakarta
The loop-capture game of Java: capture through the corner arcs
→The Landlord's Game
Elizabeth Magie's 1904 economic satire — five variants spanning the game's full history from patent to Prosperity
→Architecture
Pure ES modules
Zero dependencies. No build step required. Import what you need directly from source, one package at a time.
Eight topologies
Grid, Hex, Track, Pit, Graph, Tableau, Hexagonal Trisection, and Triangular. Any board shape, from standard 8x8 to hex galaxies, race tracks, and card tableaux.
Pluggable AI
Minimax with alpha-beta pruning and Monte Carlo tree search. Five difficulty tiers. Family-agnostic: the same engine evaluates chess, draughts, and Go positions.
SVG renderer
Server-side and client-side rendering. Recolorable pieces. Theme-agnostic boards. Export as PNG or embed as live interactive widgets.
Embed SDK
Drop-in iframe widgets with postMessage bridging. Mount a playable board in any web page with three lines of code.
6881+ tests
Move generation, AI evaluation, rendering pipeline, FEN parsing, variant rules. Every family, every topology, every edge case.
Asset library
Piece sets
125 recolorable SVG piece sets spanning chess, draughts, shogi, xiangqi, Go, and abstract traditions.
→Board layouts
Downloadable board diagrams for every supported variant. SVG and PNG export. Custom colours and grid overlays.
→Hex tiles
11 terrain and game tiles for hex map generation. Four styles, procedural placement, field-of-view and pathfinding.
→Fork it. Embed it. Extend it
MIT licensed. Published as importable ES modules. Used by the tools API, three original games, and seven community mods. The engine powers everything in this ecosystem.