Rules

  1. A live cell with fewer than 2 live neighbours dies. (underpopulation)
  2. A live cell with 2 or 3 live neighbours lives on to the next generation.
  3. A live cell with more than 3 live neighbours dies. (overpopulation)
  4. A dead cell with 3 live neighbours becomes a live cell.