Currently get a popup alert once game is completed: "Game Over. Refresh page to play again". Make the following changes:
[ ] Instead of a popup alert, make this message display on the screen.
[ ] Supply a summary of the game (each of these on a different line):
(Outcome) where if the player has lost, this should read "You lost!", and if the player has won, this should read "You won!"
You survived for H waves. (where H is the number of waves — i.e., hours — the player completed; 24 if the player won).
You destroyed A enemies out of B (where A is the number of enemies the player destroyed and B is the total number of enemies across all waves).
Your final score is: S (where S = number of points, as computed according to formula in Issue #18)
[ ] Below that, add a line "Replay?" with two buttons: "Play again" (which restarts the game without requiring the user to re-login, i.e., same data) and "Play with different email address" (which redirects back to the main landing page so user has a change to enter a different email address).
Currently get a popup alert once game is completed: "Game Over. Refresh page to play again". Make the following changes: