Builder
data class Builder(var difficulty: Difficulty = Difficulty.EASY, var seed: Seed = Seed.Random(), var type: Dimension = Dimension.Unspecified)
Builder class for creating SudokuSpec instances.
Constructors
Link copied to clipboard
constructor(difficulty: Difficulty = Difficulty.EASY, seed: Seed = Seed.Random(), type: Dimension = Dimension.Unspecified)
Functions
Link copied to clipboard
Builds a SudokuSpec instance with the configured properties.
Link copied to clipboard
Sets the difficulty level for the Sudoku puzzle.
Sets the difficulty level for the Sudoku puzzle using a lambda function.
Link copied to clipboard
Sets the seed value for the Sudoku puzzle.
Sets the seed value for the Sudoku puzzle using a lambda function.
Link copied to clipboard
Sets the type of Sudoku puzzle.
Sets the type of Sudoku puzzle using a lambda function.