(Temporary name.)
[auto_chess/] defines a simple auto-chess game, where two players select teams of monsters, which then battle each other automatically until one player's monsters are all dead.
Instructions for defining new cards by subclassing Card
are in [auto_chess/init.py].
[analysis/] defines a generic framework for computing or approximating the Pareto frontier of a deckbuilding game. It includes machinery for using Pathos for multiprocessing to parallelize computation.
Install pipenv
pip install pipenv
Install from Pipfile
pipenv install
pipenv install -d # install dev packages
Activate virtual environment
pipenv shell
Add a dependency to Pipfile
pipenv install <package>
Phoebe wrote a beautiful test script which will run mypy
(the static type checker),
pytest
(the unit tester), and flake8
(the style checker). Run with:
pipenv run test