O'Reilly logo

Multiplayer Game Development with HTML5 by Rodrigo Silveira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lobby and room system

The concepts of game rooms and a lobby are central to multiplayer gaming. In order to understand how it works, think about the game server as a building in which people go in order to play games together.

Before entering the building, a player may stand in front of the building and enjoy the beauty of the outside walls. In our metaphor, staring at the front of the building would be the equivalent of being greeted by a splash screen that introduces the game.

Upon entering the building, the player may or may not see some options from which to make a choice, such as a listing of the available floor to which he or she may want to go. In some games, you can choose the type of game to play as well as a difficulty level. Think of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required