GridSize

data class GridSize(val width: Int, val height: Int)

Data class representing the size of a Sudoku grid.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Properties

Link copied to clipboard
val height: Int

The height of the grid.

Link copied to clipboard

Whether the grid size is square (width == height).

Link copied to clipboard
val width: Int

The width of the grid.