Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

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 wish to do a turn based multiplayer game like Words with friends on the iphone. I would like to know the approach for the implementation to allow the user to continue games that are currently still active even after a couple of days. Is this even possible using Game Center?

share|improve this question

All that you need to do is store the game state somewhere persistent where all the players can get at it. For example in a database accessed via a web server. That server could also process each players turns on the game if you want it to (this helps prevent cheating). You can then easily control how long it stores the game state for. For example it would appear words with friends simply allows a maximum of 20 in progress games per player, and the game state is probably no more than a few hundred bytes per game so the storage requirements on the server would be quite small.

I'm not certain about Game Center, but a quick look suggests that as long as your game can get at the User ID of the player that's all you'd need to track the game in your database.

share|improve this answer

I would implement that functionality on your server, and have your data stored temporarily (the stuff that you know won't change) on the iPhone itself.

(edit) whoah, do you even have a server when you use game center?

share|improve this answer
the idea of using game center is such that I don't have to build a server because I have no knowledge of building a server. – user6101 Mar 15 '11 at 12:10
Ohhhh gotchya =), good to know! – ultifinitus Mar 15 '11 at 15:21

Your Answer


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