A minimalistic game in < 256 bytes of HTML and JS
JavaScript HTML
Latest commit 5f782b2 Jul 25, 2015 @aemkei aemkei Update comments.

README.md

PING - A Game in < 256 Bytes of HTML+JS

A super minimalistic mix of the classic Pong and Breakout games (without the bricks) in < 256 bytes of HTML and JS. Golfed by @aemkei, @subzey and .

Demo

PLAY THE DEMO!

Use your keyboard to control the paddle movement.

Source (226 bytes)

<body onload=k=13,x=W=27,X=Y=1,setInterval('for(i=h="
",k=k<0?0:24<k?24:k,X=x%W?X:-X,Y=x<0?1:297<x?1%(x-299
-k)?p:-1:Y,x+=Y*(W+X*Y);i++<297+k;p.innerHTML=h+888)h
+=i%W?i^x?" ":0:"|\\n"',99) onkeydown=k+=event.which-
38><pre id=p>

See the annotated source for details.

Gameplay Video

Ping