Crates.io | sodoku |
lib.rs | sodoku |
version | 0.0.1 |
source | src |
created_at | 2020-10-07 14:36:16.888706 |
updated_at | 2020-10-07 14:36:16.888706 |
description | A crate for generating and solving [sodokus](https://en.wikipedia.org/wiki/Sudoku). |
homepage | |
repository | https://github.com/TianyiShi2001/sodoku |
max_upload_size | |
id | 296989 |
size | 25,927 |
A crate for generating and solving sodokus.
For now, you can try:
// main.rs
use sodoku::{SodokuMatrix, Sodoku};
use sodoku::examples::SODOKU;
pub fn main() {
for sodoku in SODOKU.iter() {
let mut sodoku = Sodoku::from_matrix(sodoku.clone());
sodoku.solve();
println!("{}", sodoku);
}
}
16*16
hexadecimal sodoku