Pandemic Simulator (Scratch)

A colleague emailed me a link to a Scratch project where somebody had done a pandemic simulator so I thought I would have a try. I liked the idea but I wanted to have a go but coding from ‘scratch’ (no pun intended).

Here’s my little simulator. Click the green flag to start and reset. Adjust the sliders to set rate of movement for infected and uninfected, recovery time and the number of nodes. Click the central node to begin the simulation. Can click other nodes during simulation to infect them. A graph of number of nodes infected over time is drawn.

Leave a Reply