In a rectangular world, there are cells and three types of agents: healthy trees, burning trees, and burnt trees. Initially, and each time the model is reset, the world is created. The world is filled with healthy trees at the start of each world. 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 until the stop button is clicked or until all the trees have stopped burning.