In a rectangular world, there are cells and two types of agents: sick people and healthy people. Initially, and each time the model is reset, the world is created. A certain number of sick and healthy people are randomly placed in the cells. At no point during the simulation can two agents occupy the same cell. The state of the model is initially drawn on the screen.
During each time step of the simulation,
The simulation runs indefinitely, until the stop button is clicked.