6
Create a shared experience
What you will learn
Humans enjoy sharing things. The feeling of being part of a crowd at a football match or watching the same TV show together is a great thing. The Internet can host shared experiences, from streamed video gameplay to puzzles we can all work on at the same time. In this chapter, we will create a version of the Cheese Finder game that is a shared experience. All game players will solve the same grid at any given time. To do this, we will discover how to synchronize the server and browser, use pseudorandom numbers to generate “repeatable” random behavior, and spend some time optimizing our code for ...
Get Begin to Code: Building apps and games in the Cloud now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.