www.derf.net / thoughts / 20050510_What_color_hat_am_I_wearing /
<< prev in "random thoughts" random thoughts next in "random thoughts" >>

What color hat am I wearing?   ...   random thoughts , logic , math
tue 2005-may-10 15:07:22 pdt   ...   permalink


The 2-player game

Two players sit facing each other, each with a red or blue hat placed on her head; each can see the other's hat but not her own. Each player must write down a guess, "red" or "blue", for her own hat color, without knowing the other player's guess. The guesses are then revealed and:

  • if at least one player is correct, both get a million dollars;
  • if both are wrong, they get nothing.
  • They can of course agree on their strategy ahead of time but cannot communicate once the game begins. Obviously if they both just guess randomly, they win with 3/4 probability. But can you come up with a strategy that has a better chance of winning? Can you guarantee a win?

    Yes, you can guarantee a win.

    Hint: Think about different ways of dividing up the four possible hat configurations into two cases.

    (the full solution with explanation)


    Please do NOT post solutions in the comments below. Thanks.


    mail me

    post a comment on this entry

    NeilFred Picciotto drawing of neilfred
  • derf content, blog-style
  • derf's comics
  • elsewhere on the web
  • 100% true stories
  • what i learned today
  • random thoughts
  • wristwatch requirements
  • What color hat am I wearing?
  • c plus plus
  • good writing
  • non-mountain unicycle
  • mountain unicycle
  • . . . more . . .
  • movie reviews
  • phone photos
  • blog-on-blog action
  • tags
  • RSS feed
  • XFN links
  • recent comments
  • 2008-sep-22
  • Britt Lyons on food handler
  • Conrad Pate on singing nuns
  • Suzy on people live in West Virginia?
  • Quinn Rutledge on chickens
  • Jacquline Gamble on garlic rabbit
  • 2008-sep-21
  • Lenora Gomez on garlic rabbit
  • 2008-sep-20
  • Jonas Bailey on food handler
  • Lenny Ayers on chickens
  • random phone photo random phone photo
  • non-bloggy content
  • the derf himself
  • the derf FAQ
  • other derfs
  • what's new?
  • the derfnet portal
  • derf's comics
    blogs and such
  • Q
  • entropy
  • girlhacker
  • ambiguous
  • oblomovka
  • sem101
  • badgerbag
  • zephoria
  • pith, jcn
  • jvg
  • unlikely words
  • mjr
  • jessajune
  • heaneyland
  • dommah
  • unwellness
  • livejournalers
  • ...  all derf.net blog content and underlying code owned by NeilFred Picciotto  ...
    mail me