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 - Puzzle maker and solver for Windows
Goto page Previous  1, 2, 3, ... 30, 31, 32  Next
 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Software
View previous topic :: View next topic  
Author Message
scrose

Joined: 01 Jun 2005
Posts: 23
:

Items
PostPosted: Wed Jul 06, 2005 2:12 am    Post subject: Reply with quote

deneb wrote:
After applying a filter and then inserting a number in a cell, Simple Sudoku goes crazy and so it's not possible to continue the game. It would be better to permit this.

This is similar to what RFB suggested on the players' forum. I too would like to be able to fill cells and eliminate candidates while a filter is active. I like RFB's idea of using Ctrl + # as a filter toggle (because you wouldn't be able to use Ctrl + Z to remove a filter after having filled a cell or made eliminations while a filter was active without undo-ing the filled cell and/or eliminations).
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 06, 2005 12:45 pm    Post subject: Reply with quote

Version 3.3 is now out.

Here's a sample from my new puzzle generator:
Code:
7..|42.|.6.
.43|5..|2..
.1.|.3.|59.
-----------
...|..4|321
...|.9.|...
164|3..|...
-----------
.71|.6.|.3.
..9|..3|61.
.2.|.41|..9


.8.|.7.|.9.
..5|..2|...
2..|...|4.8
-----------
..7|..6|1.5
..2|.3.|6..
1.8|2..|9..
-----------
3.1|...|..9
...|4..|7..
.2.|.9.|.3.


...|9.6|1..
..3|...|...
2.9|.5.|.48
-----------
.5.|.1.|3.7
..8|...|4..
1.7|.3.|.2.
-----------
73.|.2.|5.4
...|...|7..
..4|3.5|...


2..|.57|8.3
7..|...|4..
.43|...|...
-----------
.7.|54.|...
32.|876|.49
...|.13|.5.
-----------
...|...|61.
..1|...|..4
4.7|36.|..2


Sorry scrose, still looking for the cause of that elusive AV.
Also, still working on making filtering much more intuitive.

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

Joined: 01 Jun 2005
Posts: 23
:

Items
PostPosted: Wed Jul 06, 2005 1:56 pm    Post subject: Reply with quote

That first puzzle was a fun. Well done, again. If I want a puzzle that has nothing more difficult than an x-wing, which difficulty setting should I use? Similar question for swordfish and colours.

When I installed 3.3, my settings were not overwritten. And the Show Candidates appears to be working properly. Thanks!
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 06, 2005 2:14 pm    Post subject: Reply with quote

scrose wrote:
That first puzzle was a fun.
Very Happy

scrose wrote:
If I want a puzzle that has nothing more difficult than an x-wing, which difficulty setting should I use? Similar question for swordfish and colours.

X-wing and Colors are rated as Expert, while Swordfish is still Extreme. I don't know yet if I'll leave it that way, but my eyes are generally better at spotting color patterns than swordfish (especially with the newer swordfish).

scrose wrote:
When I installed 3.3, my settings were not overwritten. And the Show Candidates appears to be working properly. Thanks

Yep, fixed that, but forgot to include the extra navigation keys you suggested. Something else for another day.
Back to top
View user's profile Send private message Visit poster's website
hakuin

Joined: 06 Jul 2005
Posts: 2
:

Items
PostPosted: Wed Jul 06, 2005 7:49 pm    Post subject: Reply with quote

to angusj:

