[][src]Module sudokugen::solver::generator

Provides a function and a utility struct to help you generate new puzzles. The generate function takes the base size of the board (see Board::new for an explanation of base size) and returns a unique, minimal puzzle together with the solution for that puzzle.

The generate function returns a GenSudoku struct from which you can extract the generated puzzle and respective solution, using it's board and solution methods respectively.

Structs

GenSudoku

This structure represents a generated board and its solution

Functions

generate

Generate a new sudoku board with a unique solution.