Skip to content

colin-cannell/simcitybuildit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimCityBuildit

A simulation of city building using genetic algorithms.

Setup

  1. Create a virtual environment:
python -m venv .venv
  1. Activate the virtual environment:
# On macOS/Linux
source .venv/bin/activate

# On Windows
.venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Running the Code

There are two main Python files:

  1. Run the genetic algorithm simulation:
python GA.py
  1. Run the main city simulation:
python main.py

Dependencies

The project requires:

  • numpy
  • pygame

These are listed in the requirements.txt file with their specific versions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages