https://github.com/pumpedsardines/sudoku
A way to create, solve, save and load sudokus
https://github.com/pumpedsardines/sudoku
algorithm game puzzle rust sudoku sudoku-generator sudoku-solver
Last synced: 9 months ago
JSON representation
A way to create, solve, save and load sudokus
- Host: GitHub
- URL: https://github.com/pumpedsardines/sudoku
- Owner: PumpedSardines
- Created: 2021-08-25T18:32:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-25T18:48:24.000Z (over 4 years ago)
- Last Synced: 2025-01-24T12:28:23.559Z (10 months ago)
- Topics: algorithm, game, puzzle, rust, sudoku, sudoku-generator, sudoku-solver
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sudoku
A way to create, solve, save and load sudokus with rust.
```rs
fn main() {
let sudoku_game = sudoku::new_solved();
}
```
If you want to solve a sudoku, you can load it in and the call the solve method
```rs
fn main() {
let mut my_cool_sudoku = sudoku::Board::new_from_bytes(byte_arr).unwrap();
my_cool_sudoku.solve().unwrap();
println!("{}", my_cool_sudoku);
}
```