M=Math;R=M.random;A=1;F=S=Y=j=f=0;fi=0.005;e=document.body.children[0];g=e.getContext("2d");e.width=640;e.height=480;g.font="20pt arial";t=[];k=[];function V(){k[(R()*32)|0]++;setTimeout(V,4212)}V();function N(){i=-1;while(++i<32){t[i]={};k[i]=1;t[i].x=((R()*21)|0)*32;t[i].y=((R()*15)|0)*32}}N();function r(){if(A)S+=16;nt=15;g.clearRect(0,0,640,480);g.strokeRect(0,0,640,480);function l(){i=-1;while(++i<32){g.beginPath();g.arc(t[i].x+16,t[i].y+16,13,0,M.PI*2,true);g.closePath();g.fill();if(i&&((t[i].x-=k[i])<-32)){t[i].x=656;t[i].y=((R()*15)|0)*32}g.fillStyle='rgba(0,0,0,'+f.toFixed(4)+')';};if(fi){f+=fi;if(f<=0.0||f>=1.0){if(f<-0.1){fi=0.005;N();nt*=99;A=1;f=F=S=0;}else{fi=0}}}else{i=0;while(++i<32){var xx=t[0].x-t[i].x,yy=t[0].y-t[i].y;if (xx*xx+yy*yy<784){fi=-0.01;A=0}}}}l();l();g.fillStyle="red";g.fillText('Score: '+S,5,25);F++;setTimeout(r,nt);l()}e.onmousemove=function(v){t[0].x=v.clientX-32;t[0].y=v.clientY-32;if(A&&(F>4))S+=M.abs(Y-t[0].y);Y=t[0].y;if(t[0].x<0)t[0].x=0;if(t[0].y<0)t[0].y=0};r();
TT1NYXRoO1I9TS5yYW5kb207QT0xO0Y9Uz1ZPWo9Zj0wO2ZpPTAuMDA1O2U9ZG9jdW1lbnQuYm9keS5jaGlsZHJlblswXTtnPWUuZ2V0Q29udGV4dCgiMmQiKTtlLndpZHRoPTY0MDtlLmhlaWdodD00ODA7Zy5mb250PSIyMHB0IGFyaWFsIjt0PVtdO2s9W107ZnVuY3Rpb24gVigpe2tbKFIoKSozMil8MF0rKztzZXRUaW1lb3V0KFYsNDIxMil9VigpO2Z1bmN0aW9uIE4oKXtpPS0xO3doaWxlKCsraTwzMil7dFtpXT17fTtrW2ldPTE7dFtpXS54PSgoUigpK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