/Game_of_Life

A React.js cellular automation demonstration of the famous Game of Life created by the mathematician John Conway.

Primary LanguageJavaScript

Game_of_Life

A React.js cellular automation demonstration of the famous Game of Life created by the mathematician John Conway. https://cwalke3408.github.io/Game_of_Life/

In 1970, mathematician John Horton Conway constructed an automation demostration called the Game of Life. A grid is construction of cells that may have two states: Died or Alive. Each cell has 8 neighbors and based off the rules determines if the cell live or dies.

Rules to determine if the cells will live or die

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

More info about the cellular https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life