User interface and public API for probing Syzygy endgame tablebases
JavaScript Python HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
etc/systemd/system
static
stats
templates
.gitignore
Gruntfile.js
LICENSE Switch to AGPLv3 license Oct 26, 2016
README.md update readme May 17, 2018
config.default.ini
favicon.ico
favicon.png Add favicon.png Oct 31, 2017
package-lock.json
package.json
requirements.txt
screenshot.png
server.py forward error from backend Jul 1, 2018
tox.ini Configure flake8 using tox.ini Dec 25, 2015

README.md

syzygy-tables.info

User interface and public API for probing Syzygy endgame tablebases.

Screenshot of the longest winning 6 piece endgame

Running

Install dependencies (with Python >= 3.5.3):

pip install -r requirements.txt

Node.js:

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

You can optionally copy config.default.ini to config.ini and adjust configuration variables. etc contains configuration examples for nginx and a systemd service.

API / Backend

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

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 AGPLv3 with the following dependencies:

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