SudokuSolver Forum
http://www.rcbroughton.co.uk/sudoku/forum/

Scoring without effectively modifying grid
http://www.rcbroughton.co.uk/sudoku/forum/viewtopic.php?f=11&t=171
Page 1 of 1

Author:  mhparker [ Mon Jul 07, 2008 2:54 pm ]
Post subject:  Scoring without effectively modifying grid

Hi Richard,

I've noticed that although scoring doesn't affect the UI, it does affect the underlying grid. After pasting in a prospective puzzle definition, one of the first things I usually do is to perform a Score. Depending on the scoring results, I sometimes want to step through the puzzle to have a look in more detail at what moves are involved. Trouble is, if I perform a Step (F10) immediately after a Score (F7), I immediately get the solution and the log message "Puzzle Completed"! In order to step through after performing a score, I have to re-paste the puzzle definition in again first.

Would it be possible to either perform the scoring on a copy of the grid, or backup/restore the grid state before/after doing the scoring, so that the the re-paste in the above scenario is unnecessary?

Author:  Ed [ Mon Jul 07, 2008 8:32 pm ]
Post subject:  Re: Scoring without effectively modifying grid

mhparker wrote:
In order to step through after performing a score, I have to re-paste the puzzle definition in again first.
This has only just started in recent releases. Another way to get around this is to use the << "Undo to previous bookmark or starting position" button. Saves having to re-paste the definition.

However, my preference is the same as Mike's - the old way.

Cheers
Ed

Author:  rcbroughton [ Tue Jul 08, 2008 10:41 am ]
Post subject:  Re: Scoring without effectively modifying grid

Ed wrote:
mhparker wrote:
In order to step through after performing a score, I have to re-paste the puzzle definition in again first.
This has only just started in recent releases. Another way to get around this is to use the << "Undo to previous bookmark or starting position" button. Saves having to re-paste the definition.

However, my preference is the same as Mike's - the old way.

Cheers
Ed
That's what's commonly called a bug - I will go out bug-hunting

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/