Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I only have experience in physics-based games in cocos2d.

I want to develop a turn-based game in Cocoa Touch (iOS). Two players will play this game on different devices which connect via Bluetooth or Game Center.

I'd like to know how to synchronise two devices through a Bluetooth connection.

Please tell me of any blog tutorial, guide, or sample code which will help.

share|improve this question
1  
This question comes across very much as, "Please search the web for me". –  Nick Wiggill Aug 26 '11 at 10:14
1  
i had searched more. But not get well.. So, that's why i post this question.. if you got anything related to my question than please tell me.... Thanks.. –  Jagdish Aug 26 '11 at 10:18

3 Answers 3

Whenever I have network architecture questions, I refer to this wonderful document about how the Unreal Engine does it:

http://udn.epicgames.com/Three/NetworkingOverview.html

It's likely more than you need, but it's a great read and you'll likely be able to use concepts from it.

share|improve this answer
    
Thanks John. Your doc link very useful to networking concepts and it has lots of information.. But its not enough for my question.. If you have any other resource than tell me.. –  Jagdish Aug 27 '11 at 5:38

How you synchronize the games is going to be very different from game to game.

You just need to figure out what both clients are going to need to send across, package that up, and send it. There are some turn-based game helpers in iOS 5 that you can use to send messages back and forth.

share|improve this answer
    
hey Tetrad.. i am using ios 4.3 so, how to implement this type of game in. My requirement only how to sync one app in two different devices.. –  Jagdish Aug 27 '11 at 5:42
up vote 1 down vote accepted

Finally I done.. I have use this blog tutorial

And do some logic with turn base.. Only maintain in this game center needs Send and Receive.. Thanks all who be a part of that.. Thanks...

share|improve this answer

Your Answer

 
discard

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.