Regicide

Regicide

A checkers engine built to dethrone Cake and KingsRow.

It plays 8×8 English checkers with a neural network, a deep selective search and endgames it has solved itself. Free and open source, for CheckerBoard and the terminal.

Version 1.0.0, with downloads for Windows, macOS and Linux, is coming soon. MIT license.

KingsRow plays 23-27 (move 30)

The one game KingsRow lost in the release-candidate validation: Regicide plays white, half a second a move. Kings wear the crown.

936 games against the best. Not one lost.

Before release, Regicide played every one of the 156 standard three-move openings from both sides against the three strongest checkers programs we could run: Cake, KingsRow and GuiNN. At this level checkers is mostly a draw, so the question is who slips. Regicide never did.

Cakeversion 1.89f

0won312drawn0lost

KingsRowversion 1.20

1won311drawn0lost

GuiNNversion 2.06

23won289drawn0lost

Half a second per move on one thread, both sides with their opening books and endgame databases, CheckerBoard's rules for draws and claims. Measured on the release candidate; every game is on GitHub, and the evidence sheet explains what each result does and does not show.

Four things it knows

Each part is built and tested in-house, from the move generator to the endgame tables.

A deep, selective search

Alpha-beta search that spends its time on the moves that matter: it extends forcing lines, trims hopeless ones, sees repetitions and CheckerBoard's no-progress draw coming, and splits the work over every core you give it.

Plays to CheckerBoard's clock

A neural network for judgement

An efficiently updated neural network (NNUE) scores each position, with fast vector code for x86 and ARM processors. It learned from the games Regicide played against itself.

Trained on millions of its own games

Every small ending, solved

Its own endgame database knows the result of every position with eight pieces or fewer, and a conversion search plays a won ending out to the actual win instead of drifting into a draw.

199 of 200 won 7-piece endings converted

An opening book that remembers losses

Analysed opening lines built into the engine, plus 5 moves that once lost games. Regicide never plays them again.

Over 88,000 book positions

Download

Version 1.0.0 is coming soon, as an engine for CheckerBoard and as a terminal program. Until then, you can build it from source.

Windows, macOS and Linux

In a terminal

Prebuilt files come with version 1.0.0. Today, build it with CMake and a C++26 compiler:

$ git clone https://github.com/AdminGodZ/Regicide
$ cd Regicide
$ cmake -S . -B build -G Ninja
$ cmake --build build
$ ./build/regicide

Endgame database, 2 to 8 pieces. At about 11 GB it is not part of the download yet. Regicide plays well without it; with it, it never misplays a small ending. You can generate it yourself with egdb_gen.

How to build it