I want to make a social game by Flash to embed in several social networks.
This is my main flow:
#1. Log in, and go to lobby
#2. Join room & start game
#3. Play with other players in room
I don’t know how to achieve that because there’re a lot of solutions which make me so confused:
A. Use one of PUSH technologies (COMET, Server-Sent Events, WebSocket).
B. Use a server to deliver messages between clients.
B1. Rent or buy a server to run server side application, like Union, SmartFox.
B2. Use platform, like PlayerIO.
But how to control this server by PHP? I’m a newbie, so any help will be appreciated!