A simulation of city building using genetic algorithms.
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
# On macOS/Linux
source .venv/bin/activate
# On Windows
.venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
There are two main Python files:
- Run the genetic algorithm simulation:
python GA.py
- Run the main city simulation:
python main.py
The project requires:
- numpy
- pygame
These are listed in the requirements.txt file with their specific versions.