A Responsive HTML5 Snake Game with a particle explosion on food impact!
You must have Zepto
or jQuery
attached to the Window Global
Install through Bower
bower install responsive-snake
Customization:
You may define a width / height on the canvas tag itself
OR use the data attribute `data-full-screen="true"` for full-screen
WIP
<script src="path/to/snake.build.min.js"></script>
<canvas id="snake-canvas" autofocus="autofocus" data-full-screen="true"></canvas>
<div id="scoreboard">
<div id="score">
Score :
<span>0</span>
</div>
<div id="hi-score">
Hi Score :
<span>0</span>
</div>
<div id="bot-hi-score">
Bot Hi Score :
<span>0</span>
</div>
</div>
npm install
grunt dev
open http://127.0.0.1:8000/example/
- 2014-06-17 v0.1.0 Initial Release