Skip to content

Instantly share code, notes, and snippets.

View Lujaw's full-sized avatar
🎯
Focusing

Luja Lujaw

🎯
Focusing
View GitHub Profile
@Lujaw
Lujaw / life.js
Created October 15, 2012 10:54 — forked from simonlc/life.js
HTML5 Conway's Game of Life
// Conway's Game of Life for HTML5 Canvas
// By Simon Laroche
var FPS = 5;
var paused = true;
var gameStarted = false;
var gLoop;
var generations = 0;
var population = 0;