<!doctype html>

Konami Code

Konami Code Example

Type: up up down down left right left right b a

<script type="text/javascript">
    //<![CDATA[
        (function(a){(function(f){var d=0,e=[38,38,40,40,37,39,37,39,66,65];a.addEventListener("keydown",function(a){e[d]===a.keyCode?(d++,d===e.length&&(d=0,f())):d=0})})(function(){p=389;$=l=t=0;c=" _ ";onkeydown=function(a){39==(k=a.which)?p++:37==k?p--:!l&&(l=p)};setInterval(function(){_="<pre>";l&&0>(l-=20)&&(l=0);for(i=0;400>i;i++)0==i%20&&(_+="\n"),~b[n="indexOf"](l)&&(b.splice(b[n](l),1),$+=25,l=0),~b[n](p)&&(p=n,b=[],c="xxx"),_+=i==p?"oIo":~b[n](i)?".#.":i==l&&l?" | ":c;a.body.innerHTML=_+="\nP "+
        $;for(i in b)b[i]+=t^0&&0==t%5E3?20:0==t%2E3?1:0==t%1E3&&-1;t+=o},o=50);b=[];for(j=2;136>j;j+=2)b.push(j),14==j&&(j=41)||55==j&&(j=80)||94==j&&(j=121)})})(window.document);
    //]]>
</script>