You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						 | 
			3 years ago | |
|---|---|---|
| src | 3 years ago | |
| .gitignore | 3 years ago | |
| Cargo.toml | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	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.
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.