Expand description
A Sudoku library implemented in Rust with efficient bitmasking for constraint tracking.
This library provides a Rustoku
struct that can solve and check 9x9 Sudoku puzzles.
The implementation uses bitmasks to efficiently track constraints for
rows, columns, and 3x3 boxes, enabling fast validation and candidate computation
during the solving process.
The library also provides a generate_board
utility to generate puzzles. The
output includes the matrix-like representation of the board as well as the
one-line representation for easy copying and pasting.
Re-exports§
pub use core::Rustoku;
pub use core::generate_board;
Modules§
- core
- Core module for the Rustoku solver and generator.
Enums§
- Rustoku
Error - Represents the types of errors that can occur while working with Sudoku puzzles.