it`s very nice sudoku progy Very Happy

can you change board-color,we have only one color lol


thank you
Back to top
View user's profile Send private message
GazzaR

Joined: 03 Jul 2005
Posts: 4
:

Items
PostPosted: Wed Jul 06, 2005 11:43 pm    Post subject: Reply with quote

Thanks for the latest version - 3.3.

One tiny inconsistancy I've seen is this ... If you File-Open and change to another folder, then the next File-Open looks into the last used folder. However, the File-Save always looks into the default folder. It would be nice if the Save operation also looks into the last used folder so that a series of boards can be easily saved to the same location.

I'm not sure if these should also retain the last used folder over separate instances of the application. They don't at present - the File-Open reverts to the default folder.
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Wed Jul 06, 2005 11:47 pm    Post subject: Reply with quote

GazzaR wrote:
One tiny inconsistancy I've seen is this ...

Yes, good point. Something else to fix.

GazzaR wrote:
I'm not sure if these should also retain the last used folder over separate instances of the application.

Yes, that's a good idea.
Back to top
View user's profile Send private message Visit poster's website
deneb

Joined: 05 Jul 2005
Posts: 4
:

Items
PostPosted: Fri Jul 08, 2005 7:31 am    Post subject: Reply with quote

scrose wrote:
I like RFB's idea of using Ctrl + # as a filter toggle (because you wouldn't be able to use Ctrl + Z to remove a filter after having filled a cell or made eliminations while a filter was active without undo-ing the filled cell and/or eliminations).


I think that a solution could be the following:
Ctrl+[1-9] = apply filter only for that number
Ctrl+Alt+[1-9] = toggle filter
Ctrl+0 = clear all filters
Ctrl-Z = undo only "active" operations (like inserting numbers or removing candidates)

I try to explain better, for instance:
pressing Ctrl+4 we have the filter only for 4, pressing Ctrl+3 we have the filter only for 3 (as already is), then pressing Ctrl+Alt+5 we have filter for 3 and 5, then with Ctrl+Alt+7 we add filter for 7 (now is 3-5-7), pressing again Ctrl+Alt+5 we toggle filter for 5 (so now is 3-7), and pressing Ctrl+0 we clear all filters.
What do you think?

Another thing, what about a shortcut for show/hide candidates?
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Fri Jul 08, 2005 7:58 am    Post subject: Reply with quote

deneb wrote:
I think that a solution could be the following:

Hi deneb.
I have a pretty good idea what I want to do with filters (Ctrl+Num will toggle them on and off) but I have to unroll them from the undo mechanism. Having it tied to undo was never a longterm solution, but just a quick and dirty way to get filters up and running. Now that I see just how useful (essential) they are for solving harder puzzles I will be improving them sometime soonish.

deneb wrote:
Another thing, what about a shortcut for show/hide candidates?

There already is one Very Happy.
Back to top
View user's profile Send private message Visit poster's website
scrose

Joined: 01 Jun 2005
Posts: 23
:

Items
PostPosted: Fri Jul 08, 2005 1:39 pm    Post subject: Reply with quote

scrose wrote:
Would you consider adding some more navigation keys? Home would move the cursor to column 1, End to column 9, Page Up to row 1, and Page Down to row 9.
angusj wrote:
Yes, I could do that.

I noticed you added Home and End as navigation keys (thank you), but they don't work quite as I expected; that might be because I didn't explain myself clearly enough. Regardless, I have changed my mind slightly: I would like to recommend using Ctrl as a modifier for how the cursor keys operate.

Suppose the cursor is at rXcX.
If Ctrl + Left Arrow is pressed, the cursor would move to rXc1.
If Ctrl + Right Arrow is pressed, the cursor would move to rXc9.
If Ctrl + Up Arrow is pressed, the cursor would move to r1cX.
If Ctrl + Down Arrow is pressed, the cursor would move to r9cX.

If you decide to add this feature, you can disable the Home and End functionality if you wish to.

hakuin wrote:
can you change board-color,we have only one color

Generally, I scoff at skins and colour-customisations, but to my surprise I found myself liking the Color Preferences feature you added. My cells are now shaded a soothing shade of blue... r170g197b225 and r239g244b250
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Fri Jul 08, 2005 2:00 pm    Post subject: Reply with quote

scrose wrote:
Regardless, I have changed my mind slightly: I would like to recommend using Ctrl as a modifier for how the cursor keys operate.

Yes, I was thinking along those lines too.

I hope I've solved that occasional AV bug you spotted so please let me know if you see it again.

I'm losing a little bit of momentum now that it's much more a case of doing a really good tidy up rather than the fun bits which were getting the compile and solve algorithms to work well.

Lots of things still on the todo list such as - better filtering, warnings on wrong moves, redo as well as undo, more printing options ... Anyhow, these things may be a little while away, and all depending on time and energy levels.
Back to top
View user's profile Send private message Visit poster's website
scrose

Joined: 01 Jun 2005
Posts: 23
:

Items
PostPosted: Thu Jul 14, 2005 4:11 pm    Post subject: Reply with quote

One feature request; consider the following. I drag the program window to the right side of the screen. I close the program. When I reopen it, the program window has relocated itself to the centre of the screen. It would be nice if the program would open at its previous screen location, as is the case with most Windows applications.

More numeric keypad troubles; I'm surprised I hadn't noticed this one earlier. Using Ctrl with the numeric keypad (with NumLock on) doesn't activate a filter.

Consider the following scenario. I start a new puzzle and fill in a few cells. I then activate a filter on a number. With the filter active, I press F4 to Restart the puzzle. However, the cells I have filled are still filled -- it appears that only the filter has been deactivated.
Back to top
View user's profile Send private message
sudokufreaky

Joined: 14 Jul 2005
Posts: 1
:

Items
PostPosted: Thu Jul 14, 2005 5:54 pm    Post subject: Superb Program Reply with quote

Hi angus,

I have to say, your program is really very very good and I especially enjoy the expert and extreme levels, you're guilty of making me even more addicted to Sudokus than I'm anyway Wink

I only have one question:
Do you think it is possible to reduce the number of givens, at least in the expert and extreme levels, maybe 24 or less or is it too difficult to program that at the moment?

Everything else is nearly perfect, thanks a lot for sharing this great stuff for free Very Happy

Walter (from Germany)
Back to top
View user's profile Send private message
scrose

Joined: 01 Jun 2005
Posts: 23
:

Items
PostPosted: Thu Jul 14, 2005 8:37 pm    Post subject: Reply with quote

I think I found a minor highlighting bug. Using either of the grids I've provided below, place the cursor at r5c5, then press F10 and apply a filter on the 6's. Notice that r5c5 is highlighted even though it does not contain a candidate 6. This does not occur if you use Ctrl + 6.

Now I have a couple suggestions for optimising the hint mechanism. While I would be pleased to see these optimisations implemented (the second one, in particular), I will remain content if you choose not to; I offer them only for your consideration.

Consider the following grid which appeared in The Times a few months ago.

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

Press F11 eight times to quickly fill some cells. Press F7 and the cells r5c3, r5c7, and r5c8 are highlighted. Press F11 and the candidate 7's are removed. Press F11 a second time and the candidate 8's are removed. Would it be possible to have the candidate 7's and 8's removed with a single press of F11?

Consider the following grid which is from simes' xwing1.sdk file.

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

Here are the results of each press of F11.
  1. 1 placed at r7c5.
  2. Candidate 2's removed from r4c6 and r6c6.
  3. Candidate 8's removed from r2c8 and r2c9.
  4. Candidate 6's removed from r1c8, r2c8, and r3c8.
  5. Candidate 5 removed from r2c4.
  6. Candidate 9's removed from r8c1, r8c2, and r8c9.
  7. Candidate 1's, 2, 6's, 7, and 9 removed from r2c1 and r3c2.
  8. 2 placed at r3c6.
Of steps 2 through 7, only step 7 is necessary in order to complete step 8. Would it be possible to eliminate the extraneous steps?

I realize this next suggestion is a substantial request, but here goes... Would it be possible to allow the user to choose which solving techniques are activated and to designate the priority of each?
Back to top
View user's profile Send private message
angusj
Site Admin
Joined: 18 Jun 2005
Posts: 406
:

Items
PostPosted: Fri Jul 15, 2005 12:08 am    Post subject: Reply with quote

scrose wrote:
One feature request... It would be nice if the program would open at its previous screen location, as is the case with most Windows applications.

OK. Added to the todo list.

scrose wrote:
More numeric keypad troubles; I'm surprised I hadn't noticed this one earlier. Using Ctrl with the numeric keypad (with NumLock on) doesn't activate a filter.

OK. Thanks yet again Very Happy.

scrose wrote:
Consider the following scenario... it appears that only the filter has been deactivated.

Oops!

sudokufreaky wrote:
Hi angus,

Hi Walter Smile.

sudokufreaky wrote:
I have to say, your program is really very very good and I especially enjoy the expert and extreme levels, you're guilty of making me even more addicted to Sudokus than I'm anyway Wink

Is that a good thing? Sudoku - the thinking man's (or woman's) opium. Exclamation

sudokufreaky wrote:
Do you think it is possible to reduce the number of givens, at least in the expert and extreme levels, maybe 24 or less or is it too difficult to program that at the moment?

It's certainly possible but it wont make the puzzles any easier or harder to solve, but it would make it *much* slower to build them. Short answer - yes but no. Sorry Very Happy.

sudokufreaky wrote:
Everything else is nearly perfect

Cool. And thanks.

scrose wrote:
I think I found a minor highlighting bug.

Yep. Added to the todo list.


scrose wrote:
Would it be possible to have the candidate 7's and 8's removed with a single press of F11?

Possible, but ...
In this particular case I can see why *to a human* the naked triples are easy to see as they are all right next to each other (and certainly easier than spotting that candidates are locked to a specific box). Here it would make sense to use the 'naked triple' algorithm which remove both the 7s and 8s together. However, I feel generally spotting naked triples is harder and to get a computer to work out which algorithm to use first in different situations is *way* too hard.

scrose wrote:
Would it be possible to eliminate the extraneous steps?

Possible, but again too much work.

scrose wrote:
Would it be possible to allow the user to choose which solving techniques are activated and to designate the priority of each?

Ditto.

Anyhow, thanks for all the great suggestions, bug reports and feedback. Apart from the obvious bugs that need fixing, my next plan is still to tidy up filtering, particularly to seperate it from the undo mechanism.
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 Previous  1, 2, 3, ... 30, 31, 32  Next
Page 2 of 32

 
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