Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

38 lines (20 loc) · 1.21 KB

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!