Book Image

HTML5 Game Development by Example: Beginner's Guide

By : Seng Hin Mak
Book Image

HTML5 Game Development by Example: Beginner's Guide

By: Seng Hin Mak

Overview of this book

Table of Contents (18 chapters)
HTML5 Game Development by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Building a Physics Car Game with Box2D and Canvas
Index

Hosting the node.js server


For games that require a server, such as the multiplayer game, we need to host the game server. Take our draw-and-guess game as an example; we need a hosting that supports the running of the Node.js server. To get a list of hosting that supports running Node.js, go to: https://github.com/joyent/node/wiki/Node-Hosting.

Some of them, such as Heroku, are free during low usage and charge you after your application gets popular and needs to use more server resources. This pricing model is good for us to test the game with the public without paying a high price for a server renting fee.