Crate sudoku [] [src]

A sudoku crate.

Structs

Element

Represents a single sudoku "square."

Point

Specifies a sudoku element's location in space.

Sudoku

A (partial) grid of elements.

Enums

Difficulty

Represents the difficulty of a puzzle.

Group

A subdivision of the main sudoku; the smallest grouping to which rules are applied.

ParseError

Represents a deserialization error.

SolveError

Encodes errors encountered while attempting a puzzle solution.

Constants

DIMENSIONS

The number of dimensions in which all sudoku methods will operate.

Traits

Generate

Trait to generate a puzzle.

Grid

Represents an n-dimensional grid of values, indexable via Point.

Puzzle

Includes information about puzzle difficulty and configuration.

Score

Trait defining a puzzle with quantifiable difficulty.

Solve

Trait defining a solvable puzzle.