This app is a simple setup script for determining the initial game state of a game of Twilight Imperium. It deals out randomized home systems and races to each player, as well as choosing the initial speaker.
Pax Magnifica Bellum Gloriosum.
There are no dependencies aside from Python 3.8. Execute the main.py file. The CLI utility has prompts to guide you.
Just run and play.
Twilight Setup uses a two-round random draft with a mulligan.
- Start by providing the names of each of your players, and giving a name to each start position around the galaxy.
- Each player will be dealt a random start position, and two random races.
- Each player chooses one race to discard, and one to keep.
- Each player is dealt a new race to replace their discarded race. No player will be re-dealt their discarded race, but you may be dealt the discarded races of others.
- The speaker is revealed at this time.
- Players pick their final race choice.
This project uses Poetry for building and dependency management. You will need to install poetry first. Then simply run:
poetry install
poetry run pre-commit install