Flip the LLM's character card to reveal its identity. It's technically cheating, but it's useful to make sure the LLM is not lying to you 😉
Customize how the LLM behaves in the game. This controls the LLM's personality, knowledge, and gameplay style.
With this little game you can try to play "Guess Who" against an LLM of your choice.
If you are not familiar with "Guess Who", here is a quick recap of the rules:
Before you can play you have to connect an LLM. This game supports OpenAI-compatible endpoints, Anthropic and Gemini models. Just click on Settings, select your provider, type in the model name of the LLM you want to play against and add your API key. You can test that your setup works by clicking on the Test button.
An API key is similar to a password: it gives application access to a private resource. For example, have a look here to get your own OpenAI API key: Where do I find my OpenAI API Key? - OpenAI Help Center
Legit! I wouldn't either. If you still want to play, you can get the source code on GitHub and run the game yourself. It's extremely easy! The entire game is an HTML file with a little JS and CSS on the side. No frameworks, no build systems, no Node.js, React or whatever. This game has no backend at all. It's fully hosted on GitHub Pages and everything is stored in your browser's local storage. Check the README of the repo for more details, but it all boils down to running these three commands on any modern Linux or Mac OS.
The game is free, but if you're using a hosted LLM you're likely going to be charged by the token. Check your provider's terms to learn how much the tokens cost in your specific case. Rest assured: in this game there's no hidden consumption of tokens. The LLM is used exclusively to chat with you, so in most cases it should cost very little per game (pennies or less).
What's an API key?
No way I'm giving you my API keys dude
Can I play for free?
You can communicate with the LLM through a free form chat, just like you would play with another person.
Your board will be on the left, with your chosen character at the top. You can remove characters from your board by clicking on them. Clicking on an eliminated character brings it back.
You can also see the LLM's board to know how many characters it already filtered out and how close it is to winning.
The LLM is in charge of declaring a winner. When you win, the LLM should declare you the winner:
When you lose, you'll see this instead:
In the Settings window you can find some more tools. They are especially useful if you're trying to prove a point.
My original intent was to make LLMs play against each other and make a sort of leaderboard of their Guess Who prowess... but the results of my initial testing were so delirious that I needed to share this version too.
I am now collecting a few gameplays for a future post on my blog, which I will link here once ready (or you can subscribe to my Substack to receive it in your inbox). If you stumble upon some odd behavior, please share it with me! You can find me on Twitter/X, Bluesky, Mastodon, LinkedIn, and of course via email.
Needless to say, contributions are welcome.
Enjoy!