SudokuParser

class SudokuParser(puzzle: String, dimension: Dimension)

A class responsible for parsing and manipulating Sudoku puzzle strings.

Parameters

puzzle

The Sudoku puzzle string to parse.

dimension

The sudoku type of the Sudoku puzzle (e.g., 4x4, 9x9).

Constructors

Link copied to clipboard
constructor(puzzle: String, dimension: Dimension)

Functions

Link copied to clipboard

Converts the Sudoku puzzle string into a numerical representation.