Rules
Conway's Game of Life environment consists of a matrix of cells. Cell can be in an active state or in inactive state. Every iteration (game loop step) is checking how many active neighbours particular cell has, and based on the number of neighbours it either activates or deactives itself. The rules are:
- Any live cell with less than 2 live neighbours dies, as if caused by underpopulation.
- Any live cell with more than 3 live neighbours dies, as if by overcrowding.
- Any live cell with 2 or 3 live neighbours lives on to the next generation.
- Any dead cell with exactly 3 live neighbours becomes a live cell.
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Point
None really, just needed something to try out karma and keep myself interested
TODO
- Create a visual way to set the root board
- Create a visual way to display the output
DROPPED
- Make inheritance/prototype schema; mainly because I don't feel like I would keep interest long enough to make enough extensions and board game types that would make up for sacrificing the clean private variables that I would need to expose to actually make extendible base game. For this particular one I think I'll stay with the rectangular board and simple game of life.