Make the classic game Snake using Functional Reactive Programming in coffeescript via Bacon.js.
- Clone this git repo
- Make sure you have node and npm installed (if not,
brew install node) - At the repo root, run
npm install.
To run the game, type ./gulp serve at the root of the directory. The code and tests will be recompiled on the fly and your
browser will autoreload when necessary. You can tweak these settings in gulpfile.coffee.
The tests should run automatically after changes when running ./gulp serve, however you can run them sepeartely using ./gulp test.