0

Tweet Contains an Entirely Playable, Retro-Style Arcade Game

via The Verge

A 280-character tweet might not seem like a lot of space, but if you’re crafty enough, it’s actually just enough to program a video game.

That’s the challenge that security engineer Alok Menghrajani gave himself: to squeeze a CD-ROM holding a retro-style video game into the space of a single tweet. After two weekends, he’d succeeded — the resulting code is a video game that can be booted up in a virtual machine, or burned onto a physical disk. The game, Menghrajani told Motherboard, is kind of like a cross between Tron and Snake.

Previously, the Square employee managed to fit an entire bootable floppy disk containing a video game into a 140-character tweet. The current game takes advantage of Twitter’s recent doubled character limit, letting him create a CD-ROM-compatible game in 277 characters. He says the inspiration came after researching the CD format at work and realizing he could program functions with minimal characters.

For those with programming know-how, the process of cramming all of that code into this tiny space is known as “code golfing,” where people try to reach an objective, create a program, or solve a puzzle in the fewest lines of code possible (or in this case, the least amount of characters). The golfing namesake draws from the sport, where the fewest number of strokes (or keystrokes, in this case) “wins.”

See and read more!


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Despite multiple bankruptcies, RadioShack continues to find ways to keep the lights on

Wearables — Molding with glue

Electronics — A few words on inductor resistance

Biohacking — Running Blades

Python for Microcontrollers — Help bring CircuitPython to other languages!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.