iDevGames Forums
Gamecenter or Own Server? - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Gamecenter or Own Server? (/thread-10266.html)

Gamecenter or Own Server? - avidgamer101 - Aug 28, 2012 01:28 AM

Hello All,

I am working on a 2 player multiplayer game, and was at the juncture where I need to decide between hosting the game on a server, or just using apple's gamecenter and gamekit SDK and use a phone to phone connection.

I am not very familiar with the pros and cons of either of the two options, but I do know Server hosting will be costlier.

I would appreciate any help on this decision, or any suggestions.

Which would be better in the long run.


RE: Gamecenter or Own Server? - ThemsAllTook - Aug 28, 2012 10:59 AM

Depends largely on the type of game and what all you want to do with the server. If you want to implement anti-cheating measures, you'll need a central server. If the game is cooperative, cheating isn't likely to be as much of an issue. I assume you'll also get quite a lot more latency from using a central server than a local connection (does GameKit establish a direct Bluetooth connection between phones? I can't remember), so if the game is real-time, local might be your only viable option.

I'm definitely not an expert, but here are a few pros and cons as I see them for using a remote server:

Pro: Cheating prevention possible
Pro: You can collect real-time usage data if you want
Pro: Players wouldn't have to be in local range of each other to play together
Con: Slower, higher latency
Con: Requires you to invest time and money into server setup and maintenance
Con: Server could potentially get overloaded if enough players are on at once

RE: Gamecenter or Own Server? - avidgamer101 - Aug 29, 2012 03:05 AM

all valid points.....thanks a ton!

The game I am planning is kinda real time but not super hardcore and I was not planning on making it local only.

Gamecenter allows for hosted multiplayer, but the hosting is done through one of the devices.

Decisions decisions.....whew!

thanks guys

RE: Gamecenter or Own Server? - Jamie W - Sep 1, 2012 02:12 AM

I get loads of requests for multiplayer in Retro Racing. I want to use multiplayer on other games I develop to; either local or over the internet.

As I understand it, if it's over local network or bluetooth, you can do matching on GameCenter, then use the GameKit API to host the game on one device, and connect up with other devices to play the game.

Is that correct?

RE: Gamecenter or Own Server? - avidgamer101 - Sep 3, 2012 01:41 AM

yes that is how it works.

Gamekit will automatically select which phone to host on.

RE: Gamecenter or Own Server? - akkishore - Sep 18, 2012 03:30 AM

I would like to mention the option of Gamooga here - - its a realtime backend for multiplayer games.

It allows you to upload server side scripts onto its cluster and hence requires no server deployment. Also since there is server side code, you have an authoritative game server. It provides an iOS API that you can use with in your client side code to communicate with the server side code.