Package-level declarations
Types
Link copied to clipboard
Exception thrown when no Sudoku schemas are found for a given difficulty.
Link copied to clipboard
Exception thrown when no Sudoku schemas are found for a given Sudoku type.
Link copied to clipboard
class SudokuSchema(val puzzle: SudokuString, val solution: SudokuString, val difficulty: Difficulty, val dimension: Dimension)
Represents a schema for generating Sudoku puzzles.
Link copied to clipboard
Represents a set of Sudoku schemas.
Functions
Link copied to clipboard
Adds multiple SudokuSchema instances to the set from an array.
Link copied to clipboard
Requires that there are Sudoku schemas for the given difficulty.
Link copied to clipboard
Requires that there are Sudoku schemas for the given type.
Link copied to clipboard
fun SudokuSchema(puzzle: String, solution: String, difficulty: Difficulty, dimension: Dimension): SudokuSchema
Creates a new SudokuSchema instance with the specified puzzle, solution, difficulty, and Sudoku type.
Link copied to clipboard
Creates a SudokuSchemas using a SudokuSchemas.Builder with a DSL-style configuration.
inline fun SudokuSchemas(existingSet: SudokuSchemas, builder: SudokuSchemas.Builder.() -> Unit): SudokuSchemas
Updates an existing SudokuSchemas using a SudokuSchemas.Builder configured with a DSL-style lambda.