Skip to content

nohponex/snake.js

Repository files navigation

#snake

HTML5 Snake Game, using HTML5 Canvas and Javascript.

https://nohponex.github.io/snake.js/


Controls

  • Arrow keys OR WASD keys to move
  • p to pause/resume
  • Enter to start new game when game is over

Development

To download npm dependencies execute:

npm install

To download bower dependencies execute:

npm run prepare

or alternatively:

bower install

To validate and test the code execute:

grunt

or alternatively:

grunt +w

Build

To build execute:

grunt build

Build result will be available at dist/ folder.

Publish to gh-pages

To push dist/ files to gh-pages branch execute:

grunt pages

License

MIT © Spafaridis Xenophon

Releases

No releases published

Packages

No packages published