Forest Fire Model

This program models the spread of a forest fire. When the model is loaded, trees will be randomly spawned. When a user clicks on any tree, that tree will burn. As time passes, trees within a certain distance from a burning tree will burn with some percent chance. After some time, a burning tree (red) will become a burnt tree (black). When the user clicks on the Spawn Firefighters button, blue squares, representing firefighters, will move randomly starting from the top-left corner of the forest. If a firefighter is within a certain distance from a burning tree, the tree will become extinguished (purple).
HLD Document (requires Shodor account)