Article Lead Image

You can play a simple game based on code that fits in a tweet

It's a simple game with simple code, but it's still pretty impressive.

 

AJ Dellinger

Tech

Posted on Jul 1, 2015   Updated on May 28, 2021, 11:00 am CDT

The definition of what constitutes a game has become broader in recent years, and now a clever developer has boiled down the code for a game to the size of a single tweet.

Musician and computer programmer Alex Yoder took on a Twitter challenge from game developer Ben Porter (best known for his work with Pixel Dailies) to write a game that could have its code housed in a single, 140-character tweet. 

Yoder’s response fit the bill.

The game, called Tiny Twitch, is about as simple as they come.  An X appears on screen. When a player clicks on it, the X jumps to a new position on the screen. Every time it is clicked, it relocates. The challenge is to see how many times you can click it before time expires. 

Since posting the code on GitHub, Yoder has received several suggestions for modifying the game while remaining within the 140-character limit. He said in a tweet that he has since fixed a bug and improved movement, all while cutting down the game’s size thanks to the input of others.

While Yoder wasn’t the only one to successfully complete the challenge, Porter gave Tiny Twitch his endorsement after playing it.

If you want to give Tiny Twitch a try, you can play it on Yoder’s website. It might not have the fancy graphics, epic story, unlockable achievements, or online multiplayer experience that people have come to expect from modern video games, but it’s still just as much of a game as the latest blockbuster title.

H/T Rock, Paper, Shotgun | Illustration by Max Fleishman

Share this article
*First Published: Jul 1, 2015, 4:13 pm CDT