O'Reilly logo

Creating Mobile Apps with Appcelerator Titanium by Christian Brousseau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up things

Before we start writing any code, we need to put some things in place in order to have a proper foundation on which to rely on.

The server side

Every online game requires a game server of some kind and our game will be no exception. It will be used to keep tabs on all the connected players and will relay all the games' interactions to the players.

Our game server must meet the following requirements:

  • It must be accessible through a standardized protocol (HTTP in our case)
  • It should have Web Socket support
  • It should be easy to develop (we are the ones coding it after all)

There are a lot of web servers out there that can meet these requirements. All these requirements are based on different technologies under the hood, requiring us to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required