Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Miller committed Jun 17, 2014
1 parent d288f8c commit b527b8a
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,29 @@ A Responsive HTML5 Snake Game with a particle explosion on food impact!

You may define a width / height on the canvas tag itself or use the dat attribute `data-full-screen="true"` for fullscreen

Include the Snake Library
## Sample Markup

```
<script src="../build/snake.build.js"></script>
```
<script src="../build/snake.build.js"></script>
## Sample Markup
<canvas id="snake-canvas" autofocus="autofocus" data-full-screen="true"></canvas>
```
<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 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>
```

## To View The Example
Expand All @@ -54,4 +50,4 @@ A Responsive HTML5 Snake Game with a particle explosion on food impact!

* 2014-06-17   v0.1.0   Initial Release

---
---

0 comments on commit b527b8a

Please sign in to comment.