Skip to content

rishab96/chessEndGame

Repository files navigation

User interface and public API for probing Syzygy endgame tablebases.

Screenshot of the longest winning 6 piece endgame

Running

Dependencies:

pip install flask
pip install python-chess
pip install tornado # Required for dealing with many
                    # open file descriptors
                    # when serving six-men tablebases.
pip install htmlmin # Recommended.

npm install -g grunt-cli
npm install

Create combined JavaScript and CSS files using Grunt:

grunt

Start the server on port 5000:

python server.py

Syzygy tablebase files

Only the small four-men tablebases are in this Git repository. Optionally generate or download five-men and six-men tablebases and place them in the corresponding directories.

Gaviota tablebases

Optionally build and install libgtb and download Gaviota tablebase files. Put them into the gaviota directory.

API

See https://syzygy-tables.info/apidoc for information about the JSON API.

Hacking

Have a look at server.py for server side code. The client side code is in static/js/client.js.

License

This project is licensed under the GPLv3 with the following dependencies:

Thanks to all of them and special thanks to Ronald de Man for his endgame tablebases!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published