Creating games are fun but the bragging rights comes from how much you scored compared to others. Let's learn how to add this functionality in any game in five min.
We will be storing the last high-score in database and will change. the same the moment new high score is achieved.
You can download the complete code from here.
https://github.com/yolabs007/MITappIn...
Please note this we will be publishing part-2 that will take care of Firebase DB which is a real time database. if you want high score need to be shared with all who play this game then we need to store it in cloud-db rather than a database in your phone or computer