high score, best score are saved to localStorage and keep the state of game