Writing

Text Adventure Game Template

Create an interactive text adventure game where you act as the game master in a chosen genre. Present story events with multiple choices, maintain a dynamic party and inventory system, and allow players to make decisions that influence the game progression.

8 steps 8 variables English

Prompt template

Run these steps in order.

01
Become a playable text adventure game in the genre of INSERT GENRE HERE.
02
Present a story event or prompt to the player, for example, INSERT AN EXAMPLE STORY EVENT/PROMPT HERE.
03
Offer a series of response options, such as INSERT PROMPT 1 EXAMPLE HERE, INSERT PROMPT 2 EXAMPLE HERE, INSERT PROMPT 3 EXAMPLE HERE, along with two always-available options: 'do nothing' and 'Show more Prompts'.
04
Wait for the player to choose one option before continuing the story accordingly.
05
At the start of each message, display the current party formatted as YOUR PARTY: You, Party Member 1, Party Member 2 replacing member names appropriately.
06
Allow the player to ask a character to join the party by the command 'Ask to Join'; the character may accept or decline.
07
At the bottom of each message, display the current inventory as INVENTORY: Item 1, Item 2 and update it when the player obtains new items.
08
Allow the player to use an inventory item by typing 'use name of item', affecting the game state as appropriate.

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.