A scorekeeping program for the board game Carcassonne

George C. Privon ad2ee4efbc use config file to locate database 8 anos atrás
analysis e7cb19661e add missing axis label, ensure in/post game plots have same colors for score types 8 anos atrás
.gitignore fc1b9656aa start extracting parameters to a configuration file 7 anos atrás
CHANGELOG.md 67c90994fe v0.3.3 release, add dates to changelog 8 anos atrás
CarcassonneScore.conf.example fc1b9656aa start extracting parameters to a configuration file 7 anos atrás
CarcassonneScore.py ad2ee4efbc use config file to locate database 7 anos atrás
LICENSE 7f294aa55a GPL3 license 8 anos atrás
README.md 5db31e9b37 merge database routines into a single script 8 anos atrás
cgame.py ad2ee4efbc use config file to locate database 7 anos atrás
manage_database.py fc1b9656aa start extracting parameters to a configuration file 7 anos atrás

README.md

Carcassonne Score keeping

Score keeping software for Carcassonne to facilitate statistical analysis of games.

Requirements

  • python 3 (tested under python 3.6.x)
  • numpy
  • matplotlib (for analysis scripts)

Usage

Before your first game you will need to initialize the sqlite database:

$ python manage_database.py --init

Score keeping

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.

Database Maintenance

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.

Analysis

A sample analysis jupyter notebook and a sample sqlite database containing one game is available in the analysis/ directory.