Best way to save high scores
I was just wondering what the best way would be to store high scores for my small Java game.
I have thought of just saving it into an external txt file, and having that read in each time the game is started, but this makes it too easy for the high scores to be modified, or accidentally deleted.
I don't know how important it is that the high scores can't be modified using a text editor, this is a uni assignment and there is no mention of that fact, only that we need to store high scores and reload them each time the game is started, but I would like to be able to do it so it's a little more secure and can't be tampered with :).
Any ideas are greatly appreciated.