Quote:
i want to be able to validate and display to the user when it gets it wrong or right.
The only way I know is to solve the Sudoku.
You have basically 2 methods
- Brute force: try mechanically to fill cells until something go wrong or you solve it. Always find a solution if one is possible.
- try to solve with human like methods. Can be unable to solve the problem if inpit is really complicated.