Pixeltable/AI-RPG-Adventure
22
๐ฒ 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.11+
- Pixeltable
- OpenAI API key
- Gradio
๐ฎ Quick Start
- Install dependencies:
pip install pixeltable gradio openai - Set your OpenAI API key
- Run the application:
python app.py - Input your character's name, choose a genre, and start your adventure!
๐ฏ Example Adventures
- 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...- 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 | Docs | Licensed under Apache 2.0
