Package-level declarations
Types
Link copied to clipboard
data class SudokuPuzzle(val difficulty: Difficulty, val type: Dimension, val seed: Seed, val givens: List<SudokuPuzzle.Givens>, val solution: List<List<Int>>, val hints: List<SudokuPuzzle.Hint> = emptyList())
Represents a Sudoku puzzle, including its difficulty, type, seed, given cells (givens), solution, and optional hints.
Link copied to clipboard
Data class representing specs for a Sudoku puzzle.
Functions
Link copied to clipboard
Generates a Sudoku grid with the given cells filled in based on the puzzle configuration.
Link copied to clipboard
DSL function for creating a SudokuSpec instance using a builder.
DSL function for updating an existing SudokuSpec instance using a builder.