How we prove every puzzle

Every puzzle is checked by a program written apart from the one that made it. If a check fails, the puzzle is thrown away and made again. Here is what each check does.

Why a separate checker

A generator that checks its own work can share its own bugs. So each puzzle type has a checker that knows nothing about how the puzzle was made: it reads the finished puzzle and the printed answer, and tests them from scratch. The checks run in your browser while the book is made, and again on our server when you export.

Sudoku

  • Exactly one solution: an exact-cover search (Dancing Links) counts every solution and must find one, no more.
  • The only solution is the printed answer, and every given matches it.
  • Solvable by logic alone: a second solver works like a person, using techniques from naked singles up to Swordfish, XY-Wing and naked quads, and never guesses.
  • The level is earned: the hardest technique the puzzle needs must match its label (Easy: singles; Medium: locked candidates and pairs; Hard: triples and X-Wing; Expert: Swordfish, XY-Wing or naked quad). Read the sudoku difficulty guide.

Mazes

  • A perfect maze: the number of passages is exactly one less than the number of cells, so there are no loops.
  • Every cell can be reached.
  • Start and finish are on the edge, and the printed answer is the only path between them.

Word search and number search

  • Every word is in the grid exactly once, in all 8 directions, including backwards, and exactly where the answer key says.
  • Words only run in the directions the level allows.
  • The filler letters are scanned in all 8 directions for blocked words, so nothing rude hides in the grid.

Crosswords

  • Every run of two or more letters, across and down, is exactly one of the answers: no stray words.
  • The grid is connected in one piece, numbering is standard, and no answer appears twice.
  • Every clue passes its checks: it does not give away its answer, and it is short enough to print.

Word scrambles

  • Each scramble uses exactly the letters of its answer and is really scrambled.
  • No scramble is itself a word in our dictionary, and none is another answer in the same puzzle.

Cryptograms

  • Every letter has its own cipher letter, and no letter stands for itself.
  • Decoding gives back the source text exactly, and any hint letters are in the text.

Across a book

Each puzzle gets a fingerprint that ignores surface changes (a sudoku with its digits relabelled is the same puzzle). No book repeats a puzzle, and on Pro no book repeats one from your other exported books. Pro books also download with a proof report: one line per puzzle with every check it passed and the book's fingerprint.