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: | 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! 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/ |