Skip to content

edacrema/Neverwinter-RPG

Repository files navigation

Neverwinter RPG

An interactive RPG system powered by AI that manages and guides players through adventures in the Neverwinter setting.

Features

  • AI-powered quest management and player interaction
  • Dynamic quest progression system
  • Interactive dialogue system
  • Inventory and player stats management
  • Web-based interface using Gradio

Setup

  1. Clone the repository
git clone https://github.com/edacrema/Neverwinter-RPG.git
cd Neverwinter-RPG
  1. Create a virtual environment and activate it
python -m venv .venv
# On Windows
.venv\Scripts\activate
# On Unix or MacOS
source .venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Create a .env file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
  1. Run the application
python play_game.py

Project Structure

  • play_game.py: Main game interface and initialization
  • quest_agent.py: AI agent implementation for quest management
  • quest_manager.py: Core quest management system
  • quest_types.py: Quest-related data structures
  • create_world.py: World creation and management utilities

Environment Variables

  • OPENAI_API_KEY: Your OpenAI API key (required)

Contributing

[Add contribution guidelines if needed]

License

[Add your license information]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages