Sudoku precanned game solution time issue

wilson wilson@ds.net
Sun Mar 8 22:37:00 GMT 2015


I recently began using the sudoku game to create puzzles and noticed 
that once a precanned puzzle has been solved, the time shown is not 
correct.  It appears the time index may not be initialized properly when 
working with precanned puzzles.  The following example shows the issue.
=============================================================================

                                    Su-Do-Ku!

                      Brian S. Wilson March 6th, 2015 - hard

                            +-------+-------+-------+       k
                            | 1 2 3 | 4 5 6 | 7 8 9 |     h   l move 
cursor
                            | 4 5 6 | 7 8 9 | 1 2 3 |       j
Rules:                     | 7 8 9 | 1 2 3 | 4 5 6 |      1-9  place 
digit
                            +-------+-------+-------+      0 .  clear 
digit
  Fill the grid so that     | 2 3 4 | 5 6 7 | 8 9 1 |       c   clear 
board
  every column, row and     | 5 6 7 | 8 9 1 | 2 3 4 |       f   fix 
squares
  3x3 box contains each     | 8 9 1 | 2 3 4 | 5 6 7 |       n   new board
  of the digits 1 to 9.     +-------+-------+-------+       q   quit game
                            | 3 4 5 | 6 7 8 | 9 1 2 |       s   save
                            | 6 7 8 | 9 1 2 | 3 4 5 |       r   restart
                            | 9 1 2 | 3 4 5 | 6 7 8 |       u   undo last 
move
                            +-------+-------+-------+       v   solve
                                                            ?   request 
hint
             Well done - you've completed the puzzle! (396050:50:38)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list