Gridlock Gurus is a city simulation project that models complex urban dynamics and interactions among citizens, infrastructure, transportation systems, and government policies. The project uses C++ and Google Test for testing, with a focus on modular architecture and design patterns to simulate a city environment.
This simulation offers a simplified yet interactive model of a bustling city, enabling experimentation with infrastructure planning, taxation policies, transportation networks, and citizen satisfaction.
- Citizen Management: Manages citizens’ attributes and their interactions within the city.
- Tax System: Implements a flexible taxation system to dynamically impact citizen satisfaction and city revenue.
- Transportation Network: Models transit options.
- Government Departments: Includes departments like Home Affairs and Tax Authority, handling city governance and citizen oversight.
- CMake 3.10 or higher
- A C++17-compatible compiler
- Google Test library
Clone the project
git clone https://github.com/COS214-Project-2024/Gridlock-Gurus
cd GridlockGurusCreate Build Directory
mkdir build
cd buildGenerate the build files with CMake
cmake ..Compile the project
makeRun executable
./mainClone the project
git clone https://github.com/COS214-Project-2024/Gridlock-Gurus
cd GridlockGurusCreate Build Directory
mkdir build
cd buildGenerate the build files with CMake
cmake ..Compile the project
makeRun tests
./tests