This project is a custom pygame implementation of the old flash game Hex Empire. This game is between 4 players on a hex board that take turns moving armies around the board to capture towns and eventually your opponent's capitals.
To run this project, you first need to edit the font that pygame uses in the main.py file. Then run:
python main.py
- Make the options for the game editable through an interface
- Run evolutionary algorithm to determine the best values for the CPU players
- Tasks in the
plan.txtfile
Set up a Python virtual environment and install dependencies (tested on macOS with zsh):
# create venv and install
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# alternatively run the helper script
bash scripts/setup_env.sh
Notes:
- This project requires
pygameandnumpy(listed inrequirements.txt). - The
scripts/setup_env.shscript will create or reuse.venv, upgradepip, and install fromrequirements.txt.