#solving #generate #sodokus

bin+lib sodoku

A crate for generating and solving sodokus

1 unstable release

0.0.1 Oct 7, 2020

#48 in #solving

MIT license

25KB
720 lines

sodoku

crates.io crates.io crates.io docs.rs

A crate for generating and solving sodokus.

Usage

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);
    }
}

Roadmap

  • sodoku solver
  • Sodoku generator
  • 16*16 hexadecimal sodoku

No runtime deps