THE ENGINE

Any game. Any topology. Zero game-specific code

313 playable variants across 30 families. Pure ES modules, MIT licensed, zero dependencies. The foundation everything else is built on.

313
playable variants
30
game families
125
piece sets
11
terrain tiles
6881
passing tests
MIT
licence

30 game families. One unified engine

149 variants

Chess

Every chess variant, one engine

→
24 variants

Shogi

Japan's classic strategy game where captured pieces change sides

→
20 variants

Draughts

The world's oldest family of capture games

→
20 variants

Standard 52-Card Deck

Every game a standard deck of cards can play

→
12 variants

Go

Four thousand years of emergent complexity from one rule

→
9 variants

Xiangqi

Ancient Chinese chess: cannon fire, palace tactics, and the river divide

→
8 variants

Backgammon

Five thousand years of race, risk, and probability

→
8 variants

Hex

Connect your two edges across a diamond of hexagons

→
8 variants

Mancala

The world's most-played family of count-and-capture games

→
7 variants

Nine Men's Morris

The ancient mill game, played on stone, cloth, and wood across five continents

→
5 variants

Mahjong

A tile-matching game of skill, strategy, and fortune

→
5 variants

Standard Dice

Games built on standard six-sided dice

→
5 variants

Stern-Halma

Race across the star board to claim the opposite point

→
4 variants

Double-Six Dominoes

Match the pips, build the chain, score the ends

→
4 variants

Flower 48

Japanese flower cards: 12 monthly suits, 48 cards

→
4 variants

Tafl

King against the horde: asymmetric Norse strategy games of the Viking Age

→
3 variants

Pachisi

The ancient Indian race game behind Ludo, Sorry!, and Trouble

→
3 variants

Reversi

Flip your opponent's discs to claim the board

→
2 variants

Asalto

Officers defend a fortress against a siege of soldiers

→
2 variants

Bavarian 32-Card Games

Trick-taking games for the 32-card Skat deck

→
2 variants

Halma

Race your pieces across the board before your opponent

→
1 variant

Agon

Guide your Queen to the centre of a 91-hex board

→
1 variant

Chaupar

The ancient Indian game of the Mahabharata: three long dice, super-pieces and split throws

→
1 variant

Dou Shou Qi (斗兽棋 / Jungle)

Animals battle across rivers and traps to reach the enemy den

→
1 variant

Fanorona

The national game of Madagascar: capture by approach and withdrawal

→
1 variant

Nyout (유놓이 / Yut Nori)

Korean stick-throwing race across a circular track

→
1 variant

Royal Game of Ur

The oldest known board game: reconstructed from 4,500-year-old clay tablets

→
1 variant

Senet

Ancient Egyptian race game (c. 3500 BCE), reconstructed from archaeological evidence

→
1 variant

Surakarta

The loop-capture game of Java: capture through the corner arcs

→
1 variant

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

OPEN SOURCE

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.