Welcome to App Inventor
App Inventor Media Library
App Inventor #1 - Magic 8-Ball
Extend the Magic 8-Ball app by adding the following features.
- Convert or Add to the app to allow the message to be read aloud by the app.
- Add to the app by displaying a smiling, neutral, or frown face depending on the message.
App Inventor #2 - Basic Slot Machine
Create a basic Slot Machine app that includes the following features.
- One Spin the Reels button
- Three image controls. Each will display one of three possible images.
- One label to display a message
- When the button is clicked, one of the three images will randomly appear in each of the image controls.
- The app will compare the images.
- If all three are the same then the Cha_Ching.mp3 sound will play and the label will display the text: Winner!!
- If two of the three images are the same then the label will display the text: You almost won.
- If three different images are displayed the then the message will say: You lose!
App Inventor #3 - Mole Mash Extended
Update the Mole Mash App to include the following features.
- Adjust the app to show that the mole has been clicked. (add sound, change color, etc)
- Lose a point on miss.
- Speed up mole if score goes up.
- Challenge: Add a count-down timer and end the game after 30 seconds
App Inventor #4 - Coin Flip App
Use the Heads and Tails images in the media folder to create an app that includes the following features.
- When a button is clicked a random coin image will display.
- Create variables to track the number of number of heads and tails thrown.
- Display the number of heads and tails thrown.
- Add a reset button to reset the totals.
- Challenge: Delay the image appearing so it is clear what the new image selected is.
- Challenge: Create an extra button that will randomly toss the coin 100 times.
App Inventor Summative Project 1 - Rock, Paper, Scissors
From the App Inventor Media Library download the RockPaperScissors_Start.aia file. Then in AppInventor under PROJECTS, select Import Project (.aia) from computer. Select the file .aia file you downloaded and begin.
Create an app so that the user can play Rock, Paper, Scissors against the computer. Use the included images.
Add another image control to hold the Player images.
Add two more buttons so that you have three. (Rock, Paper, Scissors)
When the user clicks on one of the buttons the appropriate Player image will be displayed in the player image control and a random Computer image will display in the Image_Computer control.
Evaluate the results and determine if the Computer wins, the Player wins, or if it is a Ties.
Create three variables track the Computer wins, the Player wins, and the Ties.
Display the results in three labels after each contest.
Add a reset button that will reset the totals.
Use at least one Procedure in the program.
Add a sound or visual event that will indicate to the user that a new game/contest has taken place.
The app will be evaluated for:
interface/appearance
decisions
variables
procedures
design/logic

App Inventor #6 - Mini-Golf Fling App
Mini-Golf Planning Document (do this before programming the app) Make a copy and then complete.
Create a Mini-Golf app to include the following:
- The screen will include the following: two balls (golf ball and hole), two image sprites (obstacle and tee box), reset button, Hole# label, and a # of strokes label.
- Golf ball will move with the fling event. After being flung the ball should slow down and eventually stop. Each fling is one stroke.
- After starting the app the location of the hole, obstacle and tee box will randomly set. The hole on the top third of the screen, the obstacle in the middle and the tee box at the bottom. The golf ball will randomly appear on top of the tee box.
- When the ball touches the hole the "Golf Ball in Cup" sound will play then the app will set up the next hole or end the game.
- Variables will track and display the number of strokes and the current hole number.
- The game will end after the 9th hole.
Challenge Enhancements:
- Add an appropriate sound for every time the user swings(Flings) the ball.
- Add a Water hazard object that randomly appears on the form. If the ball hits the water then the ball is returned to the tee box and a penalty stroke is added.
- Add a Sand hazard object that randomly appears on the screen. If the ball hits the sand it moves to the center of the sand and then stops. Adjust the speed to make it more difficult to fling out. The Sand and Water hazards can alternate.
App Inventor #7 - Space Attack Summative
Create a Space Attack app to include the following:
- The screen will include the following: one ball (missile), two image sprites (rocket and saucer), reset button, and a Score label.
- Rocket will move left or right with the Dragged event.
- Missile will fire when the Rocket is touched/released. (Touched event) Move the missile by setting the heading and speed.
- After starting the app the location of the Saucer will randomly set. The Rocket will be at the bottom of the screen.
- The Saucer will randomly move on the top of the screen every 3 seconds or when hit.
- When the Missile touches the Saucer the score is increased by 1 and the Saucer is randomly moved.
- The Missile disappears when it hits the top of the screen, when it hits the Saucer, or when another missile is launched. (Only one missile shows at a time.) Use the Missile.Visible = True/False to show or hide the missile.
- Variable will track and display the score.
- Use a procedure somewhere in the code.
- The game ends when the score reaches 10. Replace the score with the words "Game Over" and stop the Saucer.
No comments:
Post a Comment