Just run Ssudg and the program will print out a randomly generated Sudoku puzzle.
When run, Ssuds accepts up to nine lines of input, which become the initial grid. All non-digit characters are ignored, as are all characters following a '#' (on the same line). Any line containg no digits (before a '#') does not count toward the nine line total. '0' indicates a blank cell; trailing zeroes may be omitted from any line. Any omitted lines (i.e. if EOF is encountered) will be zeroed out. It may be easiest to create a file with the initial pattern and then to run Ssuds with input redirection ('ssuds < file'). Note that the output of Ssudg is compatible with the input format of Ssuds (version 0.2 and later) so one can execute 'ssudg | ssuds'
.
The following input to Ssuds
# This is an example Sudoku problem generated by Ssudg 406 205 000 000 097 800 009 400 001 000 009 010 000 001 300 004 000 057 300 000 005 258 006 900 040 800 000results in the following output
Initial grid: 406 205 000 000 097 800 009 400 001 000 009 010 000 001 300 004 000 057 300 000 005 258 006 900 040 800 000 Found a solution: 486 215 739 513 697 824 729 438 561 835 769 412 672 541 398 194 382 657 367 924 185 258 176 943 941 853 276