Skip to main content

Crate rumenx_sudoku

Crate rumenx_sudoku 

Source
Expand description

§sudoku

Fast Sudoku generator & solver for Rust — classic 9×9 plus configurable grids — with guaranteed unique puzzles, deterministic seeding, and hint helpers.

Module: rust-sudoku Author: Rumen Damyanov contact@rumenx.com

Structs§

Board
A 9×9 Sudoku grid. Empty cells are 0.
Grid
A generalised Sudoku grid. Values in [0..size], 0 = empty.

Enums§

Difficulty
Difficulty controls the number of clues in a generated puzzle.

Constants§

MAX_GRID_SIZE
Maximum allowed grid size to prevent excessive memory usage.

Functions§

set_rand_seed
Sets the seed for the library’s random generator ensuring reproducible generation. Call during init / setup; not concurrency-guarded beyond the thread-local.