Lab: 8 MoleMash

Description:

In this lab, I learned how to better use App Inventor to create an app where when the mole is touched, it would display the number of times it was hit and it would also vibrate the phone. If you miss the mole, it would show how many times you had missed the mole. Pressing the reset button would reset everything back to 0 as if you had never missed or hit the mole.

 

Code:

When the app is started, the mole would start moving around the screen. When the mole is clicked on, the phone will vibrate and a point will be given to the hit counter. If missed, it will give a point to the miss counter. When the “reset” button is clicked on, the miss and hit counter will reset back to 0.

 

 

 

 

Screen shot:

This is the sample screenshot.

Please

Leave a Reply

Your email address will not be published. Required fields are marked *