Game of Life
01 Aug 2012
This is an implementation of the Game of Life as described by mathematician John Conway.

The rules of the Game of Life are very simple and they are
  1. Each cell with one or no neighbors dies, as if by loneliness.
  2. Each cell with four or more neighbors dies, as if by overpopulation.
  3. Each cell with two or three neighbors survives.
  4. Each cell with three neighbors becomes populated.
Once stopped, click on rectangles to activate or de-activate.
You can also drag the mouse across to draw.

Sorry, your browser does not support Canvas.
1. alife.js - Download, index.html
//Code goes here

Javascript Demos

Here's a bunch of javascript... things I wrote over the years whenever time permitted.