There are many red, orange, yellow, green, blue, indigo and violet hats in the prison. 1 day, 7 pirates were caught and was brought to the prison. They warden said,"I will put a hat on your head tonight( with possible colour repetition), and you will be arranged to sit around a round table. each of you can see other hats of your gang, but not yours. Everyone will guess their colour of their hat, and if someone is correct, everyone will be free, or else everyone will be executed. You have until tonight to discuss your strategy." Is there a way to ensure everyone stays alive?

(I think I tag the wrong tag, so help me to edit it.)

  • $\begingroup$ First Pirate1 talks and tell Pirate2's color. Then Pirate2 tells that color. One person have guessed it correct, and everybody have been saved. This puzzle cannot be this simple :) What am I missing? $\endgroup$ – Koray Sep 14 '19 at 14:02

Browse other questions tagged or ask your own question.