Lab 9 – App Project:Hit the target

Project presentation:

Our app is a simple and fun game. It is a target game. When the app is initialized the main menu screen will be displayed and the player will haveĀ  three options: to start the game, see who created it or exit the app. Once you press ā€œStart Gameā€ buttonĀ  on a new background will be displayed Ā andĀ  two targets on the screen will move randomly every second. Touching the targets causes the phone to vibrate, the display of hits to be incremented (increased by one), and the targets to move immediately to a new location. On the top of the screen you will see two counters for hit and missed targets. The Reset button will set the counts to zero. Touching the screen but missing any of the targets causes the display of misses to be incremented by one. You must hit the targets to collect as many points as possible. The game has more levels. When a new level is reachedĀ  the targets will move faster and it will be more difficult Ā to be touched. If the player misses the targets 5 times then 3 points will be subtracted from the hits counter.

Code:

Screenshots: