Graphical User Interface
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 up
You 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.
pip install .[web]
catanatron-play --players=W,W,W,W --db --num=1
The link should be printed in the console.
Last updated