Skip to content

kolecreates/Hybrid-Snake

 
 

Repository files navigation

Hybrid Snake
By Kole Nunley
License: MIT
http://kolenunley.com I loved the simplicity of the original browser game by Patorjk and decided to wrap it with Cordova and Ionic to adapt it to mobile devices.

Original Read Me (to give credit) 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 Ionic & Cordova.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • CSS 13.9%
  • HTML 0.2%