delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/08/17:58:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:message-id; q=dns; s=
default; b=xxfRqrO003PX4IjCrQHYPqLTmPN6dfe045fQjKn7Eu9woKihY3wU5
POITpfeEL+XSe2iHAD1GoXdXs74dxXEKRI9EKsUfWtgxwCIT87qXAe0VoGA1Y4pd
DkOsuuGnDi1Kl3AwdSs0gzrpygxl/oC5dq6uxCY/q7wv9gpbFX02rw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:message-id; s=default; bh=3
C5BqTuCS8XFpVGH32pO2DGVejU=; b=v4X0epBwGKUcAKSImhA2cHvg0vuRm+NgW
dLnBBJm50kmpxz32q6n2Wk7eAz4bS+Yi8jxZTl8uWzm5Ki+2V6sDWFqQUTLImAhX
hfztGuyiBNFvzxHKIFprNmmKysLmL09j2ESAytm9fUdJYxnt3yViURWokhb5Ggaw
4k2n9E7i1w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: s1.ds.net
To: cygwin AT cygwin DOT com
Subject: Sudoku precanned game solution time issue
X-PHP-Originating-Script: 0:rcube.php
MIME-Version: 1.0
Date: Sun, 08 Mar 2015 17:51:55 -0400
From: wilson <wilson AT ds DOT net>
Message-ID: <70f73fcd175230badb81f0e111bbd911@www.ds.net>
X-Sender: wilson AT localhost
User-Agent: Roundcube Webmail/1.0.2
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019