How to generate Sudoku boards with unique solutions
Here is the way my own SuDoKu program does it: Start with a complete, valid board (filled with 81 numbers). Make a list of all 81 cell positions and shuffle it randomly. As long as the list is not empty, take the next position from the list and remove the number from the related cell. … Read more