📜 ⬆️ ⬇️

BrowserQuest - multiplayer game on canvas

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

Screenshot 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:



Play everywhere!

Devices 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!

Source: https://habr.com/ru/post/140806/


All Articles