CoolFace
Apppublic

Pixeltable/AI-RPG-Adventure

sourceHugging Faceapache-2.0updated 6d agoView on Hugging Face
22likes
App README

๐ŸŽฒ 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

  1. 1.Install dependencies: pip install pixeltable gradio openai
  2. 2.Set your OpenAI API key
  3. 3.Run the application: python app.py
  4. 4.Input your character's name, choose a genre, and start your adventure!

๐ŸŽฏ Example Adventures

  1. 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...
  1. 1.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