You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
635 B

# sudoku-solver-rust
Just a small project to learn rust.
Update the `mysolver.rs` file with your solver implementation.
Some unit tests for corner case testing have been added.
```rust
use crate::solver::Solver;
use crate::playground::Playground;
pub struct MySolver {
}
impl MySolver {
pub fn new() -> MySolver {
return MySolver {};
}
}
impl Solver for MySolver {
fn solve(&self, pg: &Playground) -> Option<Playground> {
// FIXME: Implement!
None
}
}
```
The solver trait hands over self as a read-only reference on purpose.
The solver should be stateless, so it can be better compared.