SudokuPuzzle
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.
Constructors
Link copied to clipboard
constructor(difficulty: Difficulty, type: Dimension, seed: Seed, givens: List<SudokuPuzzle.Givens>, solution: List<List<Int>>, hints: List<SudokuPuzzle.Hint> = emptyList())
Types
Properties
Link copied to clipboard
The difficulty level of the Sudoku puzzle.
Link copied to clipboard
A list of given cells (fixed values) in the puzzle.
Link copied to clipboard
Optional hints for solving the puzzle, represented as a list of Hint.