One thing you might need is a server to store the game state as you can't guarantee that both (all?) players will be on-line at the same time. One of the things this would store would be whose turn it was.
Then when a player turns on his/her phone or starts the game they would see a message saying it's their turn.
You could use this server to store high scores and tables too.