Skip the menu
Spark & Anvil Privacy

HatDojo

The study group

  • Dalia writes the plan: the rule each person will follow.
  • Jun runs the plan ten thousand times and reports what happened.
  • Leilani reads the back person's word as a one-bit check.
  • Vikram is working on the hundred-boxes puzzle, which comes later.

A case · you decide

Dalia and the worst line

Dalia & Jun & Leilani — a seventeen-year-old who runs her school puzzle club

The idea in play: judging a strategy by its worst case, and using one bit to carry a message.

Ten club members will stand in a line wearing red or blue hats. Each sees the hats in front, hears the words behind, and says one colour. Dalia has ten minutes to agree a plan.

Her first plan is simple: everyone says red. Jun runs it ten thousand times on his laptop. On average five are saved.

Then Jun scrolls to the bottom of the results. On some lines nobody is saved at all.

How should the club judge a plan?

Leilani suggests the back person gives up on their own hat. What should that one word carry?

Write a plan →

What next? Pick a door

Chosen from what this app is about. What you open is remembered on this device only.