The hardest logic puzzle ever: 5 free puzzles to play online, from very easy to expert
🏛️ Train for the Hardest Logic Puzzle Ever — 5 Free Grids

Use the clues to work out the full arrangement, then check your grid. Tap ✗ and ✓. Five puzzles, from very easy to expert.

📑 In this guide (6 sections)
  1. What Is the Hardest Logic Puzzle Ever?
  2. How Do You Solve the Hardest Logic Puzzle Ever?
  3. Worked Example: How Do You Solve Our Medium Paradox Puzzle?
  4. What Other Logic Puzzles Are Famously Hard?
  5. How Can You Get Better at Hard Logic Puzzles?
  6. FAQs

The hardest logic puzzle ever is a famous riddle about three gods called True, False and Random, who answer yes-or-no questions in a language you don’t understand, and you have just three questions to work out who is who. Philosopher George Boolos gave it that name in 1996, and it still defeats most people who try it.

You can’t play that puzzle in a grid, but you can train the same skills. The five free puzzles above are logic grids that get steadily harder, from a gentle Very Easy four-guard warm-up to an expert codebreakers’ puzzle with very few direct clues. Each one has exactly one solution, and the harder levels need the same careful case-by-case thinking the gods puzzle demands.

Below you’ll find the full hardest logic puzzle ever explained, the trick that cracks it, a worked example of our Medium paradox puzzle, other famously hard logic puzzles, how to get better at hard puzzles, and answers to common questions.

What Is the Hardest Logic Puzzle Ever?

The hardest logic puzzle ever asks you to identify three gods, A, B and C, as True, False and Random, using three yes-or-no questions, when the gods answer “da” or “ja” and you don’t know which word means yes.

Here are the rules in plain English:

  • True always tells the truth.
  • False always lies.
  • Random answers truly or falsely completely at random, like a coin flip.
  • You may ask three questions in total, each put to one god. You can choose who to ask next based on earlier answers.
  • Each god answers in his own language with “da” or “ja”, and you don’t know which word means “yes”.

George Boolos published the puzzle under the name “The Hardest Logic Puzzle Ever” in The Harvard Review of Philosophy in 1996. He credited the logician Raymond Smullyan as its originator and the computer scientist John McCarthy with adding the twist of the unknown words for yes and no.

Three things make it so hard at once. Two of the gods are fully reliable in their own way, one is not, and even an honest answer arrives in a code you can’t read. Most people manage to solve one of those problems and then run out of questions. It’s a much harder cousin of the two guards riddle.

The hardest logic puzzle ever online game showing the Medium puzzle clues, the grid and the Full screen button
Read the clues, then tap the grid to mark ✗ and ✓.

How Do You Solve the Hardest Logic Puzzle Ever?

You solve it with an embedded question: ask a god “If I asked you Q, would you say ja?”, because both True and False then answer “ja” exactly when the true answer to Q is yes.

This trick cancels both problems at once. True reports honestly what he would say. False lies about what he would say, and since what he would say is already a lie, the two lies cancel out. And because the question itself is about the word “ja”, it doesn’t matter which word means yes. So you get a reliable answer from anyone except Random. It’s the same idea behind many knights and knaves puzzles, pushed to its limit.

Boolos’s solution then works in three steps:

  1. Find a god who isn’t Random: ask A a question whose answer tells you whether B or C is Random. Whichever answer you get, you can name one god who is definitely not Random.
  2. Ask that god who he is: use the embedded question to ask whether he is False. Now you know if he’s True or False.
  3. Ask him about another god: use the embedded question once more to ask whether one of the others is Random. That identifies the last two.

Later philosophers simplified the solution, and in 2008 Brian Rabern and Landon Rabern showed that if a god can be stumped into silence by a paradoxical question, the puzzle can even be solved in two questions.

Worked Example: How Do You Solve Our Medium Paradox Puzzle?

You solve the Medium puzzle by giving Jude the liar paradox, testing where the Kyle–Milo pair can sit, and finding the only order that works: Iona speaks 1st on the raven, Kyle 2nd on the ship, Milo 3rd on the barber, Jude 4th on the liar and Lola 5th on the arrow.

