Skip to content

About

The game of Snake written in JavaScript.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

This is a modified version of the original game (edits by Electromaster232), the original credits are below:

JavaScript Snake
By Patrick Gillespie
License: MIT
http://patorjk.com/games/snake

This is a DOM-based game of Snake that I wrote in JavaScript a few years back.

Other than the full screen mode demonstrated in the code, it can also be initialized in div tags within a page. Example:

var mySnakeBoard = new SNAKE.Board( {
                                        boardContainer: "game-area",
                                        fullScreen: false,
                                        width: 580,
                                        height:400
                                    });

The comments are formatted a little strange because at the time I was playing around with YUI Doc.

About

The game of Snake written in JavaScript.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages