Description:

For this exercise, we learn how to create a game where the user can score by “whacking”  a picture that randomly appears on a screen and also counting how many hits and fails the person have obtained.

First we set up how we wanted our application to look like for the user, and then we played around in the blocks section.

We found a way to create random “coordinates” so the Mole could appear in a given time (1 second). In order to have the Mole move around randomly we used a touched.sprite that would mark whether the player scored or missed, and also included a condition where the numbers for the coordinates would be randomly choose.

 

ScreenShots:

Screen Shot 2013-11-22 at 1.05.56 AMScreen Shot 2013-11-22 at 1.06.48 AM