Skip to content

Latest commit

 

History

History
executable file
·
59 lines (47 loc) · 870 Bytes

README.md

File metadata and controls

executable file
·
59 lines (47 loc) · 870 Bytes

#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