Skip to content

seedofpanic/ai-rpg

Repository files navigation

AI RPG

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.

AI Contribution

Code was written by AI.

Installation

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 install

Environment Variables

Create 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_here

You can obtain your API key from Google AI Studio.

Demo

You can also try the live demo of the project by visiting AI RPG Demo.

Usage

Instructions on how to use the project.

# Run the project
npm start

Contributing

Any contribution is welcome.

Contact Author

For any questions or feedback, please contact: seedofpanic41@gmail.com

License

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

About

RPG with AI npcs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors