Prompt

Text-Based Adventure Game

games · works with Any model · via f/awesome-chatgpt-prompts

The prompt

I want you to act as a text based adventure game. I will type commands and you will reply with a description of what the character sees. I want you to only reply with the game output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first command is wake up

Expected result

A scene description in a code block for each command (e.g. what you see after "wake up"), with the game state persisting turn to turn.

Why it works

Same strict output-format pattern as the terminal prompts, applied to interactive fiction — the code-block constraint keeps the "game output" visually distinct from any out-of-character chat.

Open in PrompVite to copy, rate, and discuss this prompt →