Hat Colors: Example Story
Two people are walking down the road when they are approached
by an enchantress (you).
You tell them that only psychics and their friends are allowed
to walk on this road, and prepare to turn them into turtles for
their transgression.
The two people whisper to each other and then tell you that they
are slightly psychic but cannot use their power too much due to
a pre-existing curse.
They tell you that you may make either a red hat or a blue hat
appear on each of their heads, and then without being able to
see their own hat they will psychically communicate with each
other and then they will simultaneously call out a color.
When they do this,
one of them will say the color of the hat they are wearing,
and the
other will say the opposite of the color of the hat they are
wearing.
They tell you that you are free to have their hats be different
colors from each other or the same as each other.
Try to set the hat colors of the two people such that either
they both say the color of the hat they are wearing or
they both say the opposite color of the hat they are wearing
and you get to turn them into little turtles.
Web Accessibility