Skip to content

MQInfer12/game-of-life-react

Repository files navigation

Game of Life

The Game of Life by the mathematician John Horton Conway was created in 1970, is a zero-player game (this is because the game evolution is determined by the initial state of the board given at the start, without further input) is considered Turing complete and can simulate a Turing machine.

Link:

Game of life - Conway

Rules

The game had a two dimensional infinite board of squares (called cells), each one can be in two possible states, when its painted is considered alive and when its white its considered dead, each cell interacts with its eight neighbours to calculate the next generation of cells.

This game has 3 simple rules:

  • Any alive cell with two or three neighbours alive lives on to the next generation.
  • Any dead cell with exactly three neighbours alive becomes a live cell the next generation.
  • Any cell that don't meet the previous conditions die in the next gen by underpopulation or overpopulation.

Tools and Technologies

This application don't uses HTML canvas, is pure DOM manipulation with React states.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published