Book Image

Multiplayer Game Development with HTML5

By : Rodrigo Silveira
Book Image

Multiplayer Game Development with HTML5

By: Rodrigo Silveira

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p>
Table of Contents (13 chapters)
Multiplayer Game Development with HTML5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

JavaScript outside the browser with Node.js


It wasn't too many years ago when a so-called web developer used JavaScript on the rare occasion when a web form needed client-side validation. Since CSS wasn't as advanced as it is today, or at least it wasn't widely supported, JavaScript was also used in order to create image rollover effects. Not many years ago, the words JavaScript and programmer would not have gone well together.

However, times change and technologies evolve. Today, qualified JavaScript programmers are sought after and compensated very competitively relative to programmers of other programming languages. This is a reflection of how popular and powerful the JavaScript language has become.

As a result, JavaScript is steadily going from being The World's Most Misunderstood Programming Language (Crockford, Douglas (2001). http://javascript.crockford.com/javascript.html) to becoming an enterprise-level language, which is used in applications both inside the browser as well as in...