Commanding Chaos for Coworking, Open Source and Creative Communities

Mozilla launches multiplayer browser adventure to showcase HTML5 gaming | Ars Technica

Fri, 07/27/2012 - 14:36 -- rprice

modern standards are making the Web an increasingly viable platform for game development.

BrowserQuest, which is built with JavaScript and HTML5, is a compelling demonstration of how existing standards can be used to create browser games. It uses the HTML5 Canvas element to render a tile-based 2D world, HTML5 audio APIs to support sound effects, WebSockets to facilitate communication with the backend server, and localStorage to save the player's progress.

The game's remote backend, which enables the real-time multiplayer gameplay, was coded in JavaScript and runs on top of Node.js.