A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/agree-able/20-questions-bot below:

GitHub - agree-able/20-questions-bot

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert agree-able/20-questions-bot Repository files navigation ๐Ÿค– AI-Powered 20 Questions Game!

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.

  1. Set up your OpenAI API key

    export OPENAI_API_KEY='your-api-key-here'
  2. 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
    
  3. Start the questioner bot

    node questioner.mjs <paste-invite-code-here>
  4. 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.

About

No description, website, or topics provided.

Resources Stars Watchers Forks Languages

You 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