Test your prompting limits against a stubborn agent

We often treat prompt engineering as a serious workflow optimization task, but sometimes the best way to learn is by trying to break things. Yesterday, a developer shared a project that turns prompt injection into a competitive sport. This Reddit user created a multiplayer game designed to test your social engineering skills against a digital mind.

It is called Agent Has A Secret.

The Twist

Most prompt practice happens in a vacuum where you just want a good output. This tool changes the dynamic by making it a “Capture the Flag” style challenge. The AI is instructed to guard a specific secret, and you have to use logic, roleplay, or confusion to extract it. It is a practical playground for understanding LLM security, guardrails, and how models prioritize conflicting instructions.

How it works

Here is the loop you will find yourself in:

  1. Connect to the Agent: You enter the interface and are greeted by a bot with hidden system instructions. 🤖
  2. Attempt Extraction: Direct questions will fail. You must craft prompts that bypass the guardrails (e.g., using complex roleplay scenarios or logical paradoxes). 🧠
  3. Iterate and Adapt: The agent will deflect your attempts based on its safety protocols. You analyze the refusal and refine your approach to find a semantic crack in the armor.

Why it matters

This is an excellent way to sharpen your understanding of system prompts vs. user prompts. By playing, you learn specifically which words trigger refusals and which linguistic patterns slip past filters. The author noted that they are actively looking for feedback, so it is a great time to test edge cases.

Pro Tip: If you get stuck, try framing the secret as something the AI “already told you” in a previous turn to see if it attempts to correct you with the actual data.

If you want to test your mettle or help the developer improve the game, you can find the link in the original Reddit discussion.

I made a multiplayer prompt engineering game!
by u/chicametipo in PromptEngineering

Scroll to Top