a=document;M=Math;g=M.floor;v=M.random;c=a.getElementById('c');a.onkeydown=function(e){if(e.keyCode==39)z=1;else if(e.keyCode==37)q=1;};a.onkeyup=function(e){if(e.keyCode==39)z=0;else if(e.keyCode==37)q=0;};d=c.getContext('2d');c.style.border='1px solid';w=h=c.width=c.height=400;s=4;t=8;l=10;x=y=e=200;z=q=0;b=[l];k=[l];n=70;for(i=0;i<l;i++){k[i]='rgb('+g(v()*99)+',22,'+g(v()*99)+')';b[i]=[5];for(j=0;j<5;j++){b[i][j]=g(v()*2);}}o=window.setInterval(function(){d.clearRect(0,0,w,h);if(z&&e+n<w)e+=5;else if(q&&e>0)e-=5;for(i=0;i<l;i++){for(j=0;j<5;j++){if(b[i][j]==1){d.fillStyle=k[i];d.fillRect((j*80)+1,(i*16)+1,79,15);}}}d.fillStyle='#000';d.fillRect(e,h-15,n,15);d.beginPath();d.arc(x,y,l,0,M.PI*2,1);d.closePath();d.fill();f=g(y/16);r=g(x/80);if(y<160&&f>=0&&r>=0&&b[f][r]==1){t=-t;b[f][r]=0;}if(x+s-l<0||x+s+l>w)s=-s;if(y+t-l<0)t=-t;else if(y+t+l>h-15){if(x>e&&x<e+n){s=8*((x-(e+n/2))/n);t=-t;}else if(y+t+l>h){d.font="bold 20px verdana";d.fillText('GAME OVER',130,200);clearInterval(o);}}x+=s;y+=t;},33)
YT1kb2N1bWVudDtNPU1hdGg7Zz1NLmZsb29yO3Y9TS5yYW5kb207Yz1hLmdldEVsZW1lbnRCeUlkKCdjJyk7YS5vbmtleWRvd249ZnVuY3Rpb24oZSl7aWYoZS5rZXlDb2RlPT0zOSl6PTE7ZWxzZSBpZihlLmtleUNvZGU9PTM3KXE9MTt9O2Eub25rZXl1cD1mdW5jdGlvbihlKXtpZihlLmtleUNvZGU9PTM5KXo9MDtlbHNlIGlmKGUua2V5Q29kZT09MzcpcT0wO307ZD1jLmdldENvbnRleHQoJzJkJyk7Yy5zdHlsZS5ib3JkZXI9JzFweCBzb2xpZCc7dz1o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