Trait sudoku::Generate
[−]
[src]
pub trait Generate: Score + Sized { fn generate(order: u8, difficulty: Difficulty) -> Self; }
Trait to generate a puzzle.
Requires that the puzzle be solvable (to ensure the desired difficulty is attained).
Required Methods
fn generate(order: u8, difficulty: Difficulty) -> Self
Generates a puzzle of the desired order and difficulty.
Implementors
impl Generate for Sudoku