Image
Mozilla is flexing its HTML5 muscles today, with a new game called BrowserQuest. Designed specifically for browser-based gaming, BrowserQuest brands itself as a "tribute to classic video games with a multiplayer twist." The game's plot is relatively routine -- warriors, hidden treasure, etc. -- but what's most interesting is its underlying architecture. Its 2D tile graphics engine is powered by HTML5 Canvas, with browser-to-server communications handled by WebSockets. Sound effects, meanwhile, are powered by HTML5 audio APIs, and each player's progress is saved using localStorage. The game also supports lots of simultaneous players, thanks to a JavaScript-coded backend that runs on Node.js. You can keep track of the player load in real-time at the BrowserQuest Dashboard (linked below). For more details, check out the source link at the bottom of the page, or click past the break for a brief demo video.