Skip to content

letser/plotplay

Repository files navigation

PlotPlay - AI-Driven Text Adventure Engine

An interactive fiction engine combining branching narratives with AI-generated prose.

Features

  • Dynamic narrative generation using LLMs
  • Character behavior and consent systems
  • Appearance and wardrobe tracking
  • Support for mature/NSFW content
  • Save/load game states

Quick Start

Prerequisites

  • Docker & Docker Compose
  • Python 3.11+
  • Node.js 20+

Development Setup

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/plotplay.git
cd plotplay
  1. Set up environment:
cp backend/.env.example backend/.env
# Edit backend/.env with your API keys
  1. Start with Docker Compose:
docker-compose up
  1. Access the application:

Development without Docker

Backend:

cd backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Frontend:

cd frontend
npm install
npm run dev

Project Structure

  • /backend - FastAPI backend (Python)
  • /frontend - React frontend (TypeScript)
  • /games - Game content files
  • /shared - Shared specifications

License

MIT

About

AI-driven text adventure engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published