This is a simple recreation of John Conway's Game of Life. The user can set the number of generations that they want to iterate through. The user can click on the box to make the box active, this will set the box as "alive". Once the user has the desired configuration on the game board they can click on the start button to see how their configuration will end up after their desired amount of generations.
Each of the square boxed has one of two possible states, alive or dead, (or populated and unpopulated, respectively). Every cell interacts with its eight neighbors, which are the boxes that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:
- Any live boxes with fewer than two live neighbors dies, as if by underpopulation.
- Any live boxes with two or three live neighbors lives on to the next generation.
- Any live box with more than three live neighbors dies, as if by overpopulation.
- Any dead box with exactly three live neighbors becomes a live box, as if by reproduction.
$git clone https://github.com/shelnutdan/Game_of_life.git
Check this interview with John Conway himself by NumberPhile
Allow for slower iteration throughout he generations so that users get a better idea on how their configurations can change over time.