user692168
user692168

Reputation:

Google Play Games: Send data without taking a turn?

I would like to allow users who have already joined a match to agree on what level of my game to play the match on before anyone takes a turn. The process would look like this:

Now, in order to implement the level selection UI, I have to somehow notify the other users when a user has made a suggestion. The only API call I see that can send data is the takeTurn() method call. How can I allow any client to send data to the other clients at any time without waiting for its turn?

If I can't do this at all with Google Play Games turn based APIs, what other options should I look at?

Upvotes: 0

Views: 93

Answers (1)

Clayton Wilkinson
Clayton Wilkinson

Reputation: 4572

In turn based multiplayer, the first player takes the first turn before the other players get access to the game. So the easiest way to solve your problem is to have each player call takeTurn to vote on the game level (either propose a new level or accept the proposed level). Once a level is agreed upon, then present the actual game to the players and play accordingly.

Upvotes: 1

Related Questions