Chapter 19. On the Server: In-game Metrics, High Scores, and Deployment

Topics in This Chapter

19.1 Node.js and socket.io

19.2 Include socket.io JavaScript in Snail Bait

19.3 Create a Simple Server

19.4 Create a Socket on the Server

19.5 Start the Server

19.6 Create a Socket on the Client and Connect to the Server

19.7 Record In-game Metrics

19.8 Manage High Scores

19.9 Deploy Snail Bait

19.10 Upload Files to a Server

19.11 Conclusion

19.12 Exercises

The most important aspect of any game is how much fun it is to play. One way to make your game more fun is to adjust gameplay based on in-game metrics. For example, if you see that very few players advance past a particular point, you can make it easier to get past that point. ...

Get Core HTML5 2D Game Programming 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.