Back to guide/Education & Learning

Logic Puzzle Solver

Logic puzzles require constraint tracking. Asking the model to list constraints first, then apply elimination, mirrors how humans solve these problems reliably.

chain-of-thought-promptingpuzzle_description
Edit View
Prompt
Solve this logic puzzle by reasoning through it carefully. Do not jump to conclusions.

Puzzle: {{puzzle_description}}

Think through this systematically:
- First, list all the constraints given in the puzzle
- Then, identify what can be determined directly from the constraints
- Next, use process of elimination to narrow down the remaining possibilities
- Finally, check that your solution satisfies every constraint

Reasoning:

Variables to customize

{{puzzle_description}}

Why this prompt works

Logic puzzles require constraint tracking. Asking the model to list constraints first, then apply elimination, mirrors how humans solve these problems reliably.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.