Discover and explore top open-source AI tools and projects—updated daily.
latitudegamesText adventure game using AI to generate stories
Top 14.9% on SourcePulse
AI Dungeon is an open-ended text adventure game that allows users to create and experience infinite stories. It is targeted at players who enjoy interactive fiction and creative writing, offering a unique AI-powered narrative experience.
How It Works
The game leverages a fine-tuned GPT-2 language model to generate story content based on user inputs. The underlying data format involves transforming text adventures into a JSON tree structure, which is then converted into a large text file for model training. This approach allows the AI to learn narrative flow and generate coherent, contextually relevant story continuations.
Quick Start & Requirements
git clone --branch master https://github.com/AIDungeon/AIDungeon/, cd AIDungeon, ./install.sh, ./download_model.sh, source ./venv/bin/activate, ./play.pyHighlighted Details
develop for contributions and master for stable releases.Maintenance & Community
develop branch.Licensing & Compatibility
Limitations & Caveats
Running the game locally without a high-end NVIDIA GPU significantly impacts performance, leading to multi-minute response times per turn. Fine-tuning the model requires substantial and specific cloud or on-premises GPU resources.
5 years ago
1 day