Trees grow on their own. Lightning strikes at random. Fire jumps from tree to neighboring tree. That's the whole forest-fire cellular automaton, and you're the ranger!
Move your ranger hat with the arrows (or tap the forest) and press Space to use a tool. 🌱 Plant seeds a patch, 🪓 Firebreak clears a gap fires can't cross, and 🌧️ Rain douses a big area and soaks it for a while (limited clouds). Keep the forest at 40% or more through each of 5 seasons. Every season brings more lightning and wind!
Press Enter to start. P or Esc pauses. Keys 1 2 3 pick tools, Space uses one. Touch: the pad below.
The science: this is the Drossel–Schwabl forest-fire model (1992). Each step, an empty cell grows a tree with chance p, a tree is struck by lightning with a much smaller chance f, and burning trees light their neighbors before turning to ash. Left alone, the forest self-organizes: it grows dense, and then one strike burns huge patches, giving fires of every size. Scientists call this self-organized criticality. Firebreaks work in real forests for the same reason they work here: they cut the chain of neighbors.