As If You Needed Another Distraction: Super Mario Written In 14k of Java
As if there weren’t enough distraction on the web we now have an EXTREMELY tiny Java application that basically IS Super Mario.
Here’s an experiment in keepings things small and confined to one Javascript file. There are no external image files or anything, everything is rendered with Javascript using either canvas elements or old fashioned div-making tactics (for IE). The sprites are stored in custom encoded strings in a format that only allows 4 colors for each sprite but in turn only takes up around 40-60 bytes per sprite. [...]
It is by no means a complete clone or anything, it’s not even an entire level and several key things are missing, such as mushrooms, Koopas and stuff. It was merely done as a sort of proof-of-concept and to see how small it could get.
Now, if only it could be playable on the Blackberry - we would have a complete time suck here.

5 Comments, Comment or Trackback
Ryan Parman
Correction: It’s JavaScript, not Java. Huge difference. :)
Apr 9th, 2008
James
Yeah, saying that this was written in Java would be about the same as saying Basecamp is written in Python. Actually it’s probably worse, because Python is syntactically more similar to Ruby than Javascript is to Java. Javascript and Java are two completely separate languages.
Apr 9th, 2008
ryan
wow, ryan parman and james, you guys are officially the hugest nerds ever.
Apr 11th, 2008
sdfs
dsfasdf
Apr 12th, 2008
Ryan Parman
Well, some people are lazy and some are right. ;)
Jun 2nd, 2008
Reply to “As If You Needed Another Distraction: Super Mario Written In 14k of Java”