More than ten cells per row

Programs which generate, solve, and analyze Sudoku puzzles

More than ten cells per row

Postby Sue De Coq » Wed Apr 27, 2005 11:54 pm

I've successfully created library books containing 9 and 6 cells-per-row - now I'd like to create a book with 12 cells-per-row. This ought to be possible as the file template.sudbook makes several references to 16x16 puzzles, e.g.:

<!-- The next set is for "cells-in-row". The number inside should be 9 for Classic Sudoku. Generally, it should be the size of the grid. For 4x4 puzzles it should be 4; for 16x16 puzzles it should be 16. -->


The problem is how to represent numbers greater than 9. I've used the letters of the alphabet, as one would in hexadecimal notation. My file is as follows:

Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<sudoku-book>
<note>Puzzles generated by class com.act365.sudoku.Composer on 27-Apr-2005 14:37:24.</note>
<user>0</user>
<last>000000000000</last>
<checked>001000000000</checked>
<xtra>0</xtra>
<puzzle-type>1</puzzle-type>
<cells-in-row>12</cells-in-row>
<boxes-across>3</boxes-across>
<boxes-down>4</boxes-down>
<featuredGrade>Easy</featuredGrade>
<puzzle>
<serial>1</serial>
<grade>Easy</grade>
<solvers>0000</solvers>
<question>
c.6.4..a5...
....31824...
.1a.....3b7.
6...7c41....
b.......91ca
35..9.a..8..
..8..a.4..6c
2b41.......9
....1398...5
.6b9.....28.
...754c9....
...ab..6.5.1
</question>
</puzzle>
</sudoku-book>


The library book is successfully read by the Pappocom Sudoku app but, when I press the 'Verify book' key, I see the error message

'Puzzle #1: The data in <question> contains an unexpected character: [c] around cell 1.'


Please explain which characters I should use to represent figures greater than 9.

Thanks
Sue De Coq
 
Posts: 93
Joined: 01 April 2005

Postby Pappocom » Thu Apr 28, 2005 4:27 am

Hi, Sue. You already asked me this in the File Formats topic (forum.enjoysudoku.com/viewtopic.php?t=80) of the General/Program forum.

As I said there, you will find it handy to look up the "Creating library books" topic of the Help files for the Sudoku program. You will find it spelled out there.

- Wayne
Pappocom
 
Posts: 599
Joined: 05 March 2005

Postby Sue De Coq » Thu Apr 28, 2005 8:12 am

Sorry - I missed the key paragraph last time. I'm happy now!:D
Sue De Coq
 
Posts: 93
Joined: 01 April 2005


Return to Software