Game of Life is a cellular automaton devised by mathematician John Conway.
In the game there exists a grid of cells, each of which can be in one of two states, alive or dead. Every cell has eight neighbours which it interacts with (the adjacent cells). After each step in the game, the following rules apply:
- Any live cell with fewer than two live neighbours dies, i.e. under population
- Any live cell with two or three live neighbours lives on to the next generation
- Any live cell with more than three live neighbours dies, i.e. overpopulation
- Any dead cell with exactly three live neighbours becomes a live cell, i.e. reproduction
See Wikipedia for more information on The Game of Life.
To view locally, run:
npm install
npm start
Then open http://localhost:3000/.
This project was bootstrapped with Create React App.