If the popularity of game jams is anything to go by, indie game coders love the chance to flex their programming and creative skills. So when Aussie dev Ben Porter last week issued the challenge to fit a game inside a single tweet, he got a fair number of replies, including this strangely addictive effort from a guy by the name of Alex Yoder.
Here's Porter's call to arms:
I challenge you to make a game whose source fits in a single tweet
— Ben Porter •ᴗ• (@eigenbom) June 27, 2015
And Yoder's response, which arrived on 1 July:
<body onload=d=Date.now,t=d(s=0)><p style="float:left" onclick="(e=d(++s)-t)<15e3?style.margin=e%300+' 0 0 '+e*7%300:alert(s)">X</p></body>
— Alex Yoder (@alex_yoder) June 30, 2015
There's not much to it -- just click the "X" as many times as you can. When the time limit runs out, you'll be given a score. My best is 17, which I think is alright.