The popular Hacky Sack game for the browser. Just click the ball to make it jumping around. Colour your life ;-)
vW=800;vH=600;c=document.getElementById('c');c.width=vW+5;c.height=vH+5;ma=Math.abs;mr=Math.round;bX=mr(vW/2);vX=0;bY=mr(vH/2);vY=1;function tick(){if(calc()){draw()}}function calc(){oldX=bX;oldY=bY;bX+=vX;if(vX!=0){vX/=1.1;if(vX>-0.5&&vX<0.5){vX=0}}if(bX<0||bX>vW){vX*=-0.8;bX+=vX*2}if(bY>0||vY!=0){vY++;bY-=vY}if(bY<0){bY=0;vY*=-0.5}return bX!=oldX||bY!=oldY}function draw(){b=c.getContext("2d");b.fillStyle="#"+(function c(d){return(d+=[0,1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f"][Math.floor(Math.random()*16)])&&(d.length==6)?d:c(d)})("");b.beginPath();b.arc(tX(bX),tY(bY),10,0,Math.PI*2,true);b.closePath();b.stroke();b.fill()}function tX(a){return mr(a)-10}function tY(a){return vH-mr(a)-10};document.onmousedown=function(a){if(!a){a=window.event}dX=bX-a.clientX;dY=Math.max(a.clientY,tY(bY))-Math.min(a.clientY,tY(bY));dvY=(1000-dY)/50;if(dvY<0){dvY=0}if(ma(dX)<100&&ma(dY)<100){vX=mr(dX/5);vY-=dvY}};window.setInterval("tick()",20);
dlc9ODAwO3ZIPTYwMDtjPWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdjJyk7Yy53aWR0aD12Vys1O2MuaGVpZ2h0PXZIKzU7bWE9TWF0aC5hYnM7bXI9TWF0aC5yb3VuZDtiWD1tcih2Vy8yKTt2WD0wO2JZPW1yKHZILzIpO3ZZPTE7ZnVuY3Rpb24gdGljaygpe2lmKGNhbGMoKSl7ZHJhdygpfX1mdW5jdGlvbiBjYWxjKCl7b2xkWD1iWDtvbGRZPWJZO2JYKz12WDtpZih2WCE9MCl7dlgvPTEuMTtpZih2WD4tMC41JiZ2WDwwLjUpe3ZYPTB9fWlmKGJYPDB8fGJYPnZXKXt2WCo9LTAuODtiWCs9dl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