Initial sudoku solver with parser and formatter.
This commit is contained in:
commit
338309fde6
5 changed files with 99 additions and 0 deletions
15
src/main.rs
Normal file
15
src/main.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
mod board;
|
||||
|
||||
fn main() {
|
||||
let nyt_hard = "3...184.9\
|
||||
8.47.....\
|
||||
.....61..\
|
||||
4....25.8\
|
||||
..3.....4\
|
||||
....4..2.\
|
||||
...6.1...\
|
||||
17.2.....\
|
||||
5........";
|
||||
let sudoku_board = board::Board::from_string(nyt_hard);
|
||||
println!("{:#?}", sudoku_board);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue