/snake-game-js

snake-game-js

Primary LanguageJavaScriptMIT LicenseMIT

Snake Game JS

Simple proof of concept and practice JavaScript game. Everything is contained within the Game object and to initialize simply:

var game = new Game('id-selector-for-canvas', 'id-of-score-display-element');
game.start();