Skip to content

AI Games includes four classic games ๐Ÿฆš with dynamic AI powered by Gemini-1.5-Flash. Challenge yourself against an intelligent opponent for a unique gaming experience! ๐ŸŽฎ๐Ÿค–โœจ

License

Notifications You must be signed in to change notification settings

AnurupaK/AI_Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ AI Games

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!

๐Ÿ› ๏ธ Project Structure

AI_Games/
โ”‚
โ”œโ”€โ”€ AI_Service/
โ”‚   โ””โ”€โ”€ files
โ”‚
โ”œโ”€โ”€ Backend/
โ”‚   โ””โ”€โ”€ files
โ”‚
โ”œโ”€โ”€ Frontend/
โ”‚   โ””โ”€โ”€ files
โ”‚
โ””โ”€โ”€ modules/
    โ””โ”€โ”€ files

.env
requirements.txt
vercel.json

โš™๏ธ Getting Started

Prerequisites

  1. Gemini API Key: You'll need an API key from Google AI Studio to use the Gemini model.
  2. Deployment Platform: This project is deployed on Vercel, but you can also consider alternatives like Render or Streamlit Cloud.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/AI_Games.git
    cd AI_Games
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Create a .env file in the root directory and add your Gemini API key:

    GOOGLE_API_KEY=your_api_key_here
    

๐Ÿ–ฅ๏ธ Compatibility

Note: This version of the game is designed for desktop use only and does not support other display formats.

๐ŸŽฎ How to Play

  • 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!

๐ŸŒ Deployment

To deploy the project on Vercel, follow the instructions in the Vercel Documentation.

DEMO

AI_Games.mp4

๐Ÿ’ฌ Feedback

I hope you enjoy playing these AI-enhanced games! If you have any feedback or suggestions, feel free to reach out.

About

AI Games includes four classic games ๐Ÿฆš with dynamic AI powered by Gemini-1.5-Flash. Challenge yourself against an intelligent opponent for a unique gaming experience! ๐ŸŽฎ๐Ÿค–โœจ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published