Build fully-featured, highly interactive multiplayer games with HTML5
About This Book
- Design, develop, manage, debug, and release your multiplayer web-based HTML5 games
- Allow players to go head to head against each other, or collaborate together in the same game world
- A progressive, hands-on guide that builds on an existing single-player game, and adds more networking capabilities at each of the iterations
Who This Book Is For
If you are a HTML5 game developer who can make basic single-player games and you are now ready to incorporate multiplayer functionality in your games as quickly as possible, then this book is ideal for you.
Developing an online game can be just as much fun as playing it. However, orchestrating multiple clients and keeping everyone in sync with a game server, reducing and managing network latency (all the while preventing cheating), and making sure every player has an excellent experience can quickly become overwhelming.
This book will teach you how to develop games that support multiple players interacting in the same game world, and show you how to perform network programming operations in order to implement such systems. It covers the fundamentals of game networking by developing a real-time multiplayer game of Tic-tac-toe before moving on to convert an existing 2D single-player snake game to multiplayer, using a more scalable game design for online gaming.
Finally you will be tackling more advanced networking topics, allowing you to handle problems such as server queries from multiple users and making your multiplayer games more secure and less prone to cheating.
Table of Contents
Chapter 1. Getting Started with Multiplayer Game Programming
Chapter 2. Setting Up the Environment
Chapter 3. Feeding a Snake in Real Time
Chapter 4. Reducing Network Latency
Chapter 5. Leveraging the Bleeding Edge
Chapter 6. Adding Security and Fair Play