PlantUML has a fun command to create a Sudoku puzzle. We must use sudoku
in our PlantUML definition and a random puzzle is generated. We can even give a seed value for a given Sudoku so it is generated again.
In the following example PlantUML definition we use the sudoku
command:
@startuml sudoku @enduml
We create a PNG file with PlantUML and we get the following result:
To regenerate the same Sudoku we must use the seed value cinnld556e0o
:
@startuml sudoku cinnld556e0o @enduml
Written with PlantUML 8048.