kevan.org/proce55ing/zombies -> kevan.org/proce55ing/zombies/
Kevan Davis, Aug 03 Zombies are grey, move very slowly and change direction randomly and frequently unless they can see something moving in front of them, in which case they start walking towards it. If a zombie finds a human directly in front of it, it infects them; Humans are pink and run five times as fast as zombies, occasionally changing direction at random. If they see a zombie directly in front of them, they turn around and panic. Panicked humans are bright pink and run twice as fast as other humans. If a human sees another panicked human, it starts panicking as well.
|