A scorekeeping program for the board game Carcassonne

George C. Privon c032a8a7ac update changelog 8 лет назад
analysis b43c91bea7 various analysis example updates 8 лет назад
.gitignore 0c5683c48b ignore swap files 8 лет назад
CHANGELOG.md c032a8a7ac update changelog 8 лет назад
CarcassonneScore.py e078b89d53 add Monastery score type. bump version number 8 лет назад
LICENSE 7f294aa55a GPL3 license 8 лет назад
README.md 9188ed7b8f update requirements and note analysis addition in changelog 8 лет назад
cgame.py e40ca0fe14 define a global time format string. this should be abstracted to a config file so the analysis script can access it 8 лет назад
create_database.py 661037cc6f enable additional scoring types for expansions 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 initalize the sqlite database:

$ python create_database.py

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.

Analysis

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