Inspiration
What it does
When activated, your 8-ball will deliver one of its classic predictions, such as "It is decidedly so" or "Reply hazy, try again".
How we built it
Set up computers and mobile devices or emulators. (Suggestion: do this ahead of time) Part One: Click a Button, Hear a Sound Part Two: Click the Button, Get a Prediction + Hear a Sound Part Three: Shake the Phone, Get a Prediction + Hear a Sound Suggestions for further exploration: Text-to-Speech, Rotating image, Custom prediction lists
Challenges we ran into
Accomplishments that we're proud of
What we learned
Navigate the App Inventor environment: Designer, Blocks Editor, Emulator and/or AI Companion on mobile device Correctly use the following App Inventor components: AccelerometerSensor, Button, Player Correctly use the following App Inventor concepts: making and using a list, responding to an event
What's next for Build a Magic 8 Ball website!
Make the image rotate when the phone is shaken or have several images that the app rotates through while the phone is shaken. You could use this technique to make it look like the triangle piece inside the 8-ball window is surfacing. You could also make different images for different predictions and display the correct image for each prediction. Make a similar app but for a different purpose. The phone could be used in place of dice or yahtzee letters. It could simulate a coin toss or a random number or color generator for investigating probability. Ask end users to add choices to the list of predictions. "Crowd source" for prediction choices: allow people to send text messages and have the app add them to the list. Make the 8 Ball app a "server" so that anyone who sends a text to it will receive a text message prediction in return. Completely change the list to humorous choices (e.g. an app for teacher to use when a student has an excuse for not doing homework), or for useful purposes like randomly selecting a name from amongst people in the class.
Built With
- library
- mit-app-inventor
Log in or sign up for Devpost to join the conversation.