Register to receive free access to all teacher materials.
Lesson Level
Intermediate II
Created By
This activity was created by Dianne O'Grady-Cunniff of Charles County Public Schools.
Programming Language
Snap!
Grades
4-5, 6-8, 9-12
Free Teacher Materials
Alarm clocks are too easy to turn off. Create a program that will use the robot as an alarm clock. When the alarm goes off, the robot will move around, flash its light, and make noise. The robot won’t stop until it’s put on its tail facing upwards. To see a real-world example of such a robot, check out this video.
Your program should do these things:
- Ask the user for the number of seconds to wait.
- Wait quietly for that number of seconds.
- When the time is up, the robot should blink its beak, make noise, and move around.
- When the user places the Finch on its tail (beak up), it should stop moving, blinking, and making noise.
Hint 1: Investigate the ask and wait block on the Sensing menu.