When the game is over, it uses `document.location.reload` to reset the game. A better way would be for the game logic to handle this directly.
When the game is over, it uses
document.location.reloadto reset the game. A better way would be for the game logic to handle this directly.