You may want to use a file to record your score record. First, create a constant called SCORE_FILE = "score.txt" to represent the score file name. Then create a new boolean variable score_saved to indicate if you have saved your score. Because you only want to save the score once. When the game is over, open the score record file and add the new score. Finally, display the high record along with your current score.