I am working on a turn based game which uses game center. I do not save any match data locally. While the game goes on, one of the players ends the game and submit score for him self. When the other player launches the game, he gets all matches from the game center (including finished). My problem is, I can not determine for which game I had already submitted the score. For better understanding I list the steps of the scenerio.
- Bob starts a match
- Alice accepts the match
- Alice plays & ends turn
- Bob plays & ends turn
- ...
- ...
- ...
- Bob ends match & submits his score to leaderboard
- Alice launches game and gets from game center 10 finished matches.
Now how do I know, for which matches did I submit the score. As far as I know I can not update the match data, after the match has finished. So I can not save any flag to match data anymore.
Do I something wrong and finish the match too early? Should all players have to wait other players submit their score?
Do I have to save match data locally?
I thought also using last turn date of the match and save locally "last score submit date".
Saving match data or date locally is bad for multiple devices.