Level 3: Puzzle Room
| Course: Scratch Programming | Level: Level 3 | Project 14 of 35 |
Official Raspberry Pi Project
This lesson is based on the official Raspberry Pi Foundation project. Open it alongside this guide to access the starter project, step-by-step instructions and community remixes.
### [🍓 Open "Puzzle Room" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/puzzle-room)
How to use it: Click the link above, then click See Inside on the Scratch project to explore the finished version. Use Remix to get your own copy to edit.
What You Will Build
Build a room where players solve logic puzzles to unlock content.
What You Will Learn
By the end of this project you will be able to:
- Use Events blocks to start scripts and respond to clicks
- Combine Motion, Looks and Sound blocks to create behaviours
- Use variables to track game state and scores
- Apply the specific Scratch concepts introduced in Level 3
You Will Need
| Item | Details |
|---|---|
| 🌐 Browser | Any modern browser — Chrome, Firefox or Edge |
| 🔶 Scratch account | Free at scratch.mit.edu |
| ⏱️ Time | Approximately 30–45 minutes |
| 📋 Starter project | Available via the Raspberry Pi link above |
Step-by-Step Guide
- Create a room backdrop with multiple puzzle elements.
- Add 3 interactive puzzle sprites: a combination lock, a riddle box, a colour sequence.
- Puzzle 1 (lock): player clicks digits to enter a code. If correct:
broadcast [unlock1]. - Puzzle 2 (riddle): show a text riddle. Player clicks the correct answer sprite.
- Puzzle 3 (colour): sprites light up in a sequence. Player must click them in the same order.
- Create a
solvedvariable that increments each time a puzzle is completed. - When
solved = 3: play a victory sound, show a door sprite opening animation. - Add a hint system: clicking a question mark gives a clue.
- Add a timer that adds pressure to solve within 2 minutes.
- Add a reset button that clears all solved states.
Extension Challenges
Try these after completing the main project:
- Add a fourth meta-puzzle that combines clues from the first three.
- Add inventory items found around the room that unlock puzzles.
- Create a second room that unlocks after completing the first.
Reflection Questions
- Which Scratch blocks did you use most in this project?
- What would you add or change if you had more time?
- How could you reuse the ideas from this project in a different context?
Share Your Work
When your project is complete, click Share in Scratch and post the link to your class or the Techbase community.
| ← Back to Scratch Course | Next: Lesson 15 → |