Skip to content

lackita/ZombieSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulating a Zombie Invasion

Question: how quickly would the infection spread if zombies invaded? Obviously it's important to understand the answer, so the problem should be simulated.

Here are the rules for how this program behaves:

  • Humans are black dots
  • Zombies are green dots
  • Humans change to zombies if zombies touch them
  • If a human gets close to a zombie, it runs away from it
  • If a zombie gets close to a human, it walks towards it
  • All other movement is random

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages