hobbieschess

Endgame Tablebases and Opening Book

Typhoon has an opening book of over 3 million positions based on about 600,000 expert human games in PGN format. Since I don't know much about opening theory, the book structure can learn from the results of games played with particular lines — each line has an adjustable weight, and a line can be tagged always/never-play. The opening library code lives in book.c.

For endgame tablebases, Typhoon now uses Fathom syzygy tables (it originally used Eugene Nalimov's EGTB format). Syzygy tables report WDL (win/draw/loss) and DTZ (distance to the next fifty-move-rule-zeroing move), not DTM (distance to mate) — worth knowing if you're staring at a score that looks like a mate distance near the fifty-move mark and it isn't one. Typhoon also has a few simple interior-node recognizers for things like wrong-colored-bishop endgames and trivially won KP-vs-K positions.

endgame-book.html was last updated 2 December 2026 and is Copyright © 2002–2026 by Scott Gasch (scott.gasch@gmail.com).