HTML and CSS Reference
Real-Time Multiplayer Network
Jason Gauci, Research Scientist, Apple
Many of the most popular games have a multiplayer component. All but one of the top ten most popular games on
Steam, a digital distribution and communications platform for PCs, are either designed for a multiplayer experience
or contain support for multiplayer (see Table 12-1 ). As you will discover in this chapter, adding multiplayer support to
a game increases the range of experiences that a player can have by introducing the elements of human psychology
and social interaction to the game agents. However, adding real-time multiplayer can be rather tricky to implement
correctly. Although it may seem daunting, by following some principled methods, you can add a new, exciting
dimension to your game.
Table 12-1. Most Popular Games by Player Count (at time of writing)
Team Fortress 2
Counter-Strike: Global Offensive
Path of Exile
The Elder Scrolls V: Skyrim
Batman: Arkham Origins
Total War: Rome II
This chapter will begin by explaining real-time multiplayer network programming and then discuss what makes
this area of software engineering so challenging. The chapter will cover two powerful techniques for implementing
real-time multiplayer network programming and offer tips and tricks to make the process as simple as possible.
The chapter concludes with a case study, including links to source code and documentation.