Graphical User Interface

docker compose upLast updated
We provide a docker-compose.yml with everything needed to play and watch games (useful for debugging). It contains all the web-server infrastructure needed to render a game in a browser.

To use, ensure you have Docker Compose installed, and run (from this repo's root):
docker compose upYou should now be able to visit http://localhost:3000 and play!
You can also (in a new terminal window) install the [web] subpackage and use the --db flag to make the catanatron-play simulator save the game in the database for inspection via the web server.
The link should be printed in the console.
A great contribution would be to make the Web UI allow to step forwards and backwards in a game to inspect it (ala chess.com)!
Last updated
pip install .[web]
catanatron-play --players=W,W,W,W --db --num=1