Saving the highscore for a game?
I have made a very simple game in python using pygame. The score is based on whatever level the player reached. I have the level as a variable called score
. I want to display the top level at the start or end of the game.