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:
๐ก ๐ฏ Detective Rule #1 Bugs love to hide! Check every block carefully.
What should happen: The prince and princess walk to their castle together! ๐
Your mission: Something stops them from reaching home. Can you fix it?
Start here: Open Case #1
๐ก 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! โฝ
Your mission: The ball won't stop rolling. Help catch it!
Start here: Open Case #2
๐ก Detective Hint! Look for "when touching" blocks. Is something missing?
What should happen: A ghost appears when someone shouts "BOO!" ๐ป
Your mission: The ghost is too shy. Make it appear!
Start here: Open Case #3
๐ก Detective Hint! Is the ghost hiding? Check "show" and "hide" blocks!
What should happen: The witch's magic makes bats disappear! ๐ฆโจ
Your mission: Her magic isn't working. Fix her spell!
Start here: Open Case #4
๐ก Detective Hint! Look for "delete" blocks. Is the bat listening?
What should happen: Click to add yummy icing on the cake! ๐
Your mission: The icing won't stick. Make it work!
Start here: Open Case #5
๐ก Detective Hint! Check the "stamp" block. Is it in the right place?
What should happen: The glove follows your mouse pointer! ๐งค
Your mission: The glove looks the wrong way. Help it!
Start here: Open Case #6
๐ก Detective Hint! Find the "point towards" block. What's it pointing at?
What should happen: Press SPACE to start the mission! ๐
Your mission: The spaceship won't launch. Fix the controls!
Start here: Open Case #7
๐ก Detective Hint! Check which key starts the game. Is it the right one?
What should happen: Press keys to play music! ๐น
Your mission: The piano is quiet. Make it sing!
Start here: Open Case #8
๐ก Detective Hint! Look for "play sound" blocks. Are they connected?
What should happen: Use arrow keys to move around! ๐
Your mission: The character won't move. Free them!
Start here: Open Case #9
๐ก Detective Hint! Check all four arrow keys. Does each have code?
What should happen: Help the character reach friends or the park! ๐ณ
Your mission: They can't get there. Clear the path!
Start here: Open Case #10
๐ก Detective Hint! Check "if-then" blocks. Are the choices working?
Did you solve all 10 mysteries? Amazing work! ๐
What you learned:
๐ก ๐ 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!
๐ ๐ฏ Bonus Challenge! Can you create your own buggy project? Make a puzzle for your friends to solve!