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 dependencies with Python (>= 3.8) and pipenv:

PIPENV_VENV_IN_PROJECT=1 pipenv install

Then start the server on port 5000.

PIPENV_VENV_IN_PROJECT=1 pipenv run server

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!

About

User interface and public API for probing Syzygy endgame tablebases

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project