SudokuSolver Forum

A forum for Sudoku enthusiasts to share puzzles, techniques and software
It is currently Fri Mar 29, 2024 2:16 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: JSudoku and 16x16
PostPosted: Fri Jul 18, 2008 6:33 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 791
Is there any way to make JSudoku use letters (A-P) instead of numbers (1-16)?


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Jul 18, 2008 7:38 pm 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
Not in the current version.

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Aug 01, 2008 5:11 pm 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
enxio27 wrote:
Is there any way to make JSudoku use letters (A-P) instead of numbers (1-16)?
I added an option to choose between decimals numbers and letters for numbers >= 10.
The default is now letters since it matches the keyboard accelerators.
However, I didn't realized you wanted letters only, but no digits... Never thought of this!

in another post enxio27 wrote:
1. Is there any way to make JSudoku print all the pencil marks the same size (smaller font), instead of sizing them based on how many candidates are in that cell? Also, I would like for them to appear in the usual "telephone keypad" format, instead of all jammed together. Already once I almost missed a candidate because it was in an unusual position in the cell.
Also added an option to choose pencil marks style: "pack & size to fit cell" (as in old version), "Fixed location & size" (as you requested) and "dots".

Also fixed the print size problem.

To be released soon.

Here is an example:
Image
Code:
+---------+---------+---------+---------+
| 1 . 5 . | 6 . . 2 | . A . . | . . G . |
| . . . . | . . 7 . | D G 6 2 | E . 3 . |
| G . D . | 3 B F . | . . . . | A . 9 . |
| 4 . 3 2 | . . . . | 9 8 . B | . . F . |
+---------+---------+---------+---------+
| . . . . | 7 6 D 9 | . . 4 . | . . . . |
| B . . F | . . . . | 6 . A . | . G . . |
| . 5 . . | 4 1 . F | . . . . | 6 7 . B |
| 7 3 . . | . . . . | 5 . F E | . 8 . . |
+---------+---------+---------+---------+
| . . F . | B D . 6 | . . . . | . . 7 4 |
| D . E 3 | . . . . | B . 8 4 | . . A . |
| . . 4 . | . 9 . 5 | . . . . | G . . F |
| . . . . | . 2 . . | E 3 D F | . . . . |
+---------+---------+---------+---------+
| . D . . | 9 . 8 3 | . . . . | 7 5 . A |
| . F . 1 | . . . . | . 5 B G | . 9 . 8 |
| . 6 . 9 | C F 2 D | . 7 . . | . . . . |
| . 7 . . | . . B . | 8 . . D | . F . 6 |
+---------+---------+---------+---------+

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Aug 01, 2008 9:55 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 791
Jean-Christophe wrote:
I added an option to choose between decimals numbers and letters for numbers >= 10.

Also added an option to choose pencil marks style: "pack & size to fit cell" (as in old version), "Fixed location & size" (as you requested) and "dots".

Also fixed the print size problem.

To be released soon.


Thank you so much! I'm very much looking forward to this new release! Any idea of a date?


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Aug 15, 2008 6:47 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 791
First of all, thank you so much, Jean-Christophe, for enhancing the 16x16 puzzle display and printing! Finally I can start working all of those 16x16 puzzles in my collection without worrying making a bunch of mistakes on calculating pencil marks before I ever start the puzzle!

Now for a question/problem:

I'm having trouble importing a 16x16 puzzle string (256-character text string). I've tried copy/paste, drag'n'drop, open, and in each case I get an error message stating, "Not enough data. Should have at least 1 lines with 256 characters each." What am I doing wrong, or is there a bug somewhere?


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Aug 15, 2008 7:59 pm 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
Difficult to say without seeing the data. For simple grids, it does not have to be a single line with exactly 256 characters
For the givens, it uses digits '1' to '9' then letters 'A' to 'G' (or lower case 'a' to 'g').
For the unsolved cells, it searches for some other character occuring the requested number of times such as to get: number of givens + number of unsolved cells = number of cells (here 256). It searches for these characters in this order: '0', '.', 'X', '*', '_', ' '.
Any other character is ignored.
The text is trimmed for white spaces at begin & end of lines, because that naughty phpBB always add spaces at the end of lines. So spaces should not be used for the ungiven characters.

Here is a grid in two formats. JSudoku should import both
Code:
.3.....12.....9..9.E...76...1.B..4..9..D7..F..6..6...5.GD.3...A...8.E.2..7.4.6..3..9F......1D..8E17..........F5A..B.3.C..6.5.7...A.3.B.E9.6.2.F....8.G....E.7........F721CB......F.5.8....2.6.C.2.5...1..D...E.69.3F........GC.2D...7.E..2.B...16.1..4G..E9..A.F

+---------+---------+---------+---------+
| . 3 . . | . . . 1 | 2 . . . | . . 9 . |
| . 9 . E | . . . 7 | 6 . . . | 1 . B . |
| . 4 . . | 9 . . D | 7 . . F | . . 6 . |
| . 6 . . | . 5 . G | D . 3 . | . . A . |
+---------+---------+---------+---------+
| . . 8 . | E . 2 . | . 7 . 4 | . 6 . . |
| 3 . . 9 | F . . . | . . . 1 | D . . 8 |
| E 1 7 . | . . . . | . . . . | . F 5 A |
| . . B . | 3 . C . | . 6 . 5 | . 7 . . |
+---------+---------+---------+---------+
| . A . 3 | . B . E | 9 . 6 . | 2 . F . |
| . . . 8 | . G . . | . . E . | 7 . . . |
| . . . . | . F 7 2 | 1 C B . | . . . . |
| . F . 5 | . 8 . . | . . 2 . | 6 . C . |
+---------+---------+---------+---------+
| 2 . 5 . | . . 1 . | . D . . | . E . 6 |
| 9 . 3 F | . . . . | . . . . | G C . 2 |
| D . . . | 7 . E . | . 2 . B | . . . 1 |
| 6 . 1 . | . 4 G . | . E 9 . | . A . F |
+---------+---------+---------+---------+

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Fri Aug 15, 2008 8:41 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 791
Jean-Christophe wrote:
Difficult to say without seeing the data. For simple grids, it does not have to be a single line with exactly 256 characters
For the givens, it uses digits '1' to '9' then letters 'A' to 'G' (or lower case 'a' to 'g').


So it wouldn't work to import a puzzle string that uses only 'A' to 'P', even though the program will allow it when the puzzle is input manually?


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Sat Aug 23, 2008 11:16 am 
Offline
Expert
Expert

Joined: Sun Apr 27, 2008 10:44 am
Posts: 102
Location: Belgium
Hi,
I released v 1.5b2 which should now recognize puzzles with custom values like 'A' to 'P'.
See http://jcbonsai.free.fr/sudoku/

_________________
Jean-Christophe
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." Sherlock Holmes.


Top
 Profile  
Reply with quote  
 Post subject: Re: JSudoku and 16x16
PostPosted: Sat Aug 23, 2008 8:45 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 791
Jean-Christophe wrote:
Hi,
I released v 1.5b2 which should now recognize puzzles with custom values like 'A' to 'P'.
See http://jcbonsai.free.fr/sudoku/


Awesome! Thank you! ;clapclap;

You and Richard sure do good work!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group