After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734893 - Show solution
Show solution
Status: RESOLVED OBSOLETE
Product: gnome-sudoku
Classification: Applications
Component: general
3.13.x
Other Linux
: Normal enhancement
: ---
Assigned To: Sahil Sareen
gnome-sudoku-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-16 02:05 UTC by Michael Catanzaro
Modified: 2018-05-22 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2014-08-16 02:05:17 UTC
We should have a button that allows the player to give up and display the solution on the board.

Not that a Sudoku genius like myself would ever want such a button when working on a Simple puzzle. Not I. F4or others. Yup.
Comment 1 Sahil Sareen 2014-08-21 05:25:28 UTC
I want to take this up.
Comment 2 Parin Porecha 2014-08-21 08:18:08 UTC
Feel free, Sahil.

If you need help, you can ask here, or on #gnome-games channel on GimpNet.
Comment 3 Parin Porecha 2014-08-21 12:50:43 UTC
Just an idea -

- I don't think we should always show a button that shows the solution. We should instead integrate this with Hints.
A possible implementation might be - Check for the no. of times user has clicked 'Show hints' (a feature yet to be discussed and finalized). If the no. is much bigger than it should be based on the difficulty level, it shows that the user is struggling.
So at this point, we can show the 'Show solution' button which fills the board with the solution
We can also tie the 'Show warnings' action with Hints. If there are a large no. of cells with warnings at a point, we should enable the warnings by ourselves so that the user does not go on filling wrong values.

- Also, we should not just replace the board, but show the user where he was wrong. Example - Change background colors. Show green as the background for cells which the user filled correctly, blue for not filled ones and red for cells where he was wrong. Allan might have better ideas.

I'll file a bug for the Hints feature, and we can discuss about this over there. But regarding the solution button, I wouldn't want it to be stand-alone.
Comment 4 Michael Catanzaro 2014-08-21 13:58:59 UTC
OK, I guess we're not so sure what we want here after all. It'd probably be better to pick a different bug to start with, Sahil.
Comment 5 Sahil Sareen 2014-08-21 15:35:32 UTC
Sure Michael.
Comment 6 Karanbir Chahal 2015-10-27 20:34:09 UTC
This should be an option ,at least for the very hard puzzles,
And when we do have a scoring section, getting the answer could negatively affect the score?
Cause,newcomers would likely be dissuaded from ever opening the app again if they couldn't get past the first puzzle. THe app should cater for inexperienced player,What do you guys think?
Comment 7 Sahil Sareen 2015-10-28 05:16:33 UTC
If we have a clear consensus, I'm still willing to take this up. 

Why not break this BUG into subtasks:
!. Add the "show solution" button
2. Integrate it with Hints
3. Do the UI enhancements

I'd +1 on adding a show button for now and probably enhance it with Hints later, because the show solution functionality is anyways needed with the implementation that Parin pointed to.
Comment 8 Michael Catanzaro 2015-10-28 05:30:56 UTC
Maybe we could relegate Show Solution to the app menu? I suppose I'm uncomfortable with having a button that tempts players to give up.
Comment 9 Sahil Sareen 2015-10-28 09:56:31 UTC
(In reply to Michael Catanzaro from comment #8)
> Maybe we could relegate Show Solution to the app menu? I suppose I'm
> uncomfortable with having a button that tempts players to give up.

Agree. Having it in the app menu should be good.
Comment 10 GNOME Infrastructure Team 2018-05-22 12:25:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-sudoku/issues/11.