Unofficial Hacker News companion — get notified on comment replies, and more.

Sudoku's Hidden Rule (opens external site)

481 points by multifasciatus 2 days ago | cyrusjavan.com | 214 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. Uniqueness is usually seen as a shortcut. Handcrafted puzzles often have an intended solution which requires some insight or logic that the puzzle setter wanted you to discover. Uniqueness can sidestep that.

    Uniqueness also assumes the puzzle is correct. Especially if you're a test solver you can't assume that, as the setter may have made a mistake.

    I will say I don't think that way about solves with a BUG in them. The BUG usually only appears as the absolute last step of a solve. If you encounter it, it's probably the intended solve.

    Replies (1)
    1. > Especially if you're a test solver you can't assume that, as the setter may have made a mistake.

      Why would you bother a human test solver before checking mechanically for uniqueness and other 'correctness' issues?

      Replies (1)
      1. Most sudokus which could use a human test solver come with alternative rulesets. Part of the fun of setting puzzles is coming up with rules for them. There's no implementation to test them. And it's fun testing a friend's sudoku.
        Replies (1)
        1. Most rulesets can be quickly encoded in eg an integer programming solver.

          Until earlier this year that still required someone to know what they were doing (but not much smarts to actually do); but the agents have become so good, that it's fairly trivial to ask them to code up a solver.

          > And it's fun testing a friend's sudoku.

          Oh, definitely! I mean, I also actually like doing code review, too, but I still ask the agents for a first pass.