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)

Constructors

Link copied to clipboard
constructor(schemas: SudokuSchemas)

Functions

Link copied to clipboard

Constructs a Sudoku puzzle based on the provided SudokuSpec.

Constructs a Sudoku puzzle based on the provided configuration block.