Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a turn based two player game. In my game in a certain stage if player 1 loses he must give few points that he have to the opposite player. The game is implemented with game center. Is there any possibility that I can do this point exchange via game center. I am also thinking about creating a local DB can some one help me with the best possible way.

share|improve this question

I dont know the version of the sdk you are using, but in the latest version Game Center now support multiplayer games, witch means now Game Center can handle all data exchange.

Take a look at this tutorial: How To Make A Simple Multiplayer Game with Game Center Tutorial: Part 1/2

share|improve this answer
@ nicos thanks for the help.... – Mini Bi Nov 11 '12 at 2:36
if this answer helped you, please consider accepting it and up-voting it. This increases your accepting rate and motivate other users to respond your other questions (and also gives rep) – Nicos Karalis Nov 11 '12 at 11:05

The ammount of "points" stored in the GS is always an integer number. 1500 points (I noticed that some funny boys hacked the game highscores for the IOS game "Temple Run" putting the maximum possible integer 237~.

Anyway a simple script would handle that example:

If player A wants to give $x= '1000' points Then

Check if Player A point count =< $x

If False end

If true add value -$x points to Player A point count

and Add value $x to player B point count END

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.