Spielerando

Make sure a choice never shows only options the player cannot pick

Each option on its own has a fair requirement, but together they can lock the player out of every answer in some situations. Here is the search over situations that finds such a menu and shows the path that leads there.

Why this works

Each option can be reachable on its own and still every one can be shut at the same moment. A menu is only safe if, in every situation it can meet, at least one way stays open, so the check has to look at the situations, not at single options.

When not to use it

Wrong when a locked menu is the point, such as a puzzle door where being stuck means find another way. Then give the player a clear exit elsewhere, like going back, and make sure the story does not trap them for good.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • A diagram of every state
  • 26 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Make sure a choice never shows only options the player cannot pick" (read_entry choice-menu-where-every-option-is-locked) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP