A scorekeeping program for the board game Carcassonne

George C. Privon 9faf1cc74e another analysis script. v0.3.4 7 年 前
analysis 2445230fa6 single player analysis across multiple games 7 年 前
.gitignore 0c5683c48b ignore swap files 8 年 前
CHANGELOG.md 9faf1cc74e another analysis script. v0.3.4 7 年 前
CarcassonneScore.py 9faf1cc74e another analysis script. v0.3.4 7 年 前
LICENSE 7f294aa55a GPL3 license 8 年 前
README.md 2445230fa6 single player analysis across multiple games 7 年 前
cgame.py d6e952fde2 check validity of player IDs when scoring. fixes #14 8 年 前
manage_database.py ff2e0c9d2e bugfix in manage_database.py. bump version 8 年 前

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

Some jupyter notebooks with sample analysis and a sample sqlite database containing one game is available in the analysis/ directory.