Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

Simple Sudoku Version 3.5 (beta testers required)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Software
View previous topic :: View next topic  
Author Message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 20, 2005 8:00 am    Post subject: Simple Sudoku Version 3.5 (beta testers required) Reply with quote

This is a major update to my Simple Sudoku program.

If you already have Simple Sudoku installed and are prepared to feedback here any bugs / suggestions then please download the zip file below and extract simplesudoku.exe into your Simple Sudoku folder.

Includes:
* much improved filtering
* redo (as well as undo)
* coloring no longer restricted to filtered views
* numerous cosmetic changes

http://angusj.com/sudoku/ss_beta.zip

Many thanks (in advance) ...
Back to top
View user's profile Send private message Visit poster's website
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Wed Jul 20, 2005 9:31 am    Post subject: Reply with quote

Ah excellent, thank you Angus, it's much easier to work with pencilmarks now!

I can't find a way to color pencilmarks, however? The only thing I can color is a whole cell.
Back to top
View user's profile Send private message
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Wed Jul 20, 2005 9:37 am    Post subject: Reply with quote

When you are in SETUP state, if you put a wrong value in a cell there doesn't seem to be any way to undo the mistake. You have to reset and start over.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 20, 2005 10:04 am    Post subject: Reply with quote

Nick70 wrote:
When you are in SETUP state, if you put a wrong value in a cell there doesn't seem to be any way to undo the mistake. You have to reset and start over.

You can click 0, space or delete to undo in setup (or even right click and clear). I guess I could enable undo in setup too.
Back to top
View user's profile Send private message Visit poster's website
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 20, 2005 10:07 am    Post subject: Reply with quote

Nick70 wrote:
I can't find a way to color pencilmarks, however? The only thing I can color is a whole cell.

You can't color individual pencilmarks. I think that level of sophistication is way beyond what the vast majority would want out of this puzzle.


Last edited by angusj on Wed Jul 20, 2005 11:48 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Wed Jul 20, 2005 11:47 am    Post subject: Reply with quote

angusj wrote:
You can click 0, space or delete to undo in setup (or even right click and clear). I guess I could enable undo in setup too.


Cool, sorry I missed that. I was hitting backspace and canc - maybe you could enable the function on those keys as well.

angusj wrote:
You can't color individual pencilmarks. I think that level of sofistication is way beyond what the vast majority would want out of this puzzle.


I don't think I can agree with this.

Limiting coloring to a single number is artificial. Why should it be considered simpler to see when a number can only be in two places in a row, instead of a cell that can only contain two numbers?

It isn't simpler at all. On the contrary, in the former case you have to use filters to make it easier, while in the latter case you see it right on the main grid.

There is the same relation between the two that there is between pairs/triplets/quadruples and x-wing/swordfish/jellyfish.

A pattern like the XY-Wing is very simple, intuitive, and it works on multiple numbers.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 20, 2005 11:59 am    Post subject: Reply with quote

Nick70 wrote:
Limiting coloring to a single number is artificial. Why should it be considered simpler to see when a number can only be in two places in a row, instead of a cell that can only contain two numbers?

No, I'm not limiting coloring to single numbers, you can color any unassigned cell at any time (except when setting up) - there are no restrictions there.

I thought you were suggesting allowing each tiny pencilmark within a cell to have it's own color. That's what I meant as beyond the scope of the current design.
Back to top
View user's profile Send private message Visit poster's website
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Wed Jul 20, 2005 12:57 pm    Post subject: Reply with quote

angusj wrote:
I thought you were suggesting allowing each tiny pencilmark within a cell to have it's own color. That's what I meant as beyond the scope of the current design.


That's what I was saying.
True, you can color each cell regardless of what pencilmarks it contains, but that is only useful if you are coloring a single number. It doesn't work otherwise.

Let's stick to xy-wing:

Code:

3       9       28       | 6       4578    1        | 257     24      457     
28      1       6        | 578     4578    48       | 2357    249     34579   
45      7       45       | 9       2       3        | 1       8       6       
-------------------------+--------------------------+-------------------------
146789  346     13489    | 2       3789    5        | 378     149     3479   
45789   2       34589    | 78      1       89       | 3578    6       34579   
15789   35      13589    | 4       3789    6        | 23578   129     3579   
-------------------------+--------------------------+-------------------------
24      8       7        | 3       6       24       | 9       5       1       
12569   356     12359    | 15      59      29       | 4       7       8       
1459    45      1459     | 158     4589    7        | 6       3       2       


here one could color this way:
red the 2 in (2,1), the 4 in (7,1), the 2 in (7,6)
blue the 8 in (2,1), the 4 in (2,6),
and at this point notice that the 2 in (7,6), whch was about to be colored blue, is already red - so it must be true.


