I made another tiny javascript game, this time a simplified clone of pong.

Play here:

<body onload=b=p=d=2;setInterval(`s='';d^=2*(b%8<2|6<b%8)+16*(72<b|b==p);b+=d-9;for(i=80;i--;)s+=i%8?i^b?i^p?'.':'_':'o':'\\n';c.innerHTML=s`,200) onkeydown=p+=event.which%2?p<7:-(1<p)><pre id=c>

I still have to figure out what dimensions of the box to use for the most interesting gameplay.

Sign in to participate in the conversation
Tiny Tilde Website

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!