Skip to content

High Score Design

PaulAlger05 edited this page Apr 13, 2022 · 8 revisions

The file format for saving high scores is a binary file. Each HighScore is saved with the score first, followed immediately by the name associated with the score. The Scores are stored in ascending order. This enables for easy access to the lowest score, as you will only need to read the first Integer and nothing else to determine if a given score qualifies to be ranked. There will always be only 5 scores stored at any given time. An example of this represented in a readable format can be seen below:

  • 1000First
  • 2000Second
  • 3000Third
  • 4000Fourth
  • 5000Fifth

Exact details on acquiring points can be found in the Game Specification Document

The classes can be found below:

Design Review

2022/04/12 Paul Alger

  • No specific recommendations for current phase of the design

Clone this wiki locally