This is a xcode project that uses the default cocos2d project and adds gamekit peer to peer so that when you tap the screen the other iPhone sees the block and vice-versa.
I ripped the code from GKTank and it still needs some cleanup.
you will need to change:
// GameKit Session ID for app
#define kSessionID @"gratcoTwoPlayer1"

If you use this please download my apps:
Grat's Apps
here is project:
TwoPlayer
If anyone improves it please give me source code.
|