Skip to content

High Score Design

iover106 edited this page Apr 28, 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 at the end of the game. The player name will be saved to the file. Both the final score and the player name will be written 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