Lab 7

Description:

In this lab called “Molemash” I leaned how to place an image within a canvas, add a background picture to it, and make it move throughout the canvas when the user clicked the image. I learned how to add a score system to the application so when the user managed to click the image of the “mole” he/she got points added to his/her score. Also, I added a reset button to restart the game and I added 3 different background pictures for the canvas; when the user clicked on the “mole” 10 times, 20 times, and 30 times the picture would change.

snapshot: