We aim to develop a simulation for the virus, challenge 0307
There are already multiple simulation approaches that illustrate and explain the spread of the coronavirus. These approaches are to be expanded to include the possibility of simulating the effects of one's own actions on the course of the pandemic. Users can simulate their real or fictitious behaviour and get a reaction how this effects others.
Currently a python version is implemented that can be executed locally. We are working on an implementation in javascript that can be directly integrated in our homepage www.youvsvirus.de.
- Python version: 3.8
- pygame>=1.9.6
- numpy>=1.18.2
Recommended: Create a virtual environment (e.g. using conda) and install all requirements using ´pip install -r requirements.txt´
In the 'python-implementation' directory just execute the youvsvirus.py file with python:
python3 youvsvirus.py
or
python youvsvirus.py
And then use the arrow keys to escape the virus.
- Every class gets its own file in the classes folder or a subfolder of the classes folder
- Additional ressources (images, audio, ...) should be put in the res folder
- Please see the file Coding guidelines
- myselfSeriouslyInfected.png: Bild von Vektor Kunst iXimus auf Pixabay
- mySelfInfected.png Bild von Nina Garman auf Pixabay
- infected2.png: Bild von OpenClipart-Vectors auf Pixabay
- dead2.png: Modified color, taken from publicdomainvectors
- healthy.png: Smiley PNG under License: Creative Commons 4.0 BY-NC
- infected.png Smiley PNG under License: Creative Commons 4.0 BY-NC
- myself3.png: afraid purple smiley from pixcove
- map.png: Daten von OpenStreetMap - Veröffentlicht unter ODbl