coffeescript version of Conway's Game of Life
Want to see pretty graphs? Log in now!
npm install game-of-life
|2||downloads in the last month|
|Last Published By|
|Version||0.0.0 last updated 2 years ago|
Conway's Game of Life - Coffeescript
This is is my first attempt to build a coffeescript version of Conway's Game of Life. It comes after my ruby version, so it will probably look like that one in the end.
I am trying to make it as modular as possible, the game in itself is contained in the Game and Board classes, while the visualization is handled via adapters such as the included ConsoleAdapter, so later I can develop more adapters without cluttering the code in the game classes.
cd coffee && coffee index.coffee
The game is tested with the jasmine framework. To run the specs you must install the jasmine-node npm package, if you haven't already.
npm install jasmine-node -g jasmine-node spec --coffee