Finch Alarm Clock

This activity was created by Dianne O'Grady-Cunniff of Charles County Public Schools.

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:

  1. Ask the user for the number of seconds to wait.
  2. Wait quietly for that number of seconds.
  3. When the time is up, the robot should blink its beak, make noise, and move around.
  4. 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.


Activity Level: