Tech

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.

Photo of AJ Dellinger

AJ Dellinger

Article Lead Image

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.

Featured Video

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. 

Advertisement

Yoder’s response fit the bill.

Advertisement

Advertisement

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.

Advertisement

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

Advertisement

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

 
The Daily Dot