Context : Second year project
Class : Operating Systems
Year : 2020-2021
Students :
- Sarah Brood [email protected]
- Thomas Savignac [email protected]
A simple project simulating an epidemic.. a topical one ! The project is developped in C.
Be sure to have ncurses and gnuplot installed.
Build and run the project
./play_simulation
Make to build all executables
make
Clean everything
make clean # to clean everything
make mrproper # to clean exes
pay attention to the order
./bin/timer &
./bin/epidemic_sim &
./bin/press_agency &
./bin/citizen_manager
- You like the action and the city is too calm ? Sorry but firefighters and doctors are too good for you or the seed of intial contamination was too small, try again !
- You are notified about who dies in the death notice.
- To see more, put in full screen.
- Wait for the end to see a graphic representating the entire simulation
symbole | building |
---|---|
H | hospital |
F | firestation |
^ | house |
color | tile contamination rate |
---|---|
<0.1 | |
<0.3 | |
>0.3 |
- Some of the content is from Alain Lebret's github and his class
- We used stackoverflow
- Learned a little ncurses thanks to NCURSES Programming HOWTO
Free Software, Hell Yeah!