Skip to content

Commit d3a1fae

Browse files
committed
Revert to original.
Went back to original to maintain it in the PR.
1 parent fcf49ab commit d3a1fae

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
<b>This is a clone of the original</b> <a href="https://github.com/patorjk/JavaScript-Snake" target="_blank">JavaScript Snake</a>.
2-
<p>This repo is still under construction.</p>
1+
JavaScript Snake<br/>
2+
By Patrick Gillespie<br/>
3+
License: MIT<br/>
4+
http://patorjk.com/games/snake
5+
6+
This is a DOM-based game of Snake that I wrote in JavaScript a few years back.
7+
8+
Other than the full screen mode demonstrated in the code, it can also be
9+
initialized in div tags within a page. Example:
10+
11+
var mySnakeBoard = new SNAKE.Board( {
12+
boardContainer: "game-area",
13+
fullScreen: false,
14+
width: 580,
15+
height:400
16+
});
17+
18+
The comments are formatted a little strange because at the time I was playing
19+
around with YUI Doc.

0 commit comments

Comments
 (0)