I've created a game and would lke to be able to save the players high score. to help with the code the high score in my game would = 'offer'

I assume i would save the high score to a txt file? but have never done this before.

Nick