Text Adventure Prompt: 9 Prompts for ChatGPT and Gemini
Text adventure prompts: a browser text adventure with commands, inventory and a room map, plus variants that turn ChatGPT or Gemini into the game master, escape rooms and detective stories.
Prompt
Fill in the fields below and the prompt updates instantly. Copy it and use it in any AI tool.
Build a single-page text adventure game called Lighthouse Island that plays in the browser.
Settingan old lighthouse on a lonely island after a storm. Game size: 6 rooms, a 15-20 minute game.
Goalthe player explores rooms, picks up items, solves small puzzles and finally finds the way out.
Inputa command line plus quick command buttons. Recognized commands: look, go north/south/east/west, take, use, inventory, hint. A short, friendly reply to unknown commands.
Storya 2-3 sentence atmospheric description per room, at least 3 locked passages (key, code, light) and one correct solution path.
Screenthe story log on the left (newest message at the bottom, text appears like a typewriter) with the command line under it; inventory, a small square map of visited rooms and a move counter on the right.
Savingthe game saves to localStorage on every move; "New game" resets it.
Endfinding the exit shows a short ending with moves and time.
Designdark ink background, main color #ffb000; the story in a serif typeface, commands and interface in a monospace one.
Contentno graphic violence; no characters from existing games, books or films.
Design preview made from this prompt

8 more ready-to-use prompts
Different takes on the same topic. Copy any of them as is and replace the parts in square brackets.
1.ChatGPT text adventure game master
When to use: When you want to play right in the chat.
Play a text adventure game with me. You are the game master.
Rules
- Each turn, describe the scene in 3-4 sentences, then offer 3 choices; I may also type something else.
- Show my inventory and health (10) in one line at the end of every turn.
- Never decide for me or move the story on without my input.
- Keep the world and the solution secret.
- Setting
- [e.g. a foggy harbor town].
2.Escape room prompt
When to use: When you want a one-room puzzle game.
Play a text escape room game with me.
- Room
- [e.g. an old clockmaker's shop].
- Build 3 puzzles
- a number code, a hidden item and a sequence puzzle, all solvable from clues in the room.
If I type 'hint', give a small hint.
When I escape, tell me how many moves it took and explain the solution.
3.Detective mystery prompt for Gemini
When to use: When you want to question suspects.
Gemini, play a detective game with me.
- Case
- [e.g. a recipe book stolen from a small-town bakery].
Create 4 suspects, each with a secret; only one is guilty.
Let me choose whom to question and where to look.
I can only accuse after finding 3 clues; a wrong accusation ends the game.
4.Choose-your-path tale for kids
When to use: When you play a story together with a young child.
Play a choose-your-path story game for ages 6-9.
- Hero
- [e.g. a fox looking for a lost star].
Each part is 3 short sentences, then 2 choices.
No scary scenes; every path ends well.
Finish in 6 parts and ask the child a small question.
5.Space adventure text game
When to use: When you want a sci-fi exploration game.
Play a sci-fi text adventure with me.
I'm the captain of a small scout ship running low on power.
- Resources
- fuel, oxygen, crew morale; they change with every choice and show at the end of each turn.
3 choices per turn; unknown planets and strange signals.
6.Short horror story game
When to use: When you want tension without gore.
Play a 10-turn suspense game with me.
- Place
- [e.g. a mountain cabin snowed in by a storm].
Build fear with sounds, light and odd details; no gore or graphic violence.
3 choices per turn; two different endings.
7.Branching story page with Claude
When to use: When you want a clickable story page.
Write a branching story game as a single HTML file.
- Story
- [topic]; 12 scenes, 2-3 choice buttons each, 3 endings.
A back button and 'start over'.
Keep the scenes in a JSON list so I can edit them later.
8.Text adventure website for Entrobase Builder
When to use: When you want the game on its own site.
Build a single-page website for a text adventure called [game name].
- Sections
- top bar, game screen (story log + command line + inventory), how to play, a 4-question FAQ, footer.
- Setting
- [setting].
- Design
- dark background, main color [color], the story in a serif typeface.
What this prompt does
If you want to play a text adventure with ChatGPT or Gemini, there are two ways here: the main prompt builds the game as a website that runs in the browser (command line, inventory, room map and autosave), and the variants turn the chat itself into the game master. Variants include an escape room, a detective case, a choose-your-path tale for kids, a space adventure, a short horror story and a branching story page for Claude.
Where to use it
- Playing text games in ChatGPT
- A browser text adventure
- Escape room puzzles
- Creative writing classes
- A hidden game on your site
Fields you can fill in
The fields you can change in the form above and their default values.
- Game nameFree text
- Lighthouse Island
- SettingOne of 4 options
- an old lighthouse on a lonely island after a storm
- Game sizeOne of 3 options
- 6 rooms, a 15-20 minute game
- InputOne of 3 options
- a command line plus quick command buttons
- Main colorColor
- #ffb000
Step by step
- 1
Pick a setting and size
Island, space station, mansion or museum. 6 rooms is enough for a first try; 10 rooms takes longer to check for puzzle consistency.
- 2
Choose the input style
'A command line plus quick buttons' suits both classic players and phone users; buttons only is easier for kids.
- 3
Play it once to the end
Reach the exit in the Canvas or artifact preview. If a lock won't open, ask for one fix, like 'the kitchen key should open the cellar door'.
- 4
Prefer playing in chat? Use a variant
Copy the ChatGPT game master variant; ChatGPT then writes the scene, your status and choices every turn.
Tips and variations
- Keep the 'one correct solution path' line; it stops the AI from building unsolvable puzzles.
- For long games, 'end every turn with my inventory and current room' helps ChatGPT keep track.
- If the typewriter effect feels slow, set a speed like '12 ms per letter'.
- Ask for one hint per room; it helps kids and new players.
Frequently asked questions
What is a good text adventure prompt for ChatGPT?
One that makes ChatGPT the game master, sets the scene length and choices per turn, shows your inventory every turn and forbids it from deciding for you. The first variant does all four.
Is there a text adventure prompt for Gemini?
Yes, the same prompts work in Gemini; the detective variant is written for it.
What if the AI forgets the rules?
It can happen in long sessions. Type 'go back to the rules and summarize my status', or use the browser version, where the rules live in code.
How do I make an escape room with AI?
The escape room variant sets up one room with three solvable puzzles and explains the solution at the end.
Can I publish the game as a website?
Use Prompt opens the main prompt in Entrobase Builder, which builds the game as a site.





