Skip to main content

King of the Prompt

NoteThis project is no longer online

Given the number of vulnerabilities coming up each day, I decided to take down all my side projects that ran on a VPS. This was one of them.

This page is what’s left of it. You can find the rest of my projects here.

King of the Prompt was a game to see if you were a good prompt engineer.

The current king wrote a system prompt that contained a secret code. You had to craft a message that tricked the AI into revealing it. If you guessed the code, you dethroned the king and got to write your own system prompt for others to break. The longer your secret survived, the higher you climbed on the leaderboard.

Built with GPT-4.1, React, Next.js, and TailwindCSS.

Screenshots

The landing page

The landing page

How to play

How to play

The page where you challenged the AI

The page where you challenged the AI