SudokuSolver Forum
http://www.rcbroughton.co.uk/sudoku/forum/

JSudoku and 16x16
http://www.rcbroughton.co.uk/sudoku/forum/viewtopic.php?f=11&t=190
Page 1 of 1

Author:  enxio27 [ Fri Jul 18, 2008 6:33 pm ]
Post subject:  JSudoku and 16x16

Is there any way to make JSudoku use letters (A-P) instead of numbers (1-16)?

Author:  Jean-Christophe [ Fri Jul 18, 2008 7:38 pm ]
Post subject:  Re: JSudoku and 16x16

Not in the current version.

Author:  Jean-Christophe [ Fri Aug 01, 2008 5:11 pm ]
Post subject:  Re: JSudoku and 16x16

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 |
+---------+---------+---------+---------+

Author:  enxio27 [ Fri Aug 01, 2008 9:55 pm ]
Post subject:  Re: JSudoku and 16x16

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?

Author:  enxio27 [ Fri Aug 15, 2008 6:47 pm ]
Post subject:  Re: JSudoku and 16x16

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?

Author:  Jean-Christophe [ Fri Aug 15, 2008 7:59 pm ]
Post subject:  Re: JSudoku and 16x16

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 |
+---------+---------+---------+---------+

Author:  enxio27 [ Fri Aug 15, 2008 8:41 pm ]
Post subject:  Re: JSudoku and 16x16

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?

Author:  Jean-Christophe [ Sat Aug 23, 2008 11:16 am ]
Post subject:  Re: JSudoku and 16x16

Hi,
I released v 1.5b2 which should now recognize puzzles with custom values like 'A' to 'P'.
See http://jcbonsai.free.fr/sudoku/

Author:  enxio27 [ Sat Aug 23, 2008 8:45 pm ]
Post subject:  Re: JSudoku and 16x16

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!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/