Skip to content
Thinking Games
EN
Guides · 9 min read

How to solve logic puzzles: eight techniques that work almost everywhere

Knowing how to solve logic puzzles is mostly a matter of knowing where to look next. Nonograms, bridges, number grids and sliding blocks seem to have nothing in common, yet the same handful of ideas solves all of them. Here are eight, each with the reason it is valid and a small example taken from one of the games in Thinking Games, so that you can see it at work on a real board.

Before the techniques: deduce, do not guess

A well-made logic puzzle can be solved without ever guessing. Each of the techniques below is a way of finding something that is certain given the rules and what is already on the board. That is the whole discipline: place what you can prove, and only that.

The reason is practical. A guess that happens to be wrong does not announce itself. It sits on the board looking like a fact, you build on it, and ten moves later something will not fit and you no longer know which move to blame.

There is one fair exception. In puzzles made of moves you can undo (sliding blocks, river crossings, tilting mazes), trying a line of play is a legitimate way to learn how the pieces interact.

1. Start where there is least choice

Every puzzle has places with many possibilities and places with one or two. Go to the second kind first. A spot with a single option is a free fact, and each fact you place removes options somewhere else, so the constrained spots multiply as you go.

Before touching anything, scan the board for the biggest numbers, the corners, the smallest regions, the most specific clue.

Example, Build Bridges. An island's number is how many bridges touch it, and two islands can share at most two bridges. An island in a corner has only two neighbours. If it shows a 4, there is nothing to decide: two bridges go to each. Draw them, and both neighbours now have less left to place.

Example, Split the Land. Every plot is a rectangle covering as many squares as its number. A 6 could be 1×6 or 2×3, lying either way. A 5 has no such freedom: five is prime, so the plot is a strip one square wide. Begin with the primes and the numbers squeezed against a wall.

2. Eliminate

When you cannot see what something is, list what it cannot be. If all the options but one are ruled out, the last one is the answer, however unremarkable it looked. Elimination is the technique you will use most, because rules in logic puzzles are nearly always prohibitions: no repeats, no touching, no crossing.

Example, Numbers in Order. Each row and each column holds every number once. In a 4×4 grid, look at an empty square whose row already has a 1 and a 3 and whose column has a 4. Three of the four numbers are taken. The square is a 2.

Example, Crack the Lock. The first tutorial lock has three positions and uses digits 1 to 6 with no repeats. The attempt 4 5 6 scored nothing at all, so the code is made of 1, 2 and 3 in some order. The attempt 1 4 5 had one digit in place, which can only be the 1, in first position. The attempt 5 2 3 had two digits right but both misplaced: the 2 is not second and the 3 is not third. The code is 1 3 2. Every step was a removal.

3. Find what every possibility has in common

Often you cannot tell which of several arrangements is the real one. You do not need to. If something is true in all of them, it is true, and you can put it on the board now. Most people discover this technique in nonograms, where it is called overlap, but it applies anywhere.

Example, Hidden Picture. A row of ten squares has the single clue 7. Pushed fully left, the group covers squares 1 to 7. Pushed fully right, squares 4 to 10. Wherever it really sits, squares 4, 5, 6 and 7 are filled. Fill those four.

Example, Build Bridges. An island needs 3 more bridges and has two neighbours available. The three bridges could split 2 and 1, or 1 and 2. You do not know which, but neither line can be left empty, because one line alone holds two at most. So each line carries at least one bridge. Draw one on each.

The question to ask is always the same: I cannot decide between these, but is there anything they agree on?

4. Try a case and look for the contradiction

When nothing is forced, pick a spot with two options and follow one of them in your head. If it leads to a broken rule, that option is dead and the other one is certain. This is proof by contradiction, and it is deduction, not guessing: you are not hoping the case is right, you are checking whether it can be wrong.

Choose the spot with the fewest options, and look for contradictions that appear within one or two steps. If you need to hold ten moves in your head, there is an easier deduction somewhere that you have missed.

Example, Lonely Stars. Every region needs one star, and stars may not touch, not even at a corner. Suppose a region has only two free squares left, side by side. Look at the square directly above the left one. A star there would touch the left square along an edge and the right one at a corner, leaving the region with nowhere to put its star. So that square cannot hold a star. Mark it with an X. You have not placed anything, and you have still made progress.

5. Work backwards from the goal

In puzzles made of moves, the start usually offers many options and the end very few. So begin at the end. Ask what the final position must look like, then what must be true one move before it, and keep going until you reach something you know how to do.

