Hint

data class Hint(val message: String, val row: Int, val col: Int = -1, val type: SudokuPuzzle.HintType)

Represents a hint for solving the Sudoku puzzle.

Constructors

Link copied to clipboard
constructor(message: String, row: Int, col: Int = -1, type: SudokuPuzzle.HintType)

Properties

Link copied to clipboard
val col: Int

The column index to which the hint applies (0-based). Defaults to -1 if the hint is not specific to a column.

Link copied to clipboard

The message or description of the hint.

Link copied to clipboard
val row: Int

The row index to which the hint applies (0-based).

Link copied to clipboard

The type of hint, which determines the solving strategy to be used.