I have a round-based Multiplayer game for Android that has been working over XMPP before, and I want to switch to Google Play Game Services. In the old version, there was an
I have solved the problem by comparing the player ids (which are random for each game):
String myid = mActiveRoom.getParticipantId(client.getCurrentPlayerId()); String remoteId = null; ArrayList ids = mActiveRoom.getParticipantIds(); for(int i=0; i 0 );