Welcome to the AI Games project! This project features four classic games: Rock-Paper-Scissors,Hangman,Love Calculator and Riddles, enhanced with AI capabilities. The AI is powered by Gemini-1.5-Flash, allowing it to generate words and play alongside you in a dynamic and interactive way!
AI_Games/
โ
โโโ AI_Service/
โ โโโ files
โ
โโโ Backend/
โ โโโ files
โ
โโโ Frontend/
โ โโโ files
โ
โโโ modules/
โโโ files
.env
requirements.txt
vercel.json
- Gemini API Key: You'll need an API key from Google AI Studio to use the Gemini model.
- Deployment Platform: This project is deployed on Vercel, but you can also consider alternatives like Render or Streamlit Cloud.
-
Clone the repository:
git clone https://github.com/yourusername/AI_Games.git cd AI_Games -
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your Gemini API key:GOOGLE_API_KEY=your_api_key_here
Note: This version of the game is designed for desktop use only and does not support other display formats.
- Launch the application, and choose among Rock-Paper-Scissors , Hangman, Love Calculator or Riddles.
- The AI will dynamically generate contents and play against you!
- Enjoy a fun and interactive experience with the AI!
To deploy the project on Vercel, follow the instructions in the Vercel Documentation.
AI_Games.mp4
I hope you enjoy playing these AI-enhanced games! If you have any feedback or suggestions, feel free to reach out.