dailysudoku.com Forum Index dailysudoku.com
Discussion of Daily Sudoku puzzles
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Simple Sudoku Issue

 
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Site help
View previous topic :: View next topic  
Author Message
tlanglet



Joined: 17 Oct 2007
Posts: 2468
Location: Northern California Foothills

PostPosted: Sun Jul 25, 2010 3:55 pm    Post subject: Simple Sudoku Issue Reply with quote

I copied/pasted the code after basics from this forum into Simple Sudoku and saved it. However when I retrieved it later, additional digits had been added to some cells, I could not determine any pattern for what digits were added to what cells. This does not seem to be a problem for the initial code prior to basics.

Has anyone else noticed this situation or have some insight into what is happening? I even re-installed the program but no change.

Ted
Back to top
View user's profile Send private message
daj95376



Joined: 23 Aug 2008
Posts: 3854

PostPosted: Sun Jul 25, 2010 4:52 pm    Post subject: Re: Simple Sudoku Issue Reply with quote

tlanglet wrote:
I copied/pasted the code after basics from this forum into Simple Sudoku and saved it. However when I retrieved it later, additional digits had been added to some cells, I could not determine any pattern for what digits were added to what cells. This does not seem to be a problem for the initial code prior to basics.

Has anyone else noticed this situation or have some insight into what is happening? I even re-installed the program but no change.

Yes, there is a problem in loading and saving a PM with Simple Sudoku because it only saves the solved cells and any eliminations that occur since it was started. An example:

Code:
 original PM
 +--------------------------------------------------------------+
 |  2     8     1     |  9     5     6     |  7     3     4     |
 |  4     3     7     |  28    1     28    |  6     9     5     |
 |  9     6     5     |  7     34    34    |  2     8     1     |
 |--------------------+--------------------+--------------------|
 |  6     245   8     |  2345  7     2359  |  359   1     39    |
 |  35    1     239   |  6     8     2359  |  359   4     7     |
 |  7     45    39    |  45    39    1     |  8     2     6     |
 |--------------------+--------------------+--------------------|
 |  1     7     23    |  35    239   359   |  4     6     8     |
 |  58    25    6     |  1     24    48    |  39    7     39    |
 |  38    9     4     |  38    6     7     |  1     5     2     |
 +--------------------------------------------------------------+
 # 41 eliminations remain

Code:
 saved by Simple Sudoku
 *-----------*
 |281|956|734|
 |437|.1.|695|
 |965|7..|281|
 |---+---+---|
 |6.8|.7.|.1.|
 |.1.|68.|.47|
 |7..|..1|826|
 |---+---+---|
 |17.|...|468|
 |..6|1..|.7.|
 |.94|.67|152|
 *-----------*

Code:
 after reloading with Simple Sudoku: r4c6 contains <4> as a sample problem
 *-----------------------------------------------------------------------------*
 | 2       8       1       | 9       5       6       | 7       3       4       |
 | 4       3       7       | 28      1       28      | 6       9       5       |
 | 9       6       5       | 7       34      34      | 2       8       1       |
 |-------------------------+-------------------------+-------------------------|
 | 6       245     8       | 2345    7       23459   | 359     1       39      |
 | 35      1       239     | 6       8       2359    | 359     4       7       |
 | 7       45      39      | 345     349     1       | 8       2       6       |
 |-------------------------+-------------------------+-------------------------|
 | 1       7       23      | 235     239     2359    | 4       6       8       |
 | 358     25      6       | 1       2349    234589  | 39      7       39      |
 | 38      9       4       | 38      6       7       | 1       5       2       |
 *-----------------------------------------------------------------------------*

Quite awhile back, I wrote a (Windows command line) program that takes a PM and makes a .ss file so it can be reloaded correctly by Simple Sudoku. ronk and others have used it. They still may. Here's the output from my program for the original PM ...

Code:
*-----------------------*
| 2 8 1 | 9 5 6 | 7 3 4 |
| 4 3 7 | . 1 . | 6 9 5 |
| 9 6 5 | 7 . . | 2 8 1 |
|-------+-------+-------|
| 6 . 8 | . 7 . | . 1 . |
| . 1 . | 6 8 . | . 4 7 |
| 7 . . | . . 1 | 8 2 6 |
|-------+-------+-------|
| 1 7 . | . . . | 4 6 8 |
| . . 6 | 1 . . | . 7 . |
| . 9 4 | . 6 7 | 1 5 2 |
*-----------------------*

E32004
E48003
E49004
E57002
E59002
E63003
E670039
E68002359
I802

... and the PM presented by Simple Sudoku after loading from my .ss file.

Code:
 *-----------------------------------------------------------*
 | 2     8     1     | 9     5     6     | 7     3     4     |
 | 4     3     7     | 28    1     28    | 6     9     5     |
 | 9     6     5     | 7     34    34    | 2     8     1     |
 |-------------------+-------------------+-------------------|
 | 6     245   8     | 2345  7     2359  | 359   1     39    |
 | 35    1     239   | 6     8     2359  | 359   4     7     |
 | 7     45    39    | 45    39    1     | 8     2     6     |
 |-------------------+-------------------+-------------------|
 | 1     7     23    | 35    239   359   | 4     6     8     |
 | 58    25    6     | 1     24    48    | 39    7     39    |
 | 38    9     4     | 38    6     7     | 1     5     2     |
 *-----------------------------------------------------------*

An easy workaround to a program like mine is to load the original puzzle into Simple Sudoku and use it to solve through basics. Then you can save it off as Basics.ss. Any additional eliminations you perform can then be saved into and reloaded from a file named Working.ss. You can always reload Basics.ss if you want to pursue an alternate path after basics. The problem I have is that I accidentally write over Basics.ss with working information! _ Sad _

Regards, Danny
Back to top
View user's profile Send private message
Pat



Joined: 23 Feb 2010
Posts: 207

PostPosted: Sun Aug 01, 2010 11:19 am    Post subject: re: Simple Sudoku Issue Reply with quote

tlanglet wrote:

I copied/pasted the code after basics into Simple Sudoku,
and saved it.

However when I retrieved it later,
additional digits had been added to some cells.

Has anyone else noticed this situation or have some insight into what is happening?

    as mentioned by daj95376, the Save in Simple Sudoku is indeed problematical

      my workaround is to use Copy ( Ctrl-C ),
      and work with this text

        it comes in 2 or 3 parts
        -- anyway, the last part is the "pencilmarks"

          save just these "pencilmarks"
          and you can always Paste them back in
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Site help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group