Super Mario with JavaScript

Most of us can remember the days of the Nintendo first coming out on the market. The best game in the world back then was Super Mario Brothers. I remember playing this game when I was a kid. I played it so much that I was even able to beat the game using only one life and not using warp zones. I also did not just skip by everything and just run to the end. I took my time killed all the bad guys and got almost all of the secret stuff such as mushrooms that would make you big, stars, etc.

This morning I stumbled across something that I found to be really cool. A web based version of the game that was written completely in JavaScript. The uncompressed size is 35kb and the compressed version is only 14kb. Now this is not the complete game and a lot of stuff is missing however they created this as a challenge to see if it could be done solely in JavaScript and just how small they could make the file. Everything on this is done in JavaScript. They even embedded the music as base 64 encoded data into the file. All images etc are generated with JavaScript which is actually really cool. Personally I think the guys who developed this did a really good job. Be sure to try out the game. You can find it by going to their blog post.

I had no idea you could do things like this with JavaScript and it makes me want to start looking into the language. What else could you do if you can generate something like this? Do you know of other cool things like this done with JavaScript? Please feel free to share them in the comments.



Development, Entertainment, Internet, JavaScript, Raves, Tips & Tricks, Useful.

Have your say...

CommentLuv Enabled
Technology Blogs Add to Technorati Favorites Page Rank Tool NYPHP Users Group View Joseph Crawford's profile on LinkedIn

   

SEO Consultant SEO services