Package-level declarations

Functions

Link copied to clipboard
fun findBySize(rows: Int, cols: Int): GameType

Finds a GameType based on the given number of rows and columns.

Link copied to clipboard
fun <T> Random.getRandomItem(items: List<T>): T
Link copied to clipboard
Link copied to clipboard
fun String.toBoard(sudokuType: SudokuType): Array<Array<String>>

Converts a SudokuString to a list of lists of strings, representing the Sudoku puzzle in a more granular format.

fun String.toBoard(boxDigits: Int): Array<Array<String>>

Converts a SudokuString to a Board object with the specified number of digits per box.

Link copied to clipboard

Converts a Board object to a Sudoku string representation.