Practice and reinforce the concepts from Lesson 9
Time needed: 20-30 minutes
Mission: Help fix broken Tynker projects! Each project has a sneaky bug. Can you find it?
Detective checklist:
:bulb: :dart: Detective Rule #1 Bugs love to hide! Check every block carefully.
What should happen: The prince and princess walk to their castle together! :emoji:
Your mission: Something stops them from reaching home. Can you fix it?
Start here: Open Case #1
:bulb: Detective Hint! Check if both characters have movement blocks. Are they going the right way?
What should happen: The ball stops when it touches the player! :emoji:
Your mission: The ball won't stop rolling. Help catch it!
Start here: Open Case #2
:bulb: Detective Hint! Look for "when touching" blocks. Is something missing?
What should happen: A ghost appears when someone shouts "BOO!" :emoji:
Your mission: The ghost is too shy. Make it appear!
Start here: Open Case #3
:bulb: Detective Hint! Is the ghost hiding? Check "show" and "hide" blocks!
What should happen: The witch's magic makes bats disappear! :emoji::sparkles:
Your mission: Her magic isn't working. Fix her spell!
Start here: Open Case #4
:bulb: Detective Hint! Look for "delete" blocks. Is the bat listening?
What should happen: Click to add yummy icing on the cake! :emoji:
Your mission: The icing won't stick. Make it work!
Start here: Open Case #5
:bulb: Detective Hint! Check the "stamp" block. Is it in the right place?
What should happen: The glove follows your mouse pointer! :emoji:
Your mission: The glove looks the wrong way. Help it!
Start here: Open Case #6
:bulb: Detective Hint! Find the "point towards" block. What's it pointing at?
What should happen: Press SPACE to start the mission! :rocket:
Your mission: The spaceship won't launch. Fix the controls!
Start here: Open Case #7
:bulb: Detective Hint! Check which key starts the game. Is it the right one?
What should happen: Press keys to play music! :emoji:
Your mission: The piano is quiet. Make it sing!
Start here: Open Case #8
:bulb: Detective Hint! Look for "play sound" blocks. Are they connected?
What should happen: Use arrow keys to move around! :runner:
Your mission: The character won't move. Free them!
Start here: Open Case #9
:bulb: Detective Hint! Check all four arrow keys. Does each have code?
What should happen: Help the character reach friends or the park! :emoji:
Your mission: They can't get there. Clear the path!
Start here: Open Case #10
:bulb: Detective Hint! Check "if-then" blocks. Are the choices working?
Did you solve all 10 mysteries? Amazing work! :tada:
What you learned:
:bulb: :star2: Remember! Even the best coders find bugs. The trick is knowing how to fix them!
Show your teacher your detective work!
Submit Your Debugging Challenges Here!
:memo: :dart: Bonus Challenge! Can you create your own buggy project? Make a puzzle for your friends to solve!