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

Generates a puzzle of the desired order and difficulty.

Implementors