Skip to content

cyfx/game-of-life

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

This is not funny. It's about life and death...

Conway's Game of Life, written in JavaScript.

http://myst729.github.io/game-of-life/

About the game

  • The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
  • The game is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.
  • One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

Rules of the game

  • Any live cell with fewer than two live neighbours dies, as if caused by under-population.
  • Any live cell with two or three live neighbours lives on to the next generation.
  • Any live cell with more than three live neighbours dies, as if by overcrowding.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.0%
  • HTML 8.5%
  • CSS 4.5%