Chapter 12
Making Multiplayer Games
This chapter is devoted to the practical application of the skills that we have learned in the previous two chapters. The goal is to make a fully functional multiplayer Four Balls game out of the single-player version that we developed in the Chapter 3. After reading this chapter, you will know how to:
- Implement the basic multiplayer architecture
- Distribute the game logic between the client and the server
- Share the JavaScript components between the browser and Node.js
- Use Socket.IO for handling the real-time communications
We will start by looking at the anatomy of the networking game, from the challenges of a typical casual online game to the more advanced fast-action, real-time games that are likely to ...
Get Pro Android Web Game Apps: Using HTML5, CSS3 and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.