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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
KingsRow resignedafter move 30, with Regicide playing white
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
DrawRegicide wonEach square is one game, in the order they were played.
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
For CheckerBoard
The engine as a CheckerBoard plug-in, with its opening book and neural network built in.
Unzip it into a folder of its own.
In CheckerBoard, open the Engine menu, choose Select and pick the Regicide DLL.
Optional: put Regicide's endgame database in a folder named egdb beside the DLL.
Coming with version 1.0.0
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:
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.