Modified rules for Conway's game of life with colony forming behavior.
- Fixed border board, no infinite, or periodic boundary conditions.
- If a Cell and all of its neighbors are either 0 or 1, then follow standard CGoL rules.
- 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.
- 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.
- 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.
- 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.
The main program is looking to save its output in a directory named scratch/ in the cwd, so it will panic! without that.