immatureprogrammerr / basic-browser-chess

Automatically exported from code.google.com/p/basic-browser-chess
0 stars 0 forks source link

Konami code #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe in detail what is desired: (Attach mockup pictures if applicable)
Some easter egg when Konami code is entered

Give a short explanation of why you think the feature is useful:
It's awesome. For instance, something like...

if ( window.addEventListener ) {
        var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
        window.addEventListener("keydown", function(e){
                kkeys.push( e.keyCode );
                if ( kkeys.toString().indexOf( konami ) >= 0 )
                        window.location = "some URL";
        }, true);
}

Original issue reported on code.google.com by Dennis.I.89 on 10 Jul 2010 at 7:34

GoogleCodeExporter commented 9 years ago
http://www.zurb.com/playground/jquery-raptorize
or
http://erkie.github.com/

Original comment by Dennis.I.89 on 21 Nov 2010 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by Dennis.I.89 on 21 Nov 2010 at 5:15