diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/context/third/sudoku/README.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/sudoku/VERSION | 2 |
2 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/context/third/sudoku/README.md b/Master/texmf-dist/doc/context/third/sudoku/README.md index f9ffa7b04e0..fee6d7f25bb 100644 --- a/Master/texmf-dist/doc/context/third/sudoku/README.md +++ b/Master/texmf-dist/doc/context/third/sudoku/README.md @@ -1,13 +1,16 @@ # sudoku This is a ConTeXt port of a famous sudoku solver by Peter Norvig. It -provides four commands, as well as a command handler: +provides five commands, as well as a command handler: 1. `\sudoku` typesets a sudoku if valid. 2. `\sudokufile` typesets a sudoku from a file if valid. 3. `\solvesudoku` solves a sudoku if valid. -3. `\solvesudokufile` solves a sudoku from a file if valid. -5. `\setupsudoku` is the command handler for commands above. +4. `\solvesudokufile` solves a sudoku from a file if valid. +5. `\randomsudoku` creates a random, unsolved sudoku. +6. `\sudokubuffer` typesets a sudoku from a buffer. +7. `\solvesudokubuffer` solves a sudoku from a buffer if valid. +8. `\setupsudoku` is the command handler for commands above. `\setupsudoku` understands the following parameters: @@ -18,7 +21,8 @@ provides four commands, as well as a command handler: evenbackground=color, oddbackground=color, evenbackgroundcolor=darkred, - oddbackgroundcolor=darkblue] + oddbackgroundcolor=darkblue, + n=17] % for random sudokus ``` As you might notice, sudokus are just `TABLE`'s in disguise, but only @@ -34,7 +38,8 @@ something like this: [placeholdercommand=\inframed, placeholderlabela=First error, placeholderlabelb=Second error, - placeholderlabelc=Third error] + placeholderlabelc=Third error, + placeholderlabeld=Number too low] ``` For actual examples, check `t-sudoku.mkvi`. diff --git a/Master/texmf-dist/doc/context/third/sudoku/VERSION b/Master/texmf-dist/doc/context/third/sudoku/VERSION index 01291292263..a92966fd4ce 100644 --- a/Master/texmf-dist/doc/context/third/sudoku/VERSION +++ b/Master/texmf-dist/doc/context/third/sudoku/VERSION @@ -1 +1 @@ -2023-05-15 +2023-06-03 |