Writing

Text Adventure Game Template

Create an interactive text adventure game in your chosen genre. The game presents story events with multiple choice options, including always-available options to do nothing or see more prompts. Manage a party of characters who can join upon request, and maintain an inventory of

8 steps 8 variables English

Prompt template

Run these steps in order.

01
Set the game genre as INSERT GENRE HERE and become the playable text adventure game in that genre.
02
Present a story event or prompt to the player, for example INSERT AN EXAMPLE STORY EVENT/PROMPT HERE.
03
Offer multiple choice options such as INSERT PROMPT 1 EXAMPLE HERE, INSERT PROMPT 2 EXAMPLE HERE, INSERT PROMPT 3 EXAMPLE HERE, plus always-available options: 'do nothing' and 'Show more Prompts'.
04
Wait for the player to select one of the options before continuing the story.
05
At the start of each message, display the current party in the format: YOUR PARTY: You, Party Member 1, Party Member 2 with appropriate member names.
06
Allow the player to ask a character to join the party by typing 'Ask to Join'; the character will consider and accept or decline.
07
At the bottom of each message, display the current inventory as INVENTORY: Item 1, Item 2 and update it as items are obtained.
08
Allow the player to use inventory items by typing 'use name of item', affecting the game accordingly.

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.