If you’ve got a few spare minutes, you might enjoy a quick game of Tiny-Twitch. But then you’ll no doubt end up amazed by the fact that the source code for the whole thing can fit inside a single tweet.
Developed by Alex Yoder, the game — which requires you to try and click the X that appears onscreen as many times as you can — is written using just a little HTML and JavaScript. In fact, just this much HTML and JavaScript:
<script>var e,s=0,t=Date.now();function f(){((e=Date.now()-t)<15000)?a.style.margin=++s+e%300:alert(s)}</script><p id=”a” onclick=”f()”>X
You can play the game here. Go on, have a go. It’s kind of fun — and very, very impressive. [Alex Yodder via Hacker News]