Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Prompt libraryNovember 22, 20266 min read

A Prompt for an Escape Room Game

A complete brief for a one-room escape game, with the puzzle chain written out so the agent cannot guess it, then what to ask next and what usually breaks.

Startbase Team
Editorial ink illustration of a brass four-dial padlock on a wooden chest with a key and a folded clue, the padlock in ember orange

Key takeaways

  • Write the puzzle chain yourself: each puzzle, its clue, where the clue is and what solving it opens. That is the design.
  • Ask for tiered hints from the start. A stuck player quits; a nudged player finishes and tells friends.
  • One room, four puzzles and about 25 minutes is the right first version. A second room is a follow-up, not part of the brief.

An escape room game prompt has to contain the puzzle chain, because the chain is the game: what each puzzle is, where its clue hides and what solving it opens. Leave that out and you get random locks with random codes. The brief below describes one complete room with four puzzles that depend on each other, an inventory, a hint system and the mood, sized for a first version you can finish in an evening.

The escape room brief

Build a point-and-click escape room game for the browser, 2D, works with touch and mouse. Setting: a lighthouse keeper's study at night during a storm. The player must open the trapdoor in the floor within the story (no hard timer, but show elapsed time). The room has four walls; arrows at the screen edges turn between them, and tapping an object zooms into a close-up view with a Back button. Puzzle chain, solvable only in this order: 1) A logbook on the desk lists ship arrivals; the dates circled in red give the code 3-1-7 for the desk drawer's three-wheel lock. 2) The drawer holds a brass key and a torn chart. The key opens the wall cabinet, which holds the other half of the chart. Combine the two halves in the inventory to see a compass rose with four arrows: north, east, east, south. 3) Pressing the four lamp buttons on the lighthouse lens model in that order makes the lens rotate and drops a small crank. 4) Using the crank on the trapdoor's winch opens it and plays the ending. Inventory bar at the bottom with up to six slots; drag one item onto another to combine, or tap an item then tap a hotspot to use it. Hints: a lantern icon gives up to three hints per puzzle, from a gentle nudge to the exact answer, and the end screen shows time and hints used. Hotspots at least 44 by 44 points on phones, with a subtle sparkle only after 60 seconds with no progress. Look: hand-painted generated art, warm lamp light against blue storm windows. Sound: rain and distant thunder loop, a creaking floor, distinct click, clunk and chime sounds for wrong, opened and solved. Save progress in the browser so a refresh does not reset the room. First version: this one room only.

Why it is written this way

Most failed escape room builds come from a brief that says "a few puzzles" and leaves the rest to guesswork. Each part of this one closes a specific gap:

  • The chain in numbered order, with "solvable only in this order". It tells the agent which states exist and which items gate which hotspots. Without it, a player can open the trapdoor first and skip the game.
  • Clue, location and payoff for every step. The logbook gives the code, the code opens the drawer, the drawer gives the key. Each step has one input and one output, which is what makes it testable.
  • One combine puzzle, one sequence puzzle, two code-and-key puzzles. Variety in puzzle types keeps a 25 minute room from feeling like four padlocks in a row.
  • Walls plus zoomed close-ups. This is the standard point-and-click navigation, and it lets small details live in close-ups instead of crowding the main view.
  • Three hint tiers and a hint count on the end screen. Players use hints far more freely when they can see the cost, and you learn which puzzle is too hard by watching which one burns hints.
  • Hotspot size and the delayed sparkle. On a phone, a 20 pixel drawer handle is invisible to fingers. The sparkle after a minute of no progress rescues players without spoiling the first look.
  • Saving in the browser. Escape rooms take a while and phones reload tabs. Losing 15 minutes of progress is the fastest way to lose a player.

The round-one guide on how to make an escape room game covers puzzle types and flow charts in depth if you want to design your own chain. Keep the same shape: numbered steps, each with clue, place and reward.

The first three follow-up prompts

  1. 01"Play through the room from the start and list every state flag (drawer open, cabinet open, chart combined, lens solved, crank picked up). Then try to break the order: use the crank before the lens is solved, combine one chart half alone, enter the code twice. Fix anything that lets me skip a step or gets me stuck."
  2. 02"Rewrite the hints so tier one only points at the right object, tier two explains what kind of puzzle it is, and tier three gives the exact answer. Show me all twelve hints in a table before you change the game."
  3. 03"Add a short intro: three illustrated panels with one line each about the keeper who vanished, then fade into the study. Add a final close-up when the trapdoor opens that sets up a second room without building it."

Tip

Ask for a debug panel during testing: "Add a hidden panel, opened with a long press on the title, that jumps to any puzzle with the right items in the inventory." Testing puzzle four should not mean solving one to three every time.

Two variations worth trying

A two-player co-op room

Split the room so each player sees a different half: one is in the study, the other in the lamp room above, and they must talk to share clues. Add: "Two players join by room code. Player A sees the study, player B sees the lamp room. The code for the drawer is only visible to B; the lamp sequence only to A. Shared state on the server: which puzzles are solved and which items exist." Co-op is a natural fit for a room server; it runs in previews on every plan and publishes with the game on paid plans, per the multiplayer docs.

A first-person 3D room

Ask for the same chain in 3D: "Same puzzles, built in 3D with a fixed camera at the center of the room that turns by dragging, and tapping an object moves the camera close to it." A fixed pivot camera keeps it simple and avoids the motion sickness of free walking. Expect to spend more turns on lighting than on puzzles.

What usually goes wrong and how to ask for the fix

  • A solved puzzle comes back after a refresh, or an item duplicates. Saving stores the inventory but not the flags, or the other way round. Ask: "After a refresh the drawer is closed again but I still have the key. Save all state flags and the inventory together as one object, load it before the room renders, and test refresh after each puzzle."
  • The code is accepted in the wrong form. For example 7-1-3 works because the check sorts digits. Ask: "The drawer opened with 7-1-3. Only the exact order 3-1-7 should open it. Add a test for a wrong order."
  • Players cannot find a hotspot. Ask: "On a phone the cabinet keyhole is too hard to tap. Make every hotspot at least 44 by 44 points, list any smaller ones, and add a slight brighten on hover for mouse users."
  • Combining items is confusing. Players try to drag items onto the room instead of onto each other. Ask: "When an item is dropped on another item that does not combine, show a short line like 'These do not fit together'. When dropped on the room, treat it as use on that hotspot."
  • Clues are unreadable. Generated art often turns written clues into scribbles. Ask: "Render the logbook text and circled dates as real text over the painted page, not baked into the image, so it is sharp at every size."

Before you share it

Watch one person play without helping. Note where they pause longest and how many hints they take; that is your difficulty curve. Then publish and share the link, and consider a short playtesting round with three or four people before you build room two. A single polished room beats three rushed ones.

Frequently asked questions

How many puzzles should an escape room game have?

Four to six for a first room. That is roughly 20 to 30 minutes of play for most people, enough to feel complete without testing becoming a chore.

Can I make the puzzles different each time?

Yes, ask for codes and sequences to be randomized per playthrough while the clues update to match. Keep the chain structure fixed so the room is still solvable.

Do I need to draw the art myself?

No. Describe the setting and mood and the agent generates the art. Ask for written clues as real text over the art so they stay readable.

On this page

  • The escape room brief
  • Why it is written this way
  • The first three follow-up prompts
  • Two variations worth trying
  • What usually goes wrong and how to ask for the fix
  • Before you share it

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.