im making a tic tac toe game for a school project.
How would i keep high scores

when someone wins
i want to check if it can go in high scores
if it can put it in high scores
if not coninue game


how would i do this
i only want the top 10 scores

any ideas
thanks