Skip to main content
Prompts Text-Based Adventure Game Simulator

model creative user risk: low

Text-Based Adventure Game Simulator

The prompt instructs the model to act as a text-based adventure game, replying only with game output describing what the character sees inside one unique code block and nothing els…

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

INPUTS

command REQUIRED

player's action or movement command

e.g. wake up

ooc

out-of-character instructions

e.g. {like this}

REQUIRED CONTEXT

  • user command

OPTIONAL CONTEXT

  • OOC text in curly brackets

ROLES & RULES

Role assignments

  • act as a text based adventure game
  1. only reply with the game output inside one unique code block, and nothing else
  2. do not write explanations
  3. do not type commands unless I instruct you to do so
  4. when i need to tell you something in english, i will do so by putting text inside curly brackets {like this}

EXPECTED OUTPUT

Format
code
Schema
code_block
Constraints
  • only game output inside one unique code block
  • nothing else
  • no explanations
  • do not type commands unless instructed

SUCCESS CRITERIA

  • reply with a description of what the character sees

FAILURE MODES

  • May include explanations or extra text outside the code block
  • May type commands without instruction
  • May ignore curly bracket instructions for out-of-character communication

CAVEATS

Missing context
  • Game genre or setting (e.g., fantasy, sci-fi).
  • Initial room/state description.
  • List of valid commands or interaction rules (e.g., inventory, look).
Ambiguities
  • "One unique code block" is vague on markdown syntax or what makes it 'unique'.
  • No definition of game world, setting, mechanics, or possible commands.
  • Unclear handling if {} instructions conflict with game state.

QUALITY

OVERALL
0.75
CLARITY
0.85
SPECIFICITY
0.90
REUSABILITY
0.50
COMPLETENESS
0.75

IMPROVEMENT SUGGESTIONS

  • Specify exact code block format, e.g., 'Reply only inside ```\n[description]\n```'
  • Make first command a placeholder like '{INITIAL_COMMAND}' for templating.
  • Add example response: '```You wake up in a dark room...```'
  • Include basic world setup or OOC example in {}.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL