Module board

Source
Expand description

§The Board type

Puzzles and solutions are repesented by the Board type.

A Board represents a nine-by-nine grid of cells. Each cell contains either a number from 1 to 9, or a zero if the cell is unfilled.

Structs§

Board
A representation of a puzzle or solution.

Constants§

BOARD_SIZE
The number of cells in a row, column or square. For standard sudoku puzzles, this is 9.
SQUARE_SIZE
The height or width of a “square” of cells within the board. For standard sudoku puzzles, this is 3.