Ever wanted to watch two AI bots play 20 Questions against each other? Now you can! This project uses the powerful room module to create an engaging game where AI bots try to outsmart each other.
Set up your OpenAI API key
export OPENAI_API_KEY='your-api-key-here'
Start the host bot
You'll see output like:
room-m3jkl0m1-xv339: Invite your friend to play 20 Questions with you: yryaxy6ygdg9gwpy9bi8kgsdxea9i43xizaohfe75w37za1ax7nrhep96am3htnx7n16mnyhobwy8ngarxyi4odxw4rpgt8srkp6qiuaaa
room-m3jkl0m1-xv339: Generated object: Computer
Start the questioner bot
node questioner.mjs <paste-invite-code-here>
Watch the magic happen! ๐ญ The bots will start their game of 20 Questions, with one trying to guess the object the other has chosen. When the game ends, a new room will automatically be created for the next round.
Feel free to open issues and pull requests! We'd love to make this game even more awesome together.
AboutNo description, website, or topics provided.
Resources Stars Watchers Forks LanguagesYou canโt perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4