Game of Life (Clone)

About

Game of Life is a cellular automaton devised by John Conway. A player gives an initial state, which then evolves according to a set of rules:

  1. A "live cell" (white) with fewer than two live neighbours "dies" (turns black), simulating underpopulation.
  2. A live cell with more than three live neighbours dies, simulating overpopulation.
  3. A dead cell with exactly three live neighbours revives live cell, simulating reproduction.
  4. A live cell with exactly two or three live neighbours lives on.

Instructions