Module sudoku_solver::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

  • A representation of a puzzle or solution.

Constants

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