DEV Community

Discussion on: Building a React app to solve every Sudoku puzzle.

 
jsolano profile image
J.P. Solano • Edited

Great! Thank you for take a look. I tested your sudoku string and it's not a bug, what's happening is when you load a new puzzle, the parseGrid method apply strategy 1 and to 2 (assign(values, square, digit) Solver.js, line 148) to generate the possible values for the cell. In this case, resolve the complete puzzle. May be need a message explaining what happens.

Thread Thread
 
jsolano profile image
J.P. Solano

Hi Andre, I updated (repo and live) with a message when the board is solved in the load state. Thank you for sharing your feedback.