Teach your Class to Code with our Crack the Code activity!
Crack the Code is a fun, unplugged activity, that helps your pupils build logical thinking, problem-solving and early coding skills.
Get Your Free Resource
Lets Unlock the Secrets of Logic and Code!
Crack the Code is an exciting, screen-free activity where pupils use clues, reasoning and deduction to uncover a hidden code. It’s simple to set up, quick to learn and perfect for introducing the thinking skills behind real coding — without needing any devices.
Your class will practise:
Logical reasoning
Pattern recognition
Algorithms
Teamwork
Problem-solving
Ideal for warm-ups, supply lessons, or building core coding skills in a fun way.
How to Play
The objective is to guess your opponent’s secret number in the fewest possible attempts.
Step 1: Choose Number
One player chooses a secret number within a range (e.g; 1-10) and writes it down on a piece of paper without letting anyone know.
Step 2: Ask Questions
The other player ‘Number Detective’ asks ‘Yes’ or ‘No’ questions like “Is the number greater than 8” to narrow down the possibilities.
Step 3: Crack the Code
Using the clues and logical reasoning to identify the secret code number within the allowed number of guesses.
What's Included
Your free download contains everything you need to run Crack the Code in your classroom, including:
Printable worksheets
Multiple difficulty levels
Simple teacher instructions
Engaging activity idea for pupils 6–11
Just print and play.
Ready to start cracking codes with your class?
Bring logic and problem-solving to life with this simple, engaging activity.