Skip to content

simarubhi/JavaForestSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Java Forest Simulator

Demo

Demo

How it works

  • Green/t: Represents trees.
  • Red/b: Represents fire.
  • Black/x: Represents an empty square.
  1. If a sqaure is burining it will become empty in the next iteration.
  2. If a square is empty it has a chance to become a tree.
  3. If a tree touches fire in any 8 neighbouring squares it burns.
  4. Any tree can randomly burn, even if it is not touching fire.

About

Check out this forest simulation with Java!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages