Welcome to DoodleDash, a game where you draw and let the AI guess! The objective is simple: draw the word provided as clearly and quickly as you can, while your AI teammate (GPT-4 Vision) tries to guess it. The more words the AI guesses correctly within the time limit, the higher your score!
Doodle.Dash.Game.mp4
Follow these steps to get started:
-
Install Node.js and npm: If you haven't installed Node.js or npm, get them here. This project has been tested with Node.js version 20.x and npm version 10.x.
-
Clone the repository: Clone this repository to your local machine using
git clone https://github.com/yourusername/doodledash.git
. -
Install the dependencies: Navigate to the project directory and run
npm install
to install all the necessary packages. -
Set your OpenAI API Key: To authenticate with the OpenAI API, you need to set your API key. Open the
config.js
file located in thesrc
directory. Inside theconfig.js
file, modify the following line:OPENAI_API_KEY=your-api-key-here
Make sure to replace
your-api-key-here
with your actual OpenAI API key. -
Start the game: Run
npm start
to start the game. Open http://localhost:3000 to view it in your browser.
Check out this video for DoodleDash gameplay (same as embedded video above).
DoodleDash is open-source and contributions are always welcome! Feel free to open issues and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy doodling! 🖌️