It's time to practice what you have learned about loops, decisions, and variables! Create your own Magic 8 Ball. Magic 8 balls only tell people answers when you shake them. You can use the accelerometer sensor in your program to trigger your code. Use a Forever Loop to make sure your 8 Ball can be shaken and asked a question more than once.
Your Ball will use the following answers based on a Random Number:
- It is certain
- Yes definitely
- Most likely
- All signs point to yes
- Ask again later
- Cannot predict now
- Better not tell you now
- Don't count on it
- My reply is no
- My sources say no
- Very doubtful