The game simulates dialogs with NPCs (non-player characters) using AI. Players can interact with various characters in the game world, and the AI will generate dynamic and contextually appropriate responses, making each interaction unique and engaging.
Code was written by AI.
Instructions on how to install and set up the project.
# Clone the repository
git clone git@github.com:seedofpanic/ai-rpg.git
# Navigate to the project directory
cd ai-rpg
# Install dependencies
npm installCreate a .env file in the root directory of the project to configure environment variables.
# Create a .env file
touch .env
# Open the .env file in a text editor and add the necessary environment variables
# Example:
# VITE_GEMINI_API_KEY=your_api_key_hereYou can obtain your API key from Google AI Studio.
You can also try the live demo of the project by visiting AI RPG Demo.
Instructions on how to use the project.
# Run the project
npm startAny contribution is welcome.
For any questions or feedback, please contact: seedofpanic41@gmail.com
This project is licensed under the MIT License - see the LICENSE file for details.