Skip to content

Instantly share code, notes, and snippets.

joe shade

Block or report user

Report or block shade

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Simon.js
// Closure for namespacing, and to prevent name collisions.
;(function() {
// Initialize constants
var NEW_GAME_DELAY = 1200
var NOTE_DURATION = 800
var ACCELERATION_CONSTANT = 0.8
var POINT_CONSTANT = 10
// Initilize the Simon game as a giant singleton, as only one instance is necessary.
You can’t perform that action at this time.