5
\$\begingroup\$

I'm a tad confused about the turn based option with iOS5. Does this take care of everything needed to make a multiplayer turn based game?i.e all the game turn data is stored with apple or do I need to still provide a server for something?

\$\endgroup\$
5
\$\begingroup\$

You don't have to provide any server when using game center, if the player are close enough they can connect via bluetooth if not than they will be connected via internet through apples server for game center.

The only thing you need to do is to import the GameKit framework in your class and use appropriate methods to handle the events in your turn based game.

Also here are the links of the classes that you might use of game kit framework.

GKTurnBasedMatch_Ref

GKTurnBasedEventHandler_Ref

GKTurnBasedParticipant_Ref

and here are some examples that will provide a good explanation for the game event handling.

GKRocket

GKTank

GKTapper

|improve this answer|||||
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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