﻿ In search of true god

# In search of true god

May the true God be with you !

The Hardest Logic Puzzle Ever is a logic puzzle so called by American philosopher and logician George Boolos and published in The Harvard Review of Philosophy in 1996. Boolos' article includes multiple ways of solving the problem.

# "Heaven or Hell" - In search of the Way.

(The Easiest Logic Puzzle Ever)

Two gods are called, in some order, True and False. True god always speaks truly, False god always speaks falsely.
They are standing at the crossroad with two new tracks. Both gods know exactly which track will lead to the heaven and which will lead to hell.
Your task, of course, is to determine the right track to the heaven.
You can only ask one question and the question must be put to one god.You don't know the identity of the gods but one god always speaks truly and the other always speaks falsely.
What question should you ask ?

# In search of true god.

(The Hardest Logic Puzzle Ever)

Three gods A, B, and C are called, in some order, True, False, and Random.
True always speaks truly, False always speaks falsely, but whether Random speaks truly or falsely is a completely random matter.
Your task is to determine the identities of A, B, and C by asking three yes-no questions; each question must be put to exactly one god.
The gods understand English, but will answer all questions in their own language, in which the words for yes and no are 'da' and 'ja', in some order. You do not know which word means which.

Here’s a few clarifications about the puzzle.

1. It could be that some god gets asked more than one question (and hence that some god is not asked any question at all).
2. What the second question is, and to which god it is put, may depend on the answer to the first question. (And of course similarly for the third question.)
3. Whether Random speaks truly or not should be thought of as depending on the flip of a coin hidden in his brain: if the coin comes down heads, he speaks truly; if tails, falsely.
4. Random will answer ‘da’ or ‘ja’ when asked any yes-no question.