Need help with MySQL for a leaderboard
Posted: Tue Jul 29, 2014 4:51 pm
Hello. I have been working on an android app and am now trying to implement a global leaderboard where high scores are saved.
Pretty much I want my app to retrieve a list of the top 50 scores, compare them to see if the users new score is better then any of them, if so place it in the leaderboard and re-order the scores. The top 50 scores would also be displayed in the app.
My question is should I use MySQL for this and if so how would I go about it? I have read the Runrev tutorials but I cannot follow them becasue I have no knowledge of how MySQL acctually works and how I could change their code to meet my needs.
Any help is greatly appreciated. Thanks.
Pretty much I want my app to retrieve a list of the top 50 scores, compare them to see if the users new score is better then any of them, if so place it in the leaderboard and re-order the scores. The top 50 scores would also be displayed in the app.
My question is should I use MySQL for this and if so how would I go about it? I have read the Runrev tutorials but I cannot follow them becasue I have no knowledge of how MySQL acctually works and how I could change their code to meet my needs.
Any help is greatly appreciated. Thanks.