Mozilla Launches Online Game Using HTML5, WebSockets

What better way to show off your HTML5 prowess than to conjure up an MMOG using the new platform? Mozilla has done just that with the launch of BrowserQuest, an old-school adventure game developed by Little Workshop. Currently the entire internet seemingly wants to check out the new demo, as it's extremely difficult to log on and stay connected.

"BrowserQuest is a tribute to classic video-games with a multiplayer twist," Mozilla reports. "You play as a young warrior driven by the thrill of adventure. No princess to save here, just a dangerous world filled with treasures to discover. And it’s all done in glorious HTML5 and JavaScript."

Powering BrowserQuest are WebSockets, a new technology that enables bi-directional communication between a browser and a server on the web. The MMOG is merely a demo to show how these WebSockets can be used to create a real-time multiplayer game in a single webpage. Even more, because it's HTML5-based, the game can be played in Firefox, Chrome and Safari. With WebSockets enabled, it’s also playable in Opera. Moreover, it’s compatible with iOS devices, as well as tablets and phones running Firefox for Android.

"When you start to play, your browser opens up a WebSocket connection to one of several load-balanced game servers," Mozilla explains. "Each server hosts multiple world instances and handles the player synchronization and game logic within all instances. Because the server code is running on Node.js, both the server and client codebases share a small portion of the same JavaScript source code."

Controls are highly simplistic. Users left-click the mouse to move, attack and pick up items, and press ENTER to chat (you can click on the little cartoon balloon at the bottom right-hand of the screen too). Quests can be accessed by hitting the little chalice button, and characters are automatically saved as you play.

"The mobile versions are more experimental than the desktop experience, which has richer features and performance, but it’s an early glimpse of what kind of games will be coming to the mobile Web in the future," Mozilla reports.

For more information about BrowserQuest, head here. Servers seem to be overloaded, so expect connection issues until the newness wears off.

Create a new thread in the US News comments forum about this subject
This thread is closed for comments
6 comments
Comment from the forums
    Your comment
  • dameon51
    Its cool and all, and I like that web tech is becoming more powerful, but at the same time it seems lackluster because these sort of thing has been around using different technologies. I get the web is open and cross platform, but I'm finding it more and more difficult to get excited about these little HTML 5/javascript tech demos.
    4
  • esrever
    I can just imagine people making lots of money off something like this for mobile devices and web. Extremely large user base with lots of possible income and being easily amused. Get them hocked on an mmo and it will prints money.
    5
  • killerclick
    We have (had) a great casual gaming platform - Adobe Flash - but it was destroyed by then Apple CEO and current corpse Steve Jobs because Adobe once stopped developing software for the Mac and Jobs held a grudge. Now we have this ugly, jerky crap, that's progess I guess.
    -3