Skip to content

youvsvirus/youvsvirus-game

master
Switch branches/tags
Code
This branch is 20 commits ahead of Davknapp:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

YouVsVirus-game

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.

Versions and dependencies:

  • 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´

How to run the simulation

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.

Repo structure and coding style

  • 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

Smiley pictures

About

A 2D game to simulate your effect on spreading the Covid-19 virus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%