A prompt-engineering playground to test and sharpen your prompting skills. Challenge the AI to reveal a secret password. Each time you succeed, it levels up—getting harder to crack.
An interactive game where you craft prompts to trick an AI into giving up a hidden password. It's a hands-on way to explore prompt design, adversarial thinking, and AI behavior.
🎮 Play it here
🛠️ See how it works under the hood
ai-prompting-game/
├── frontend/ # React frontend application
│ ├── src/ # Source files
│ ├── public/ # Static files
│ └── package.json # Frontend dependencies
│
└── backend/ # FastAPI backend application
├── main.py # FastAPI application
└── requirements.txt # Python dependencies
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The frontend will be available at http://localhost:5173
-
Navigate to the backend directory:
cd backend -
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Start the FastAPI server:
python main.py
The backend will be available at http://localhost:8000
