Skip to content

Docteur-Parfait/vocab_vortex_gemini_flutter

Repository files navigation

Vocab Vortex

Vocab Vortex is an exciting and educational open-source game developed with Flutter and powered by Gemini AI. The game challenges users to enhance their vocabulary skills in a fun and interactive way.

How It Works

Vocab Vortex generates a random English word using Gemini AI and presents it with its letters shuffled. The player's task is to drag and rearrange the letters to form the correct word. It's a simple yet engaging way to learn new words and test your language skills.

Features

  • Random Word Generation: Each game presents a different word generated by Gemini AI, ensuring endless variety and replayability.
  • Intuitive Drag-and-Drop Interface: Easily rearrange letters with a user-friendly drag-and-drop mechanism.
  • Educational and Fun: Improve your vocabulary while having fun.
Image 1 Image 1 Image 1 Image 1 Image 1 Image 1 Image 1 Image 1 Image 1 Image 1 Image 1

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Packages

  • flutter_riverpod : State management
  • flutter_chat_ui : Chat UI
  • flutter_dotenv : .env
  • uuid : custom gen
  • google_generative_ai : Gemini AI

Cloning the Project

  1. Open your terminal or command prompt.
  2. Clone the Git repository using the following command:
git clone https://github.com/Docteur-Parfait/vocab_vortex_gemini_flutter.git
  1. Navigate to the project directory:
cd vocab_vortex_gemini_flutter

Environment Setup

To run the project correctly, you need to add a .env file containing your Google Gemini AI API key. Follow these steps to set up your .env file:

  1. In the project's root directory, create a file named .env.
  2. Add the following line to the .env file, replacing YOUR_GEMINI_API_KEY with your actual API key:
API_KEY=YOUR_GEMINI_API_KEY

Running the Project

Once you have set up the .env file, you can run the Flutter project using the following commands:

flutter pub get
flutter run

Contributing

Contributions are welcome! If you would like to contribute, please follow these steps:

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Author

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published