This is a JavaScript + Canvas implementation of Conway’s Game of Life. This is a very small “game” I wrote to play around with the design that could be used for the future Wall Art project as well as having a quick spin with Canvas and test the speeds of different browsers.
The game features a few different options for map dimensions, tile size, updating frequency, and allows the user to manually toggle the state of a tile (mouse click).
Objectives
- Prototype for Wall Art project
- Learn Canvas
- To have fun with Conway’s Game of Life
- [New] To learn CoffeeScript
Current Status
- Served purpose
- May be revived and expanded for Wall Art prototype
New version written in CoffeeScript: http://nickreynolds.net/wp-content/uploads/2012/01/GameOfLife.coffeescript.html
Demons of Cyclic Space written in CoffeeScript: http://nickreynolds.net/wp-content/uploads/2012/01/DemonsOfCyclicSpace.coffeescript.html
Old version (not OO) written in JavaScript: http://nickreynolds.net/wp-content/uploads/2012/01/gameoflife.html