• Home

CodingExperiments.com

Linux, PHP, and the blogosphere

Search

Category:

  • Apple Inc.
  • Apps
  • Facts
  • Fun
  • Google
  • Ideas
  • Internet
  • Linux
  • Microsoft
  • PHP
  • Programming
  • Rants
  • Security
  • Uncategorized
  • web 2.0

Archives:

  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007

Pages

  • About
    • The Authors
  • Commenting your code
  • How to Write Papers with Groff
  • ModCMS Anti-Spam Component Set
  • ModCMS Technical Specifications
  • Regular Expressions Guessing Game
  • Saving code directly to a web server
  • The (Almost) Perfect PHP 404 Page

Meta:

  • RSS
  • Comments RSS

Awesomeness tracker

CodingExperiments at Blogged View blog authority
Free Page Rank Tool

Javascript Mario Kart. What’s with the Javascript Craze?

May 28th, 2008 by Rishabh Mishra

CodingExperiments has covered an interactive 3D viewer that uses Javascript. That’s pretty neat, but it’s small potatoes to Javascript Mario Kart. Yeah, you read that right. It’s Javascript.

Now, how does it play? Well, I’ve never had a better gaming experience in my life. The controls are so wonderful, the graphics are better than a PlayStation 3 game, and the AI is very intelligent.

You probably didn’t believe me for a second. The controls are annoying as you can only press one key at a time and the graphics are ugly and slow. The AI still beats me, though that’s because I suck at Mario Kart and that I had trouble adjusting to the one-keypress thing.

Now, what does this example teach us? Let’s see.

  • Whatever it is, you have a pretty good chance that it can be written in Javascript, even though it won’t probably work that well.
  • Internet Explorer is shooting itself in the foot by having it’s own proprietary standards and not supporting the official ones.
  • Sadly, some things have to be left to Adobe Flash and Shockwave.

Now think if you’re going to be playing this a lot. Unless you are some Javascript addict, you are probably going to play Javascript games a couple times and then forget about them. This is a good example for a lot of web applications. If you’re creating a web application that uses way too much Javascript, and making the web application annoying and slow, people are going to go to other web applications or desktop ones.

Javascript Mario Kart is still pretty cool though. :D


Posted in Uncategorized |

  • Voyagerfan5761
    I was able to go forward and turn at the same time in Firefox 2. That's two keys simultaneously. Your problem sounds odd.

    Flash and Shockwave were designed for creating rich content. JavaScript is just an interaction language, designed to work with HTML. All these JavaScript games are at best creative hacks using JS, Canvas, and some other tricks to make something that's really outside JavaScript's intended field. But yes, they are pretty cool.

    And yes, IE is shooting itself in the foot by being "different" from Mozilla, WebKit, et al. Why not just let Microsoft go back to making operating systems and abandon the browser market, anyway?
  • Rishabh Mishra (possible248)
    Well, I think that Microsoft doesn't stick with making operating systems for the same reason that Google does not stick with search and advertising.
  • Voyagerfan5761
    The pursuit of more money, yeah. Only difference is, Microsoft seems to suck at making their primary product. Google's primary products are pretty much the de facto standard for the Web (yeah, Windows is the standard OS; hang on) and it doesn't have users banging their heads against their desks in frustration at the simplest tasks (see, I got there).

    /me wishes Microsoft would fix its flagship product before trying to branch out.
  • chollander
    1.) this is not a port of mario cart. this is a silly javascript trick.
    2.) just because you can do something, it doesn't mean you should.
    3.) I doubt anyone on the IE team is loosing sleep over IE's inability to support this sad, sad bastardization of the most awesome mode-7 fun you've ever had.
    4.) where javascript, flash, shockwave, AIR, javaFx, or silverlight fall short, assembler will be there (and was there 16 years ago) to pick up the pieces.



    5.) what do microsoft, operating systems, or google have to do with Javascript Mario Kart?
blog comments powered by Disqus