Expand description
Utilities for displaying Sudokus and solving them in ANSI-compliant terminals.
§Quick Start
Print the solution to a Sudoku in terminal:
use newdoku::Sudoku;
use std::str::FromStr;
let s = Sudoku::from_str(
"xxxxxxx9xx9x7xx21xxx4x9xxxxx1xxx8xxx7xx42xxx5xx8xxxx748x1xxxx4xxxxxxxxxxxx9613xxx",
).unwrap();
println!("{}\n\n{}", s, s.solution(0, false).unwrap());
Re-exports§
pub use clap;
Structs§
- Parse
Error - Sudoku
- Contains an 81-size array of
Option<u8>
.