calbri / TetrisAVR

CSSE2010 Assignment - Good copy
1 stars 0 forks source link

EEPROM Storage of High Score Leader Board #17

Closed calbri closed 8 years ago

calbri commented 8 years ago

Implement storage of a leader board (top 5 scores and associated names or initials) in EEPROM so that values are preserved when the power is off. If a player achieves a top-5 score then they should be prompted (via serial terminal) for their name or initials. The score and name/initials must be stored in EEPROM and must be displayed on the serial terminal on program startup and at each game-over. (You must handle the situation of the EEPROM initially containing data other than that written by your program. You will need to use a “signature” value to indicate whether your program has initialized the EEPROM for use.) Name/initial entry must be resilient to arbitrary responses (i.e. invalid characters/keypresses should not cause unexpected behaviour).