Mouradost / PygameSimulation

An ensemble of games and simulations using pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulations

This is an ensemble of scripts using PyGame.

List of simulations

  • Covid-19 : is a basic simulation for Covid-19 contagion.

    Covid-19 simulation Covid-19 results

  • Covid-19 : is an advance simulation for Covid-19 contagion.

    • It takes in consideration the mortality rate.
    • Adds some randomness to the likelihood of fatal infections.
    • Adds randomness margin to the recovery time.
    • Better handling of collisions.
    • Add walls so it can be an enclosed environment.

    Covid-19 simulation Covid-19 results

  • Dum AI : is an simple AI simulation.

    • Choose a random action.
    • Change it action based on the time spend without reward.
    • Keep taking the same action while getting reward.
    • The time spend without depends on its' tolerance.

    AI simulation AI results

List of games

  • Eat me : is a game where you use your mouse to eat the blobs. Game eat me

Requirement

  • Pygame
  • Pymunk
  • Matplotlib
  • Pandas
  • Numpy

About

An ensemble of games and simulations using pygame

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%