In this lesson, you will:
Conquer - Update the Tappy Tap App to display the user’s score.
Aspire Higher – Finish a fully functional Tappy Tap App including gameplay, scoring and play again button.
Lesson 3: Tappy Tap Complete!
1
Objectives
Visit the following URL to play the game:
After a couple of goes, compare your current game, do you match any of the features?
Play your future Tappy Tap App
4
We’re now going to apply the final touches to our Tappy Tap App by doing the following:
Last week you should have designed the score screen for your app.
Now we are going to add the code to pass the score to the score screen
User score
5
Activity 1
Enter design mode and select the score screen.
Add a label and place it where you would like the score to appear.
Change the id to userScoreLbl.
Format the font, size, and position (change the text property to an example score, such as 10).
Example score screen design
6
Activity 1
Follow the tasks on your worksheet to complete your app.
Worksheet Lesson 3 - Tappy Tap.docx
Then go through the success criteria at the end of the sheet to see if you’ve been successful.
Worksheet
7
ISL
Welcome screen:
Must show logo and instructions on how to play
Must have a button that activates the game play once clicked
Game play:
The game must last 15 seconds before automatically moving to the final score screen
There must be a blue dot and a red dot that the user can press (or your own images)
When the blue dot is pressed, the score must increase by one
When the blue dot is pressed, the dot should move to a different place on the screen
The red dot must also move to a different place on the screen when pressed, but the score will decrease by one
Final score:
Must display the user’s score at the end of the game
Must have a button to allow the user to return to the welcome screen
Success criteria
8