A game keeps its high score in a file. The file holds one whole number followed by a newline, like "40\n".
Write update_best(path, score):
score is higher, replace the file's contents with score followed by \n.int.A tie is not higher, so the file stays the same. Leave the make_file helper as it is.