Friday, December 27, 2013

How to achieve such backgammon online gaming, on the iphone, mainly network programming

P2P could achieve? A host main building, another enters, just like dota

Must have a server-side process? ?

How to test? One can not simultaneously open on its own virtual machine, right
two iphone
Reply:
How to test? Simultaneously on a single machine can not open two iphone virtual machine, each virtual machine running a program, right?
Iphone how to run two programs?
Reply:
You can use gksession, and gkpeerconnection, for the class of network communications
Reply:
Backgammon, then two people, the feeling with the Bluetooth on it.
If you use the network, then the network also need to determine which of two people for the game, too much trouble.
Reply:
reference to the third floor xiaowei4895 reply:
backgammon, then two people, the feeling with the Bluetooth on it.
If you use the network, then the network also need to determine which of two people for the game, too much trouble.


Networks continue solving ideas
Reply:
1 qq similar backgammon game, you need to have a server with all the people connected to the server, and then list all the people online, pick the right game.
2 Put your ip game needs to tell another person, such as through text messaging, or other channels, allowing another person to connect this ip, for the game.

No comments:

Post a Comment