Score keeping software for Carcassonne to facilitate statistical analysis of games.
Before your first game you will need to initialize the sqlite database:
$ python manage_database.py --init
Assuming the database has been initialized, you can run a game with:
$ python CarcassonneScore.py
This launches the interactive shell. Press ? for a list of commands.
To update the database (add new players toggle availability of expansions), use the manage_database.py command. For example, to add a new player:
$ python manage_database.py -n NEW PLAYER
Use python manage_database.py -h to see the full list of options.
A sample analysis jupyter notebook and a sample sqlite database containing one game is available in the analysis/ directory.
The utilities/ directory contains scripts which may be useful for correcting issues, but these should not be needed for normal operations.