End of the Game Message

Situation

At the end of the game a dialog window appears with one of the texts listed below. The text depends on the type of game.

Dialog Text

For the HOT SEAT regime:

- "First player WINS!" (str_1st_win)
- "Second player WINS!" (str_2nd_win)

For playing with CYBIKO, playing with a remote partner, and in one-player games without the score count:
- "You WIN!" (str_You_win)
- "You lose." (str_You_lose)

For one-player games in which the result is measured in the number of
points scored:
- "Best Score - number of points"
- "Last Score - number of points"
- "You have the best" - if a record was set.

For example:
"Best Score - 100"
"Last Score - 200"

 Buttons

For the HOT SEAT regime:

- <Quit> (mbQuit), <Cancel> (mbCancel)

For playing with CYBIKO or with a remote partner:
- <Quit> (mbQuit), <Cancel> (mbCancel)

For games without a partner:
- <Quit> (mbQuit), <Restart> (mbRestart)


Responses to the buttons

For the HOT SEAT regime, playing with CYBIKO, or playing with a remote partner:

<Quit>
- Exit to the Select Partner menu, if the application was started via the Select Partner menu.
- Exit to root if the application was started via an invitation of a remote user.
<Cancel>
- The field of the game is displayed if the game began. Then the application is exited via the standard exit dialog.

For one-player games:
<Quit>
- to exit into root.
<Restart>
- to begin a new game.

Responses to the cancellation via <Esc>

The game field is displayed. However, the game cannot be continued.