Magic 8 Ball Teachers’ Guide

Teacher Notes

Students should be encouraged to play around and try their own ideas out. They do not have to follow this tutorial to the letter. Ask them to extend the app in some way and let them try to implement their own ideas. An easy modification is to use the Buttons text property instead of a Label (change font color to white!). Students can also experiment with the Text to Speech component to have the 8 Ball speak the prediction out loud.

Suggestions for further exploration

Similar apps to try

Example Curriculum

Solutions for the Challenge in Magic 8 Ball

  1. Go back to the Designer's view, and open the Other Stuff palette. Drag the TextToSpeech component to the Viewer (#1). You will see the component under the Non-visible components (#2)
  2. Go back to the Blocks Editor and open the TextToSpeech1 drawer. Drag the TextToSpeech.Speak component and place it in the AccelerometerSensor1.Shaking component.
  3. Open the Label1 drawer, drag the Label1.Text block and place it at the open socket of the TextToSpeech1.Speak component.

Done! Try it out with your phone!

Return to module one.