Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
huh?
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Sep 3, 2013
1 parent 6c5c0dc commit b24467c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,31 @@ function KeyboardManager(game)

var self = this;

var click_count = 0;

document.getElementById("reset_keys").addEventListener("click",
function()
{
this.textContent = [
"Done.",
"Keys resetted.",
"You keep failing at this, huh?",
"undefined",
"Just kidding.",
"Bored?",
"BOred?",
"BORed?",
"BOREd?",
"BORED?",
"Okay ...",
"There once was a girl from Kentucky ..."
][click_count++];

if(click_count === 12)
{
location.href = "https://www.youtube.com/watch?v=oHg5SJYRHA0";
}

self.resetKeys();
self.saveSettings();
}, false);
Expand Down

0 comments on commit b24467c

Please sign in to comment.