A simple old-style PONG game. Pad size changes as you scores to level the game. Wins the first that gets without pad.
dx=10,dy=5,l1=l2=50,w=400,h=300,y1=y2=130,b=m=10,g=15,ky=[],d=document;c=d.getElementById("c");c.width=w;c.height=h;s=c.style;d.body.style.margin=0;s.width="100%";s.height=innerHeight+"px";ct=c.getContext("2d");ct.r=ct.fillRect;ct.font="16px Arial";ct.t=ct.fillText;K=function(e){ky[e.keyCode]=e.type!="keyup";if(!i&&ky[82])ct.t("But mine's longer!",l2?240:30,(l2?y2:y1)+b)};U=function(){n=20;x=195;y=145};I=function(){s.background=(n>19)?"#363":"#333";if(ky[65]){y1-=m;if(y1<-l1+m)y1=h-m}if(ky[90]){y1+=m;if(y1>h-m)y1=-l1+m}if(ky[75]){y2-=m;if(y2<-l2+m)y2=h-m}if(ky[77]){y2+=m;if(y2>h-m)y2=-l2+m};if(!n){if(y>h-b||y<0)dy=-dy;if((x==g+b&&y>y1-b&&y<y1+l1+b)||(x==w-g-b-b&&y>y2-b&&y<y2+l2+b))dx=-dx;if(x>w-b||x<0){if(x<0){l2-=b;l1+=b}else{l1-=b;l2+=b};U()}else{x+=dx;y+=dy}}else n--;if(!l1||!l2){clearInterval(i);i=null;ct.t("I win",l2?30:330,(l2?y1:y2)+b);return}ct.clearRect(0,0,w,h);ct.fillStyle="#AE7";ct.r(g,y1,b,l1);ct.r(w-g-b,y2,b,l2);ct.r((w/2)-2,0,4,h);ct.r(x,y,b,b)};onkeydown=onkeyup=K;U();i=setInterval(I,30)
ZHg9MTAsZHk9NSxsMT1sMj01MCx3PTQwMCxoPTMwMCx5MT15Mj0xMzAsYj1tPTEwLGc9MTUsa3k9W10sZD1kb2N1bWVudDtjPWQuZ2V0RWxlbWVudEJ5SWQoImMiKTtjLndpZHRoPXc7Yy5oZWlnaHQ9aDtzPWMuc3R5bGU7ZC5ib2R5LnN0eWxlLm1hcmdpbj0wO3Mud2lkdGg9IjEwMCUiO3MuaGVpZ2h0PWlubmVySGVpZ2h0KyJweCI7Y3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