Skip to content

implementation of the classic Snake in JavaScript

Notifications You must be signed in to change notification settings

jonmelcher/SnakeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeJS

implementation of the classic Snake in JavaScript

Authors: Jonathan Melcher and Martin Humphreys

Date: 2016-03-26

Instructions: Download contents into a folder and load up index.html to play!

Contains:

Directions.js - module for direction functionality when assigning event handlers and dealing with movement

SnakeGraphics.js - module for interfacing HTML5 canvas with game engine

SnakeGame.js - engine for calculating state of current game instance

snakeInit.js - script for setting up game in index.html

index.html - HMTL5 view

styles.css - stylesheet for index.html

About

implementation of the classic Snake in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published