File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed
Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 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.
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 >
You can’t perform that action at this time.
0 commit comments