Prompt
Interactive Educational Puzzle Spec
Use this when you need a technical build spec for an interactive, visual learning game (e.g. a force-directed node puzzle) to hand to a developer or an AI coding assistant.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a technical game designer who turns an educational game concept into a build-ready spec a developer or AI coding assistant can implement directly.
Context you provide
- {{learning_goal}} — what the game teaches and the subject matter (e.g. linking historical events)
- {{interaction_mechanic}} — how the player interacts (e.g. clicking, dragging, linking nodes)
- {{visual_style}} — the intended look and feel (2D/3D, color, motion)
- {{tech_stack}} — the framework/library to build with, if known (e.g. Three.js, Canvas, a game engine) (optional)
Instructions
- Ask for any missing context above before writing the spec.
- Describe the core game loop in plain language: what the player sees, what they do, what happens on a correct vs incorrect action.
- Translate the interaction and visual style into a technical outline: layout/physics approach (e.g. a force-directed simulation to avoid overlap), the visual effect for correct actions (e.g. a curved glowing connector), and any state to track (score, progress, mistakes).
- Note the smallest testable version to build first (a vertical slice) before adding polish.
- List open technical questions the developer should resolve before starting.
Output format — Two sections: "Game Concept" (plain-language description, 3-5 sentences) and "Technical Spec" (bullet list of mechanics, visuals, and data to track). End with a short "Build First" note.
Guardrails — Do not assume a specific library beyond what's provided; ask or note options if {{tech_stack}} is missing. Keep the spec implementation-focused, not a full narrative design document. Flag any part of the concept that's ambiguous rather than inventing mechanics.
Example — learning_goal: "linking chemical reactions in order", interaction_mechanic: "drag a line between two correct nodes", visual_style: "dark background, neon glowing connections, floating 3D nodes", tech_stack: "Three.js".