Creative Conditional Statement Problems in Scratch
Smart Traffic Light
Make a traffic light system.
- If the light is green, cars move.
- If the light is red, cars stop.
- If the light is yellow, cars slow down.
👉 Bonus: Use a timer to automatically change lights.
Talking Pet
Create a pet (cat/dog).
- If the user types 'hello', the pet says 'Hi there!'.
- If the user types 'food', the pet says 'Yum yum!'.
- Else, the pet says 'I don’t understand.'
👉 Bonus: Add mood conditions (happy, hungry, sleepy).
Guess My Number
Ask the user to guess a number (1–10).
- If the guess is correct → say 'You got it!'.
- If the guess is too high → say 'Too high!'.
- If too low → say 'Too low!'.
Magic Door Game
A sprite stands in front of 3 doors.
- If the player chooses Door 1, they find treasure.
- If Door 2, a monster appears.
- If Door 3, nothing happens.
👉 Bonus: Add a second level with harder choices.
Weather Reporter
Ask the user for today’s temperature.
- If temp > 30 → say 'It's hot outside!'.
- If temp < 15 → say 'It's cold outside!'.
- Else → say 'Nice weather today!'.
School Grading System
Ask the user for their score (0–100).
- If score ≥ 90 → grade A.
- If score ≥ 75 → grade B.
- If score ≥ 50 → grade C.
- Else → grade F.
👉 Bonus: Add comments like 'Excellent!', 'Keep trying!'.
Space Ship Landing
- If arrow key pressed → spaceship moves.
- If spaceship touches the landing pad → say 'Safe landing!'.
- Else if spaceship touches the wall → say 'Crash!'.
- Else keep flying.
Haunted House Adventure
Player enters a haunted house.
- If they choose 'left' → they meet a ghost.
- If 'right' → they find treasure.
- If 'straight' → they fall into a trap.
👉 Bonus: Use nested if for what happens next.
Rock-Paper-Scissors
Ask the user for 'rock', 'paper', or 'scissors'.
- Computer picks randomly.
- Compare with conditional statements:
Rock beats Scissors
Scissors beats Paper
Paper beats Rock
Same → Tie.
Digital Alarm Clock
Ask the user for the current time.
- If time = 7 → say 'Wake up!'.
- If time = 12 → say 'Lunch time!'.
- If time = 22 → say 'Go to sleep!'.
- Else → say 'Carry on!'.