SudoklifyArchitect
A class responsible for constructing Sudoku puzzles using provided Sudoku schemas.
Throws
If the provided schemas are empty.
Example usage:
val architect = SudoklifyArchitect(SudokuSchemas {
add(schema1, schema2)
})
val sudokuSpec = SudokuSpec {
type = SudokuType.Sudoku4x4
difficulty = Difficulty.EASY
}
val puzzle = architect.constructSudoku(sudokuSpec)
Content copied to clipboard
Functions
Link copied to clipboard
Constructs a Sudoku puzzle based on the provided SudokuSpec.
Constructs a Sudoku puzzle based on the provided configuration block.