/game-of-life

Work in Progress - Game of Life created in javascript canvas

Primary LanguageJavaScript

Game of Life

Based on Conway's Game of Life

Rules

Standard

For a space that is populated

  • Each cell with one or no neighbours dies, as if by solitude
  • Each cell with four or more neighbours dies, as if by overpopulation
  • Each cell with two or three neighbours survives

For a space that is empty or unpopulated

  • Each cell with three neighbours becomes populated

High Life

  • Same as standard, plus:
  • Each cell with six neighbours becomes populated - this allows for more complex, and self-replicating patterns