Multiplayer Game Development with HTML5

More Information
Learn
  • Design games using various multiplayer models
  • Create authoritative game servers
  • Develop game clients that communicate and synchronize with other clients through WebSockets
  • Write responsive multiplayer games using client prediction
  • Upgrade an existing single-player game by adding multiplayer mechanics
  • Use state-of-the-art technologies to make the development process and its end product enjoyable to programmers and amazing to the player
  • Create peer-to-peer gaming using WebRTC
About

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.

Features
  • 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
Page Count 180
Course Length 5 hours 24 minutes
ISBN 9781785283109
Date Of Publication 28 May 2015

Authors

Rodrigo Silveira

Rodrigo Silveira is a software engineer at Deseret Digital Media. There, he divides his time developing applications in PHP, JavaScript, and Java for Android. Some of his hobbies outside of work include blogging and recording educational videos about software development, learning about new technologies, and finding ways to push the Web forward.

Rodrigo received his bachelor's degree in computer science from Brigham Young University, Idaho, as well as an associate's degree in business management from LDS Business College in Salt Lake City, Utah.

His fascination for game development began in his early teenage years, and his skills grew as he discovered the power of a library subscription, a curious and willing mind, and supportive parents and friends.

Today, Rodrigo balances his time between the three great passions of his life—his family, software development, and video games (with the last two usually being mingled together).