Skip to content

recollir/game-of-fire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Game of Fire

Rules:

1. x_ij empty  == (a)                ==>  tree

2. x_ij tree   == (p / lightning)    ==>  fire

3. x_ij tree   == (fire / neighbor)  ==>  fire

4. x_ij fire   ==                    ==>  empty

5. x_ij not triggered                ==>  same status

Example implementation with 2 matrices: now and then

1. zero out then
2. walk through now and populate then
3. copy then to now

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published