from Hacker News

Show HN: Play Codenames with GPT

by smith-kyle on 3/23/23, 5:45 PM with 7 comments

Built this with my roommate over the weekend. At the end of the game, GPT will share its reasoning for each choice, which yields some funny results and explains why its so hard to win. Enjoy!
  • by zmalski on 3/25/23, 10:06 AM

    This is awesome. I like being able to see the reasoning for the choices.

    Seems that the card shuffling doesn't always work correctly (sometimes all red, all blue, all innocent will be stacked in order)

    Experienced some pretty awful hints from GPT with hilarious justification:

    " Both Turkey and Mercury are planets in our solar system.

    Both Turkey and Mercury are elements on the periodic table. "

  • by MilesTeg on 3/25/23, 1:38 AM

    I was impressed when we pulled off a victory by GPT correctly connecting Wimbledon to Grass+London the round after it failed to choose London from MI6.

    Some of its clues are hilariously bad though. I lost a game immediately because I chose Triangle+Star for geometry instead of Triangle+Thumb(?!)

    Still cool though.

  • by throwawaysalome on 3/23/23, 6:50 PM

    This rocks! Well done!

    I lost of course. I blame my aggressive clue giver!

    The word 'PIRATE' is often associated with 'RELIGIOUS' symbols like the Jolly Roger.

    The word 'CELL' is associated with 'ADVENTURE' situations.

  • by dabei on 3/25/23, 3:59 PM

    Very cool! There are probably a lot of other games you could integrate GPT with similar effect.
  • by smith-kyle on 3/25/23, 8:36 PM

    new favorite GPT reasoning:

    Both words can be associated with mail. Post is related to mail delivery and scorpion is related to the Scorpio zodiac sign which is associated with the planet Mercury, which is the Roman god of messengers and communication.