/GameOfLife

Game of Life

Primary LanguageC#

Game of Life

Objective

Decide what happens to a specific cell given its current state and its neighbours.

  • A living cell with less than two neighbours: Dies
  • A living cell with two or three neighbours: Survives
  • A living cell with more than three neighbours: Dies
  • A dead cell with exactly three neighbours: Becomes alive

Extra Challenge

Apply the rules for an n by n grid of cells.

Extra Extra Challenge

Apply the rules for an n by n grid of cells multiple times.