Cheet.js: Easter eggs (Konami Code, etc.) for your site
namuol.github.io
Cheet.js: Easter eggs (Konami Code, etc.) for your site
1–10 of 15 posts
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#2[deleted]
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#3I would've called it cheat.js but there was at least one other library out there with the name.
Also, it's a surprisingly-SFW Urban Dictionary term that I find amusing: http://www.urbandictionary.com/define.php?term=Cheet
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#4Looks nice, but not sure why I'd use this over the more general-purpose Mousetrap[1]?
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#5In use on his personal site: http://namuol.github.io/
Konami: up up down down left right left right b a
God-mode: i d d q d
google: g o o g l e
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#6This looks really cool and sleek! I may just use this somewhere.
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#7Looks nice, but not sure why I'd use this over the more general-purpose Mousetrap[1]? [1]: http://craig.is/killing/mice
Welp. I wouldn't have made cheet.js if I knew about Mousetrap.
Oh well, it was just a fun one-night project anyway. :)
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#8I like the concept of implementing the "waiting" function of responding to a cheat code as an asynchronous promise-style callback. I think this should be used more often in event-driven stuff, even when it's not explicitly "asynchronous" as much as it is a conditions-based response.
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#9Nice! Another idea would be to use events in stead of keys in the sequence, something like:
"click:#elem1 click:#elem2 keyup:13"
That would enable you to make slightly more advanced easter eggs or "cheets"
Re: Cheet.js: Easter eggs (Konami Code, etc.) for your site
#10Any hints on easter eggs on the site that you don't provide instructions for? I tried your name, the project name, etc.; disappointed there wasn't more to discover.