The Code for This Pleasingly Simple Game Fits in a Single Tweet

By Jamie Condliffe on at

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 requires you to try and click the X that appears onscreen as many times as you can. Incredibly it is written using just a tiny amount of HTML and JavaScript. In fact, just this much HTML and JavaScript:

<script>var e,s=0,;function f(){((<15000)?}</script><p id="a" onclick="f()">X

You can play the game here. Go on, have a go. It’s not exactly the most exciting game, but certainly very, very impressive. [Alex Yodder via Hacker News]