Skip to content

ashishsiot/JavaScript-Snake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐛 Snake Game 🐛

JavaScript Snake Game By Patrick Gillespie

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

▶ Play Game ▶

http://patorjk.com/games/snake

📋 Note 📋

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.

License: MIT

LICENSE

About

The game of Snake written in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 71.3%
  • CSS 21.8%
  • HTML 6.9%