Initial sudoku solver with parser and formatter.

This commit is contained in:
Drew Galbraith 2024-04-10 15:45:09 -07:00
commit 338309fde6
5 changed files with 99 additions and 0 deletions

15
src/main.rs Normal file
View 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);
}