This is something that I really want to do but I have absolutely no idea where to start!
At the end of each cycle in the game, the user's score is displayed. I would like the sketch to remember the 5 lowest scores (the aim is to achieve the lowest score possible) and display them on a leaderboard.
At the end of each cycle in the game, the user's score is displayed. I would like the sketch to remember the 5 lowest scores (the aim is to achieve the lowest score possible) and display them on a leaderboard.
I would like to be able to have three initials next to the top 5 highest scores.
for example the scoreboard would look like this
- AMP - 343
- LVW - 356
- MPG - 359
- MPG - 406
- SJW - 410
Then if the next player scored 360, the game would prompt them to enter three initials, eg- AHM
the scoreboard would update to
- AMP - 343
- LVW - 356
- MPG - 359
- AHM - 360
- MPG - 406
but if a player scored 500, it would not prompt for an initial and the scoreboard would remain as is.
furthermore, any way to write the results to a save file which would recall the data when the sketch was closed and reopened.
Any suggestions of where to even start would be greatly welcome! Thanks in advance!!
1