Skip to content

niklasf/syzygy-tables.info

Repository files navigation

User interface and public API for probing Syzygy endgame tablebases.

Screenshot of the longest winning 6-piece endgame

Running

Build JavaScript and CSS files. Requires node.js and npm:

npm install

Install Python dependencies with poetry:

poetry install

Then start the server on port 5000.

poetry run python -m syzygy_tables_info

You can optionally copy config.default.ini to config.ini and adjust configuration variables.

API

This website is based on a public API hosted by lichess.org.

Hacking

Have a look at syzygy_tables_info for server side code.

The client side code is in src/main.ts. Run npm run prepare to rebuild.

License

This project is licensed under the AGPL-3.0+.

Thanks to the maintainers of all dependencies and special thanks to Ronald de Man for his endgame tablebases!