Sample solution for the packaging exercise in the RSE course
To install in a virtual environment:
python -m venv venv
source venv/bin/activate
pip install .
Run a single game:
treasure examples/dungeon.yml
Compute outcome probabilities:
treasure dungeons/example.yml -n 1000
Check treasure --help
for other options.
Install development dependencies and run tests:
pip install '.[dev]'
pytest