Conway's Game of Life

Left-click drag - revive cell
Right-click drag - kill cell
Middle-click - pause/play simulation


Algorithm

  1. White tiles are dead cells.
  2. Black tiles are living cells.
  3. Any live cell with fewer than two live neighbours dies, as if caused by under-population.
  4. Any live cell with more than three live neighbours dies, as if by overcrowding.
  5. Any live cell with two or three live neighbours lives on to the next generation.
  6. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.