Advertisement
Guest User

Untitled

a guest
Jan 7th, 2011
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. c.height=c.width=W=255
  2. c.style.border='4px solid #000'
  3. V=3
  4. h=X=10
  5. Y=125
  6. $=[s=t=L=U=0]
  7. with(Math)with(a)K=r=random,P=onkeydown=onkeyup=function(x,y,p){if(x[1])return!(P(p=--x[0],y=x[1],G),p<1|p>=X&p-X<8&abs(y-Y)<8?V--+(K=P):h|t>p||p-t>9|y>b||b-y>9?0:h=++s%20||++V)
  8. if(p)for(J=0;J++<56;p/=2)p&1&&P(x+J%8,y+J/8)
  9. else if(y)for(z=5;z;I.data[m*4-z]=--z&4&&W)m=x+~~y*W
  10. else x?(v=[-1,-2,1,2][x.which-37],w=!!x.type[6]&&v,v?v&1?L=w:U=w:w+h&&(h=0,t=X+8,b=Y+1)):fillRect(0,0,W,W,fillStyle='red',K=r)},setInterval(function(){X+=L
  11. Y+=U
  12. I=createImageData(W,W)
  13. for(i=V;i>0;P(W-i--*10,245,Z=0x3F6DFFBF12720C))fillStyle='#000'
  14. P(X,Y,Z)
  15. h||P(t,b,h=(t+=4)>251)
  16. $=$.filter(P)
  17. K((g=r(V>0&&P(4,3,G=0x607E416AD57E60)+putImageData(I,0,0)+fillText(s,15,10))>.93&!$[3]&&25+(r()*25<<3))&&$.push([246,g]))},70)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement