GNOME Bugzilla – Bug 731314
On game over, prompt the user to play again
Last modified: 2014-06-17 14:03:40 UTC
Instead of just telling the user his time and giving him an OK button, let's allow him to choose to either quit or start a new game. Otherwise the only way to start a new game would be to use the new game action in the app menu (awkward -- new game is too important to hide up there) or select the current board size again (currently the easiest approach).
Created attachment 277990 [details] [review] On game over, prompt the user to play again This allows us to simplify the UI by obviating the need to move the new game action from the app menu into the window. It's also simply more useful than an OK button. The user can instead choose to quit the app from this dialog. What a timesaver!
Created attachment 278039 [details] [review] On game over, prompt the user to play again This allows us to simplify the UI by obviating the need to move the new game action from the app menu into the window. It's also simply more useful than an OK button. The user can instead choose to quit the app from this dialog. What a timesaver!
Review of attachment 278039 [details] [review]: One minor nit, otherwise the patch looks good, thanks! Please commit with this change. ::: src/rules.c @@ +271,3 @@ + gtk_dialog_add_buttons (GTK_DIALOG (dialog), + _("_Quit"), GTK_RESPONSE_REJECT, + _("Play _Again"), GTK_RESPONSE_ACCEPT, I think the mnemonics for 'Play Again' here and 'Keep Playing' in bug #731337 should be made consistent (i.e. both should be 'P'). So this should be '_Play Again'.
Created attachment 278604 [details] [review] On game over, prompt the user to play again This allows us to simplify the UI by obviating the need to move the new game action from the app menu into the window. It's also simply more useful than an OK button. The user can instead choose to quit the app from this dialog. What a timesaver!
Attachment 278604 [details] pushed as d2bf067 - On game over, prompt the user to play again