Skip to content

pawelswiecki/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

The Game

Conway's Game of Life implemented in JavaScript with jQuery.

The game is hosted here.

With left mouse button you can, on board to the left, animate dead cells, as well as kill living cells. Use go and step buttons to apply the following rules to them:

  • Alive cell dies if has fewer than two live neighbours (under-population).
  • Alive cell dies if has more than three live neighbours (overcrowding).
  • Alive cell lives on to the next generation if has two or three live neighbours.
  • Dead cell with exactly three live neighbours becomes a live cell (reproduction).

Sources