Puzzle Games

The Probability Puzzle: Cracking the Code in Online Puzzles

A focused look at deduction and elimination in online guessing puzzles: how yes-or-no questions, clues and process of elimination narrow down a hidden answer.

On this page
  1. Deduction starts with a list
  2. Yes-or-no questions and halving
  3. Types of clues
  4. A worked elimination
  5. Contradiction as a tool
  6. When elimination stops
  7. Checking your own work

Deduction starts with a list

Guessing puzzles look like they depend on inspiration, but the reliable route is mechanical: write down every candidate, then cross them off as clues arrive. What remains must contain the answer. The skill lies in reading each clue for everything it excludes.

This article is narrowly about that reasoning step: how clues become eliminations, and how to check the work. The wider format of the games is a separate question.

Yes-or-no questions and halving

Imagine an online game where the hidden answer is a whole number from 1 to 16 and you may ask yes-or-no questions. A question such as “is it 8 or lower?” splits the sixteen candidates into two groups of eight. Whichever answer you receive, half the candidates go. A second question halves again to four, a third to two, and a fourth to one. Four questions are enough, since 2 × 2 × 2 × 2 = 16.

Poor questions waste that power. “Is it 1?” removes one candidate if the answer is no, and the chance it is yes is only 1 in 16. The same reasoning applies to any puzzle with a list of candidates: ask what splits the list most evenly, not what feels most likely.

Types of clues

Clues in guessing puzzles tend to be one of a few kinds.

  • Inclusion clues say a symbol, trait or value is present. They remove every candidate that lacks it.
  • Exclusion clues say something is absent. They are often more powerful, since they cut large groups at once.
  • Position clues say where something is or is not.
  • Count clues say how many of a thing there are, for example “exactly two of these are correct”.

Count clues need the most care, because they remove combinations rather than single items. It helps to list the possible combinations that satisfy the count and then test each against the other clues.

A worked elimination

Suppose a puzzle hides a code of three symbols, each drawn from A, B, C, D, with no repeats, and you are told the code contains A and not C. Without clues there are 4 × 3 × 2 = 24 ordered codes. Remove C, and the symbols come from A, B, D, which can be arranged in 3 × 2 × 1 = 6 ways, and every one of them contains A. So the single clue “no C” already cut 24 to 6, and “contains A” is then automatically satisfied.

Notice that the second clue added nothing once the first was applied. Checking for redundant clues is a good habit: it stops you from believing you have more information than you do.

Now add a position clue: A is not in the first place. Of the six arrangements, two have A first (A-B-D and A-D-B), so four remain: B-A-D, B-D-A, D-A-B and D-B-A. Writing the list out like this makes it easy to confirm nothing was dropped.

Contradiction as a tool

When no clue is decisive, assume one candidate and see whether it conflicts with something you already know. A contradiction means the candidate can be removed with certainty. If you reach no contradiction, you cannot yet accept it, because you may simply not have found the conflict. Be sure to apply every clue, including ones you used earlier, since the commonest source of error is forgetting one.

When elimination stops

Eventually a puzzle may leave several candidates standing with no clue to separate them. At that point the problem changes from deduction to choosing under uncertainty. If all remaining candidates seem equally likely, any pick has the same chance, and the sensible choice is the one whose feedback would help most if wrong. Where candidates are not equally likely, as when a puzzle draws common words more often than rare ones, a modest preference for the common ones can help, though it is a tendency and never a certainty. This is where informed decisions come in: you act on the best available estimate while accepting it may be wrong.

Checking your own work

Deduction is only as good as its bookkeeping. A few checks help.

  • Recount the candidates after each clue. If the count does not shrink as expected, a clue was misapplied.
  • Re-read the clue wording. “At least one” and “exactly one” lead to different eliminations.
  • Revisit older clues when a new one arrives; combinations that were previously possible may now fail.

A habit of tidy elimination also builds the ability to spot structure in unfamiliar problems, which links to broader pattern recognition skills used in other games. In the end, the answer in a guessing puzzle is whatever survives the list.

The complete guide to puzzle games

Probability and Problem-Solving: The Key to Success in Puzzle Games
Read the guide

Keep exploring

Guides from other topics

All topics →