Skip to content

High Score Design

iover106 edited this page Apr 8, 2022 · 8 revisions
  • The file will be written in text file format.
  • The player's name comes first, and the score comes second. The two values are separated by a comma.

The High Score screen will take a player name in a text box before starting the game. The player name will be saved to the file. At the end of the game, the final score (an integer) will be saved to the text file.

When the player clicks on the "High Scores" button on the main screen, all the player names and scores will be displayed with the highest score at the top and the lowest score at the bottom.

Sample File

Hannah,486
Abbie,650

Links to Relevant Code

High Scores Manager

High Scores Tests


Design Review

  • Date: 4/8/2022 at 7:00pm
  • Reviewer name: Rhys Fuller
  • Recommended revisions: Add a test for loading/saving the file
  • Status of revisions: Complete

Clone this wiki locally