Mozilla's BrowserQuest is a tribute to classic multiplayer games. You play as a young warrior who is seeking adventure on his fifth point. There is no need to save the beautiful princess, but it will more than pay you back for the dangerous world filled with treasures
and cows . And most importantly, all this is done using HTML5 and JavaScript!

The project is open source and
hosted on GitHub !
Multiplayer

In BrowserQuest, thousands of players can play at the same time, evenly scattered around the game worlds. Find out the exact number of players online, you can click on the counter in the lower right corner. Players can interact and communicate with each other using the built-in chat. There is an opportunity to organize clans and fight with insidious enemies together.
Powered by WebSockets
I think everyone heard about WebSockets - this is a new technology that implements bi-directional data exchange between the browser and the server. BrowserQuest is a demonstration of how this technology can be used to create a multiplayer game. When you start playing, your browser opens the WebSocket connection to one of the game servers selected by the load balancer. Server-side is executed on Node.js, so part of the server code is also used on the client.
')
HTML 5
BrowserQuest uses all new web technologies to its fullest extent, such as:
- HTML5 Canvas , which is used as a game engine.
- Web Workers allows you to initialize large maps of the game world, without blocking the gameplay.
- LocalStorage stores some data about the world and your character.
- CSS3 Media Queries allows you to tailor the game to different devices.
- HTML5 audio helps you feel like a real warrior when you hear another rat or skeleton die :)
Play everywhere!

Since BrowserQuest is written in HTML5 / JavaScript, it is available through most browsers and platforms. The game is tested on Firefox, Chrome and Safari. If you enable WebSockets, it will run on Opera. Also declared compatibility with iOS devices, phones and tablets with Firefox and Android on board.
The mobile version is still experimental and less stable than the desktop version due to performance limitations, but it also gives an idea of what games can become in the future. Try it on your phone;)
Join the adventure!