You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
When the game is over, we need to display a screen to let the players know who has won this round. A first step is to create a structure for this screen.
First, decide what kind of screen we want: a window that shows up in the middle of the Game view? A new full-screen view? A pop-up? Once you have decided, make sure to write a test to ensure this screen exists.
The actual contents of the screen can be dealt with afterwards.
Test
I have added a draft test in game_view.cpp, feel free to change it to match your idea of the results screen
#ifdef FIX_ISSUE_718
// (718) A game_view has a Results screen
{
game_view gv;
gv.get_results_screen();
}
#endif// FIX_ISSUE_718
The text was updated successfully, but these errors were encountered:
Context
When the game is over, we need to display a screen to let the players know who has won this round. A first step is to create a structure for this screen.
First, decide what kind of screen we want: a window that shows up in the middle of the Game view? A new full-screen view? A pop-up? Once you have decided, make sure to write a test to ensure this screen exists.
The actual contents of the screen can be dealt with afterwards.
Test
I have added a draft test in
game_view.cpp
, feel free to change it to match your idea of the results screenThe text was updated successfully, but these errors were encountered: