I am a fan of sudoku and I was wondering if it is possible to randomly generate sudoku tables with their solutions in LaTeX. I see a few problems in the generation of numbers in the tables, but, sincerely, I wouldn't know where to start.
|
|
a package, |
|||||
|
|
For typesetting Sudokus (well, LaTeX is mainly for typesetting, while calculations can be done for example with Lua, or pgf which provides a random number generator), Roberto Bonvallet has contributed a Sudoku example to the TikZ gallery.
|
|||
|
|
For typesetting Sudokus, you can also use the logicpuzzle bundle [CTAN].
You can use the createlpsudoku bash script to transfer exported Sudokus from e.g. HoDoKu or QQwing into With the lpsmag bash script, you can even produce your own Sudoku magazines with solutions! Whenever you run the script, you have a new magazine. |
|||
|
|



