Skip to content

Forest Fire cellular automata written in C++ with Allegro5

License

Notifications You must be signed in to change notification settings

filippozanfini/forestfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Forest Fire

Forest Fire cellular automata written in C++ with Allegro5

Forest Fire is defined by four rules which are executed simultaneously:

  1. A burning cell turns into an empty cell
  2. A tree will burn if at least one neighbor is burning
  3. A tree ignites with probability f even if no neighbor is burning
  4. An empty space fills with a tree with probability p.

Forest Fire

Releases

No releases published

Packages

No packages published

Languages