Skip to content

EPD opening book generation and filtering for chess and chess variants

License

Notifications You must be signed in to change notification settings

skystarspython/bookgen

 
 

Repository files navigation

bookgen

EPD opening book generator based on Fairy-Stockfish.

Bookgen extends Fairy-Stockfish by the possibility of automatically generating opening books for all supported chess variants, including Chess, Xiangqi, Shogi, Crazyhouse, Antichess, Atomic, etc.

Several methods for generation and filtering of positions in FEN format are supported to adapt the book to specific requirements. The generation can be based on perft and multipv searches. The filtering supports a variety of options to define the criteria for evaluation of positions to be included. The output format is EPD. See the Wiki for documentation and usage examples.

Built binaries for Windows and Linux can be downloaded from the releases. Development versions can be downloaded from the release workflow (requires logging in to github).

Instead of downloading it, you can also use the online book generator (code), which uses the WebAssembly port.

There are separate (older) versions based on specialized variant forks, such as official Stockfish, multi-variant Stockfish, Seirawan-Stockfish, Shatranj-Stockfish, and Makruk-Stockfish that can be found on the respective branches, but the Fairy-Stockfish based version supports all of these variants as well.

Also see the Fairy-Stockfish repository for more info.

About

EPD opening book generation and filtering for chess and chess variants

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.7%
  • Python 4.0%
  • JavaScript 3.6%
  • Makefile 2.2%
  • Shell 1.5%
  • C 1.0%