Only show the end game modal once.

Caveat: The state of the modal is saved in localStorage only, so it might show up eg. in a different browser.

Closes #8.
Rename game.gameId => game.id.