Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tianyishi2001/sudoku
Solve a sodoku in Rust
https://github.com/tianyishi2001/sudoku
Last synced: about 1 month ago
JSON representation
Solve a sodoku in Rust
- Host: GitHub
- URL: https://github.com/tianyishi2001/sudoku
- Owner: TianyiShi2001
- License: mit
- Created: 2020-10-07T08:27:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-08T10:36:02.000Z (about 4 years ago)
- Last Synced: 2024-08-08T22:52:29.386Z (3 months ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sodoku
[![crates.io](https://img.shields.io/crates/d/sodoku.svg)](https://crates.io/crates/sodoku)
[![crates.io](https://img.shields.io/crates/v/sodoku.svg)](https://crates.io/crates/sodoku)
[![crates.io](https://img.shields.io/crates/l/sodoku.svg)](https://crates.io/crates/sodoku)
[![docs.rs](https://docs.rs/sodoku/badge.svg)](https://docs.rs/sodoku)A crate for generating and solving [sodokus](https://en.wikipedia.org/wiki/Sudoku).
# 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
- [X] sodoku solver
- [ ] Sodoku generator
- [ ] `16*16` hexadecimal sodoku