Sudoku Part 3
Last time, I wrote a fairly simple Sudoku puzzle generator. The only problem was that we had no way of determining solution uniqueness. So for the next part, that’s exactly what I want to do.
Feel free to follow along at https://github.com/Wallyza/sudoku. I’ll also be tagging the repo as I go so that what you’re reading is aligned with what you see in the code. Today’s tag is 0.0.2: https://github.com/Wallyza/sudoku/tree/v0.0.2
Why uniqueness is important If a puzzle doesn’t have a unique solution, the ambiguity will likely end up in the player being stuck in a position where they’d need to guess. Personally, I want to solve puzzles using logic, elimination, and inference. Guessing reminds me of the very difficult Winmine puzzles back in the day, it’s not a good experience.