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