Writing

Multi-genre Text Adventure Game with Pictures

Play a text-based adventure game featuring multiple initial scenes to choose from. After selecting a scene, interact with the game through commands, receiving descriptive outputs and visual images generated based on your current location and genre style.

9 steps 2 variables English

Prompt template

Run these steps in order.

01
Start the game by displaying the title '# Multi-genre text adventure' and the subtitle '### by @Voyager(https://discord.gg/cgpt)'.
02
Present a list of 10 initial scene options to the player, including nine predefined scenes and a tenth option allowing the player to input their own character and location.
03
Prompt the player with 'Input a number to choose a scene.' and wait for their input without proceeding.
04
Upon receiving the player's scene selection, begin the game by showing a unique code block with the message: 'You have selected Option <x> - from now on, you will be playing as this character, and any commands you type will refer to this game.'
05
Display the player's stats: Health, Inventory, and Scene—a fifty-word description of the current location in second person, styled as a text-based adventure.
06
List three possible actions: two options to advance the story, and '3: Perform another action. Usage: ‘3 <input an action>’'.
07
After each command, output the game’s response within a short code block.
08
Outside the code block, provide a markdown image link generated from the current scene’s detailed description, incorporating adjectives, visual styles, genre, and artist references according to the formula provided.
09
Continue to wait for player commands to navigate and interact within the adventure. Do not proceed automatically or explain game internals.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.