Spaces:
Running
Running
title: AI RPG Adventure | |
emoji: ⚔️ | |
colorFrom: gray | |
colorTo: blue | |
sdk: gradio | |
sdk_version: 5.3.0 | |
app_file: app.py | |
pinned: false | |
license: apache-2.0 | |
short_description: An interactive RPG experience | |
# 🎲 AI RPG Adventure | |
An interactive text-based RPG powered by Pixeltable and OpenAI that creates dynamic, responsive storytelling experiences. Players can embark on adventures across different genres with AI-generated narratives that adapt to their choices. | |
## 🚀 Features | |
- Dynamic storytelling with AI-generated narratives | |
- Multiple genre support (Fantasy, Sci-Fi, Horror, etc.) | |
- Player choice tracking and game state management | |
- Adventure history logging | |
- Real-time story generation | |
## 🛠️ Requirements | |
- Python 3.8+ | |
- Pixeltable | |
- OpenAI API key | |
- Gradio | |
## 🎮 Quick Start | |
1. Install dependencies: `pip install pixeltable gradio openai` | |
2. Set your OpenAI API key | |
3. Run the application: `python app.py` | |
4. Input your character's name, choose a genre, and start your adventure! | |
## 🎯 Example Adventures | |
1. **Magical Academy** | |
``` | |
Name: Novice Thalia | |
Genre: 🧙♂️ Fantasy | |
Scenario: It's your first day at the Celestial Academy of Arcane Arts. During the sorting ceremony, your magical aura suddenly starts behaving strangely, catching the attention of the ancient sorting crystal... | |
``` | |
2. **Space Pirate** | |
``` | |
Name: Captain Zara | |
Genre: 🚀 Sci-Fi | |
Scenario: Your smuggling ship is docked at a secret trading post in the Andromeda Nebula. As you're finalizing a deal for mysterious cargo, your ship's AI reports that Imperial cruisers are entering the system... | |
``` | |
## 📝 Credits | |
Built with [Pixeltable](https://github.com/pixeltable/pixeltable) | Licensed under Apache 2.0 | |