Implement a simulation model of the Omsk subway and calculate the optimal number of trains.
- Animated GUI (using pygame)
- Change simulation speed (press 1, 2, 3, 4)
- Various train models (F1, F2)
- Minecraft music (F3, F4)
git clone https://github.com/AlexeyZavar/pum_practice6
cd pum_practice6
# setup virtual environment
python -m venv venv
pip install -r requirements.txt
# run gui
python main.py
main.py
Entry point.
consts.py
Just a bunch of constants.
simulation.py
Simulation by itself.
visualization.py
Ugly visualization using pygame.
- C418 for Minecraft music
- Google Fonts for Montserrat
- Some random site for MinecraftRegular
- Icons8 for
icon.png, train.png, train-old.png