To this point in the book, many problems have been addressed pertaining to Android game development. From moving characters to collision detection, your game should be shaping up nicely. However, one fundamental problem has yet to be addressed: how do you keep score?
Scoring is an integral part of most games. Without a score, the player would have no way to determine how well they are progressing in the game and no way to compare their progress with that of other players. From the earliest days of video games, scores have been the center of many players’ bragging rights.
In this chapter, I will present solutions to some common problems related to keeping the score in a game. The solutions should be adaptable to most ...