Skip to content

Instantly share code, notes, and snippets.

View shade's full-sized avatar
🦺
I'm slow

joe thomas shade

🦺
I'm slow
View GitHub Profile
@shade
shade / activity
Created June 16, 2020 04:45
coding activity
t
// 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.