So I'm doing a high score routine that fetches the top ten scores from a remote server. My question is about timing logic. Say, for instance, the user finishes the game. The program determines this is a high score (top ten) and presents the user with a screen to enter their name. During this time what prevents another user somewhere with another high score from recording his/hers?
I realize there would have to be a lot of traffic in my game for this to happen- which is unlikely, but how do you handle the scoring event? It seems that it's possible that by the time the user enters his name and the data is sent, that high score may be outdated.
Any thoughts?
I realize there would have to be a lot of traffic in my game for this to happen- which is unlikely, but how do you handle the scoring event? It seems that it's possible that by the time the user enters his name and the data is sent, that high score may be outdated.
Any thoughts?