Five logicians each present one paradox in five speaking slots. Here’s the chain:

  1. The liar paradox: Iona and Kyle are the only two candidates for both the ship and the raven, so between them they take those two. Iona can’t also take the liar, so Jude does.
  2. Two pairs: Jude speaks directly before Lola, and Kyle directly before Milo. Milo doesn’t speak 5th.
  3. The 3rd slot: the barber speaker speaks 3rd. That can’t be Iona or Kyle (ship and raven) or Jude (liar), so Lola or Milo speaks 3rd.
  4. Test the Kyle–Milo pair: Milo isn’t 5th, so the pair can’t be in 4–5. In slots 1–2, Lola would have to be 3rd, which puts Jude 2nd, clashing with Milo. In slots 3–4, Kyle is 3rd, but he can’t present the barber. So Kyle speaks 2nd and Milo 3rd.
  5. The rest: Jude and Lola take 4th and 5th, leaving Iona 1st. The raven speaker isn’t 2nd, so Kyle presents the ship and Iona the raven. Milo presents the barber and Lola the arrow.

It’s not a three-gods puzzle, but the method is the same as all case splits: list the cases, test each one honestly, and keep only the one that survives every clue.

Solved Medium puzzle from the hardest logic puzzle ever page with every clue crossed off, the answer table and the solve time
Every clue fits: the answer table shows the one solution.

What Other Logic Puzzles Are Famously Hard?

Other famously hard logic puzzles include the blue-eyed islanders, the two guards at two doors, the zebra puzzle, the three prisoners and hats problem, and the Monty Hall problem.

The two guards puzzle, one truthful and one a liar, guarding two doors, is the simpler ancestor of the gods puzzle; the classic answer is to ask either guard what the other guard would say. Knights and knaves puzzles, popularised by Smullyan, build on the same idea. The blue-eyed islanders puzzle asks what happens when a visitor makes an apparently useless announcement. The zebra puzzle is the longest classic deduction grid; try it on our zebra logic puzzle page. The Monty Hall problem is short but famously counter-intuitive: switching doors wins two times out of three.

PuzzleMain difficultyGood first step
Three godsLiars, randomness and unknown wordsLearn the embedded question
Two guardsOne liar, one truth-tellerAsk about the other guard
Blue-eyed islandersReasoning about what others knowTry it with one or two islanders
Zebra puzzleLong chains of cluesUse a grid
Monty HallIntuition fights probabilityList all the cases

How Can You Get Better at Hard Logic Puzzles?

You get better at hard logic puzzles by mastering smaller versions first, writing down every case you test, and practising grids that force you to combine several clues at once.

  • Start small: solve knights-and-knaves puzzles with two people before tackling three gods.
  • Write cases down: “If Kyle is 1st, then…” keeps your reasoning honest.
  • Climb the levels: our five grids go from Very Easy to Expert, so you can build the habit gradually.
  • Explain your answer: if you can explain why each step is forced, you’ve really solved it.
  • Learn the tricks: embedded questions, case splits and “what does each person know?” come up again and again.

Our advanced logic puzzle techniques guide covers grid methods in more depth, and the tough logic puzzles give you plenty of practice.

The hardest logic puzzle ever in full screen mode with clues, grid, timer and Exit button
Tap Full screen to play on the whole screen, then tap Exit to go back to the page.

FAQs

What Is the Answer to the Hardest Logic Puzzle Ever?

The answer is a method, not one sentence: use embedded questions to find a god who isn’t Random, then ask him whether he is False, and finally ask him about another god. Three questions are enough to name all three gods, even though you never learn whether da or ja means yes.

Can the Hardest Logic Puzzle Ever Be Solved in Two Questions?

Boolos’s own solution uses three questions. In 2008, Rabern and Rabern showed that if a god can be left unable to answer a paradoxical question, the puzzle can be solved in two, and later work explored other variations.

Where Can I Play More Hard Logic Puzzles?

For more hard puzzles, try our Mensa logic puzzles, the logic puzzles for adults and our detective logic puzzles, as well as the classic zebra puzzle. The Expert grid above is a good test once the Hard level feels easy.

You might also like the hardest sudoku puzzle ever made, with 3 evil grids to try.

Muhammad Hammad

Muhammad Hammad is the founder and editor of Cool Math Game Puzzle. He creates and reviews the site's logic puzzles, number puzzles and sudoku guides for students, teachers, parents and puzzle fans.