-
-
Save mumumu/650944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(d,r,o,l,x,y,u,a,b,n,m,s,i){n=d.createElement("pre");n.setAttribute("style","z-index:100;font-weight:bold;position:absolute;left:0px;top:0px;background:black;color:white"); var img =d.createElement("img"); img.setAttribute("src", "http://www.gravatar.com/avatar/0bafbcfcfb548a4ac20406692858f68b?s=140&d=http%3A%2F%2Fgithub.com%2Fimages%2Fgravatars%2Fgravatar-140.png"); img.setAttribute("style", "z-index:150;font-weight:bold;position:absolute;left:0px;top:150px;"); d.body.appendChild(img); s=new Array(o+1).join(" ");for(i=0;i<l;i++)n.appendChild(m=r[i]=d.createTextNode(s)),n.appendChild(d.createTextNode("\n"));function p(x,y,c,_){with(r[y])nodeValue=nodeValue.substring(0,x)+c+nodeValue.substring(x+c.length)}a=x,b=y,setInterval(function(i){p(x,y," ");for(i=u.length;--i>=0;)with(u[i])p(x--,y," "),x>0?p(x,y,"-"):u.splice(i,1);x=a,y=b,p(x,y,"<?php");},50);d.onkeydown=function(e){switch(e.keyCode){case 90:a=x>0?x-1:x;break;case 83:b=y>0?y-1:0;break;case 67:a=x<o-5?x+1:x;break;case 88:b=y<l-1?y+1:y;break;case 32:u.push({x:x-1,y:y});break}return false;};d.body.appendChild(n);})(document,[],80,25,75,10,[]) | |
/* zで左、cで右、sで上、xで下、スペースでビーム 敵は moriyoshit */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment