A police officer has caught four criminals and plays a game with them. They are not allowed to communicate with each other during the game but are allowed to discuss strategy before.
He lines up three of the prisoners (A, B, C) in one room, placing the fourth prisoner (D) in a separate room where he can hear the other three shout out. Each prisoner is given a hat to wear, blind-folded. The officer tells them that there are in total two blue hats and two red hats.
The game proceeds as follows:
The prisoners being perfect logicians, it is guaranteed that one of them can always guess his color accurately. Which one?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If A sees 2 hats of the same colours he would know his colour, but he sees 2 different colours. B should conclude that if A stays silent he sees 2 colours. So he knows he has a different colour from C. Hence he will call his colour.