JavaScript Tron, Written in 221 bytes

Tron is a classic game that we all know. Also known as nibbles, snake, worm, light cycle, this game has many different variants and I’m pretty sure nobody truly knows what came first. What we do know is that it’s a great game to create when beginning programming or when challenging yourself to create with sized limits. This was one of my first game created in both Basic and the TI calculators.

It’s good practice to see how efficient you can get a game / program to be. A couple of co-workers (I’m not sure what company they were working for) got together and competed to make the smallest version of Tron in JavaScript. Getting down to 226 bytes and solving to reduce to 223 is a huge achievement. So, how small can you write Tron?

Try the game here:
http://alokmenghrajani.github.com/tron/

It’s not perfect, but it is very cool to see that it only took 221 bytes for this. Enjoy!

About Phillihp Harmon

I'm Phillihp. My name can be spelled the same way forwards and backwards, so can my posts... if you wish. I'm out here exploring, learning, and sharing what I find. This is more for fun and personal growth, I aim to be as consistent as possible, so check back daily!
This entry was posted in Browsers, DIY, Hacking, Internet, JavaScript. Bookmark the permalink.

One Response to JavaScript Tron, Written in 221 bytes

Leave a Reply

Your email address will not be published. Required fields are marked *


*