sodoku

Crates.iosodoku
lib.rssodoku
version0.0.1
sourcesrc
created_at2020-10-07 14:36:16.888706
updated_at2020-10-07 14:36:16.888706
descriptionA crate for generating and solving [sodokus](https://en.wikipedia.org/wiki/Sudoku).
homepage
repositoryhttps://github.com/TianyiShi2001/sodoku
max_upload_size
id296989
size25,927
Tianyi Shi (TianyiShi2001)

documentation

README

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
Commit count: 4

cargo fmt