logoalt Hacker News

GolDDranks • today at 4:40 AM • 1 reply • view on HN

Some years back, on a plane, I tried a sudoku game on the integrated entertainment system. I was irritated to find out that I had a seemingly valid solution, but the game refused to consider it solved.

Turns out it was a problem with more than one solution. Once I realized that, the game app immediately left distaste in my mouth, and started feeling like low-quality slop.

After the flight, I immediately checked if sudokus with more than one solution are generally considered valid, and felt vindicated to find out that indeed, they _should_ have only one. The game app was indeed not only buggy, but the puzzle selection/design was also sloppy.


Replies

cocoto • today at 6:11 AM

As the article says the rule is “hidden” so to me it feels that for a digital sudoku puzzle it is ok to have multiple solutions, as long as the program check dynamically that the solution is valid (check all row/columns/3x3 all contains each numbers). For a paper sudoku of course you can only print one solution otherwise it quickly gets messy.