Skip to content

JTPond/Conways_Bacteria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Bacteria

Modified rules for Conway's game of life with colony forming behavior.

Rules

  1. Fixed border board, no infinite, or periodic boundary conditions.
  2. If a Cell and all of its neighbors are either 0 or 1, then follow standard CGoL rules.
  3. If a Cell has exactly 4 neighbors, one on each side, or one on each corner, it starts a Colony with its neighbors and grows to 2. Now it and all of its neighbors follow Colony rules.
  4. If a cell is in a Colony, but with a height of 0, then if the sum of its neighbors' heights is greater or equal to 4 times its tallest neighbor then it goes to 1.
  5. If a cell is in a Colony, but with a height of 1 to one less than the maximum height, then if the sum of its neighbors' heights is greater or equal to 8 times its own height then it increases by 1.
  6. If a cell is at the maximum height or any of its neighbors are one less than the maximum height, or greater, the cell is stable and nothing happens.

Note

The main program is looking to save its output in a directory named scratch/ in the cwd, so it will panic! without that.

About

Modified rules for Conway's game of life with colony forming behavior.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages