Idea · Jun 11, 2026
Constraint Dungeon
A puzzle game where players solve programming challenges under creative constraints: sort a list without comparison operators, implement a calculator using only bitwise ops, reverse a string without slicing or indexing. Each "room" of the dungeon adds a new constraint layer on top of previous ones.
What it would do
An AI generates fresh puzzle variants, validates solutions against the constraints, and gives Socratic hints - never the answer, always the next question.
Key features
- 20+ built-in constraint categories (no loops, no conditionals, no built-in methods, line limit, memory limit)
- AI-generated puzzle variants to prevent copy-pasting solutions
- Multi-language support (Python, JavaScript, Java, C++) via sandboxed code execution
- Per-student progress map showing which constraint rooms are conquered
- "Hint dungeon": the AI asks questions that guide students toward the insight without giving it away