I completely understand that this would be a change outside the scope of the current interface. But I don't agree that it wouldn't be useful or desirable Smile
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 20, 2005 2:58 pm    Post subject: Reply with quote

Nick70 wrote:
That's what I was saying.

OK. I'll put it on the wish list, but don't hold your breath Very Happy.

Anyhow, I've just release version 3.5, so it's out of beta testing. Thanks again Nick for the feedback.

http://angusj.com/sudoku/
Back to top
View user's profile Send private message Visit poster's website
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Thu Jul 21, 2005 11:03 pm    Post subject: Reply with quote

Bug report.

Start a new puzzle. Select a cell with only one candidate. Note the count of remaining cells in the status bar. Press enter.
The big number is put into the cell, but the count of cells to go is not updated. Also, Undo is not available.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Fri Jul 22, 2005 2:59 am    Post subject: Reply with quote

Nick70 wrote:
Bug report.

Hi Nick.
Yes, it's definitely a bug. I'll fix and update shortly. Many thanks.

Edit: Fixed and updated now.
http://angusj.com/sudoku
Back to top
View user's profile Send private message Visit poster's website
Nick70

Joined: 08 Jun 2005
Posts: 160
:

Items
PostPosted: Sat Jul 23, 2005 2:29 pm    Post subject: Reply with quote

Bug report.

If you color a cell, then put a big number into it, the context menu only shows "undo", not giving the option to remove the color from the cell.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Sun Jul 24, 2005 4:10 am    Post subject: Reply with quote

Nick70 wrote:
If you color a cell, then put a big number into it, the context menu only shows "undo", not giving the option to remove the color from the cell.

Thanks again Nick. I've fixed that ready for the next release which will be out 'real soon now'. (Colouring will be properly disabled for cells with an assigned value.)
Back to top
View user's profile Send private message Visit poster's website
Brian Less

Joined: 24 Jul 2005
Posts: 7
:

Items
PostPosted: Sun Jul 24, 2005 3:13 pm    Post subject: Reply with quote

Hi Angus,

Here's a bug report for v3.5u that I noticed whilst checking just how hard the Pappocom generated 'V.Hard' levels were using your software.

If you enter the following grid into simple_sudoku and try to solve it from the start you end up with an 'insoluble' error message.

Code:

14.|...|..9
6..|..8|5..
...|5.2|6..
-----------
.91|...|..7
...|...|...
3..|...|48.
-----------
..8|7.6|...
..9|3..|..8
4..|...|.61



The reason is because of the middle block which erroneously allows 2 as a candidate.

Presumably the program logic failed to re-do the column check on column 6? If the '2' is eliminated from the central block then it becomes soluble. Smile

HTH?

Edit:

It would appear that this bug only manifests itself when entered from 'Setup' mode! If you copy and paste the grid above then the 2 is eliminated as a candidate.

Further Edit:

Yep, definitely a setup bug. Here's a paste to clipboard of the same set up grid erroneously allowing '5' in the top centre block!

Code:

{1}         {4}         {2357}      {56}        {3567}      {357}       {2378}      {237}       {9}         
{6}         {237}       {237}       {149}       {13479}     {8}         {5}         {12347}     {2347}     
{789}       {378}       {37}        {5}         {134579}    {2}         {6}         {1347}      {347}       
{2578}      {9}         {1}         {2468}      {2345678}   {3457}      {237}       {2357}      {23567}     
{2578}      {25678}     {24567}     {124689}    {123456789} {134579}    {12379}     {123579}    {23567}     
{3}         {2567}      {2567}      {1269}      {125679}    {1579}      {4}         {8}         {2567}     
{25}        {1235}      {8}         {7}         {12459}     {6}         {239}       {23459}     {2345}     
{257}       {12567}     {9}         {3}         {1245}      {145}       {27}        {2457}      {8}         
{4}         {2357}      {2357}      {289}       {2589}      {59}        {2379}      {6}         {1}       


Also, I'd like to add my congrats and thanks for such a wonderful Suduko program. Excellent stuff.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Sun Jul 24, 2005 10:45 pm    Post subject: Reply with quote

Brian Less wrote:
If you enter the following grid into simple_sudoku and try to solve it from the start you end up with an 'insoluble' error message.

Hi Brian.
Thanks for the feedback.
I don't doubt that there's a bug there somewhere, I just can't duplicate it at the moment. I've tried both cutting and pasting and manually entering cells to setup this puzzle and each time it solves to the end without a hitch. I've tried entering the starting cells from top to bottom and bottom to top as well and either way I can't find this bug.
Are there specific steps in entering which you can give which'll replicate this bug? Anyhow, I'll have a closer look at the code later.
Angus

Edit: OK, I've now spotted the problem in the code. Will fix shortly.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron