DiceWars is a (quite addictive) quick game, inspired by the Risk board game. It mixes strategy and luck, the objective is to conquer all areas on a map by dice rolls.
dicewars implements the logic (the backend) that is required to create playable game GUIs (the frontends) and (multi player) game servers in Python.
See the Documentation for more information and API Reference.
dicewars is pure Python (>=3.7), has no external dependencies and is distributed under the terms of the GPLv3+.
dicewars is available on The Python Package Index:
$ pip install dicewars
Get the source code. In the top-level directory:
$ pip install .
# or
$ python setup.py install
To build the documentation locally:
$ cd doc
$ pip install -r requirements.txt
$ make html