Puzzle generators
Grid generation by brute force: in each cycle a digit is added and checked for validity. If the grid becomes invalid, the grid generation is started all over again.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out), | dimension(9, 9) | :: | grid |
Sudoku grid |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | col | ||||
real, | public | :: | r | ||||
integer, | public | :: | row | ||||
integer, | public | :: | tests |