Example, Tilt Maze. The marble rolls until a block or the edge stops it, and it has to end up stopped on the goal. Take a level with one marble where the goal sits against the bottom edge, with open squares to its left, to its right and above it. A marble arriving sideways would roll straight over. Only a downward tilt can park it there. So before the last tilt the marble must be somewhere above the goal in the same column, with nothing in between. The problem has changed from "reach the goal" to "get into that column", which is smaller.

Example, Clear the Way. Do not start by moving whatever can move. Start from the exit: which blocks stand between the red car and the gap? Where could each of them go? What is in the way of that? You end up with a short chain of obstacles, and the first move is at the far end of the chain.

6. Count: parity and invariants

An invariant is something that stays the same whatever you do. Parity, whether a count is odd or even, is the commonest one. These arguments feel like magic the first time, because they tell you things about the solution before you have made a single move.

Example, One Stroke. You must trace every line once without lifting your finger. Each time your finger passes through a dot it uses two lines, one in and one out. So a dot where an odd number of lines meet cannot be a dot you merely pass through: it has to be where you start or where you finish. Take a square with one diagonal drawn. The two ends of the diagonal have three lines each, and the other two corners have two. Start at one end of the diagonal and you will finish at the other. Start anywhere else and it cannot be done.

Example, Domino Chain. Inside the chain, numbers are used up in pairs, because every join puts two equal ends together. A number that appears an odd number of times across all the tiles must therefore have one copy left over at an end of the chain. With the tiles 1|2, 2|3, 3|1 and 1|4, the 1 appears three times and the 4 once. The chain runs from a 4 to a 1 (4|1, 1|2, 2|3, 3|1) or the same thing reversed.

7. Write down what you have ruled out

Half of what you deduce in a puzzle is negative: not here, not this number. Negative facts are easy to forget and expensive to work out again. Put them on the board. The space you free in your head is what lets you see the next step.

Almost every game in the collection has a tool for this, and none of the marks counts towards the solution:

  • Hidden Picture: the cross, for squares you have proved empty.
  • Lonely Stars: the X, for "no star here".
  • Numbers in Order: Notes, to pencil in the candidates that are still alive in a square.
  • Crack the Lock: under "Possible digits", cross a digit out or mark it as sure.
  • Complete the Circuit: Lock, to fix a piece whose position you are certain of.

One rule for notes: write only what you have proved. A note that means "I think so" is a guess with better handwriting.

8. Know when to stop, and how to use a hint

Being stuck has recognisable signs. You are looking at the same row for the third time. You are tempted to place something "to see what happens". Before asking for help, try three things, in this order:

  1. Reread the rules. A surprising share of dead ends come from a rule you stopped applying: that stars may not touch diagonally, that all the islands must end up connected, that there is a gap between groups.
  2. Look somewhere else. Go round the whole board once with technique 1 in mind. What you placed five moves ago may have created a forced spot on the other side.
  3. Leave it. Put the phone down and come back later. The level will be exactly as you left it, and a fresh look often finds what an hour of staring did not.

If none of that works, ask for a hint, and read it properly. In Thinking Games the Hint button does not just show a move: it points at the squares involved and states the reason, such as "in this row the number only fits in one square". The reason is the valuable part. Next time you will find that step yourself. When a position has no simple deduction, the hint says so and gives you one valid step to continue from.

A level solved with no hints earns three stars, with one hint two, and with more than one a single star, and you can replay it. Taking a hint to learn a technique beats an hour of stubbornness.

These eight ideas are the general ones. Each game adds its own patterns, which you will find in the guide to each game. For what this kind of reasoning shares with weighing evidence in everyday life, see critical thinking games.

Frequently asked questions

What is the best way to start a logic puzzle?

Scan the whole board for the place with the fewest possibilities: the largest number, a corner, the smallest region, the most specific clue. Place what is forced there, then scan again. Each certain move removes options elsewhere and creates the next forced spot.

Should you ever guess in a logic puzzle?

In a puzzle with one solution, no: a wrong guess looks like a fact and spoils everything built on it. What you can do is test a case in your head and see whether it breaks a rule, which proves the opposite. In puzzles made of reversible moves, such as sliding blocks, trying a line and undoing it is fine.

What should I do when I am completely stuck?

Reread the rules, since the missing step is often a rule you stopped applying. Then look at a different part of the board. Then take a break. If you are still stuck, ask for a hint and study why that step is valid.

Do these techniques work for sudoku?

Yes. Sudoku is solved with the same ideas: start with the most constrained squares, eliminate candidates, write the candidates down as notes and, on hard grids, follow a case until it contradicts itself. In Thinking Games the closest game is Numbers in Order, a Latin square without boxes.

Games that practise this

Keep reading