Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurmaedje/sudoku
Tree-searching sudoku solver with forward checking.
https://github.com/laurmaedje/sudoku
depth-first-search forward-checking sudoku-solver
Last synced: 18 days ago
JSON representation
Tree-searching sudoku solver with forward checking.
- Host: GitHub
- URL: https://github.com/laurmaedje/sudoku
- Owner: laurmaedje
- License: mit
- Created: 2019-04-20T21:54:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-09-27T15:26:30.000Z (over 4 years ago)
- Last Synced: 2024-10-28T20:46:29.578Z (2 months ago)
- Topics: depth-first-search, forward-checking, sudoku-solver
- Language: Rust
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoku
Tree-searching _Sudoku_ solver using forward checking. 🎲
### Example
```rust
use sudoku::sudoku;let mut sudoku = sudoku! [
_ 6 4 2 _ _ 9 3 _
_ _ _ 6 _ _ _ _ _
_ 3 _ 7 _ _ _ 1 _
_ _ _ _ _ _ 6 7 2
_ _ _ _ 1 _ _ _ _
8 9 2 _ _ _ _ _ _
_ 5 _ _ _ 4 _ 9 _
_ _ _ _ _ 8 _ _ _
_ 1 9 _ _ 7 3 4 _
];let solution = sudoku.solve().unwrap();
println!("{}", solution);
```### License
This project is MIT-licensed.