Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Conway's game of life toy implementations -- no spatial hashing optimizations, just a working toy.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
canvaslife.html
gLayer.js
textlife.html

README

Conway's Game of Life implementation!
Feb. 19th, 2011
jsyang.ca@gmail.com

    The rules of the game; from wikipedia:
        
        Rule    Condition                       Result
        1       LIVE CELL WITH 2,3 NEIGHBORS    LIVES
        2       DEAD CELL WITH 3 NEIGHBORS      LIVES
        3       OTHERWISE, ANY CELL             DIES

canvaslife.html contains a life game that draws on a <canvas>
textlife.html contains a life game that draws in text in a <textarea>
gLayer.js is a custom <canvas> object, includes image loading functionality
and calls back when done.
Something went wrong with that request. Please try again.