AI Text Adventures
Premise, commands, puzzles and inventory for a classic-style adventure.
By the Minkplay team · Updated
Before graphics, there were text adventures: games where you typed commands like go north or take lamp, and the game described what happened. You explored rooms, collected items, solved puzzles and tried not to get eaten by something in the dark.
An AI can recreate that experience, with one big upgrade: it understands far more than a fixed list of commands. This guide covers how to set up a classic-style text adventure with AI, which commands work, how to handle puzzles and inventory, and how to keep the world consistent.
Text adventure vs. roleplay
In ordinary roleplay, you play a character interacting with another character. In a text adventure:
- The AI is the game, not a character. It describes rooms, objects and events.
- You give commands, short and direct.
- The world has fixed facts. Locked doors stay locked until you find the key.
- The goal is to solve something: escape, find, rescue, survive.
Setting up the game
Your first message should set the rules. For example:
(OOC: Let's play a classic text adventure. You are the game: describe each location in second person, list visible exits and notable objects, and respond to my commands. Keep a consistent map and inventory. Don't solve puzzles for me, and don't let me use items I haven't found. Setting: an abandoned observatory on a snowbound mountain. Goal: restart the great telescope before the comet passes at midnight. Start me at the observatory gates.)
That gives the AI everything it needs: its role, the format, the rules, the setting and the goal.
Commands that work
You can use classic short commands, or natural sentences. Both work:
| Classic | Natural |
|---|---|
look |
I look around the room carefully. |
n / go north |
I take the north passage. |
take key |
I pick up the brass key. |
examine painting |
I study the painting closely. |
use key on door |
I try the brass key in the dome's lock. |
inventory / i |
What am I carrying? |
talk to caretaker |
I ask the old caretaker about the telescope. |
A good habit: ask to look when entering a new room so you get a full description of exits and objects.
Puzzles
Puzzles are the heart of text adventures. Classic puzzle types that work well with AI:
- Lock and key: a door, a missing key somewhere else on the map.
- Combination: the safe code hidden in three clues across the house.
- Environmental: flood a room to float a crate up to a high window.
- Social: convince a guard, bribe a ghost, answer a riddle.
- Sequence: light the candles in the right order.
Ask the AI to plan puzzles before you start: "Design three puzzles, each requiring an item from another area. Don't tell me the solutions." This makes the world feel designed rather than improvised.
Keeping inventory
Inventory errors are the most common problem in AI text adventures. Fix them by:
- Asking for inventory regularly (
i). - Stating clearly when you pick something up or use something up.
- Reminding the AI of key items in your commands: I use the brass key (from the cottage) on the dome door.
Keeping the world consistent
AI can forget details in long sessions. Some habits that help:
- Use consistent names for rooms and objects.
- Ask for a map recap occasionally: "List the rooms I've visited and their exits."
- Keep your own notes: a simple list of rooms, items and clues.
- Correct mistakes kindly with OOC: (OOC: the dome door was locked before. Is it still?)
Making it fun
- Examine everything. Classic text adventures reward curiosity.
- Try silly things.
eat the map,sing to the ghost. A good AI game master will have fun responses. - Accept failure. Getting stuck or "dying" is part of the genre. Ask to restart from the last safe room.
- Set a time limit. A countdown (midnight, rising water, a fuse) adds tension.
Example opening
You:
lookGame: You stand at the observatory gates. Snow drifts against the iron bars, and the great copper dome above is streaked green with age. The gate is chained, but one bar is bent wide enough to squeeze through. To the east, a caretaker's cottage has smoke rising from its chimney. To the west, a frozen path climbs toward a radio mast. A snow-covered toolbox sits beside the gate. Exits: north (observatory, through the gap), east (cottage), west (path).
You:
examine toolboxGame: The toolbox is frozen shut, but the lid gives with a crack. Inside: a rusted wrench and, wrapped in an oilcloth, a small brass gear stamped with a star.
Already: a map, a clue, an item and three directions to explore.
Text adventure vs. solo RPG
If you'd prefer dice, stats and a looser story, see solo RPGs with AI. Text adventures focus on exploration and puzzles; solo RPGs focus on character and risk.
Where to start
For mystery-flavoured adventures, borrow a structure from how to run a mystery roleplay. For world ideas, the worldbuilding template works for a single location as well as a whole world. If you'd rather explore with a character as your companion, Eleanor the archaeologist and her sunken catacomb make an excellent adventure partner. For a quick start with zero setup, the roleplay ideas list has fifty one-line openers.
Keep reading
- GUIDESPlaying a Solo RPG With AISession setup, dice and checks, and keeping the challenge honest.
- GUIDESHow to Run a Mystery RoleplayA clue-chain template, fair red herrings, and a satisfying reveal.
- GUIDESWorldbuilding for RoleplayA one-page world template and a filled-in example.
- GUIDESAI Roleplay IdeasFifty one-line ideas across cozy, funny, dramatic and adventurous moods.
- GUIDESIs AI Roleplay Safe?What not to share, what to look for in a platform, and keeping a healthy balance.
- GUIDESWhat SFW AI Chat MeansWhat safe-for-work means for roleplay, and what is welcome.
- PROMPTSTavern Roleplay PromptsStrangers, quest boards and a barkeep who knows too much.