Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Flag Quiz Game App > 6.1. Introduction

6.1. Introduction

The Flag Quiz Game app tests the user’s ability to correctly identify country flags (Fig. 6.1). Initially, the app presents the user with a flag image and three possible answers—one matches the flag and the others are randomly selected, nonduplicated incorrect answers. The app displays the user’s progress throughout the quiz, showing the question number (out of 10) in a TextView above the current flag image.

Image

Fig. 6.1. Flag Quiz Game app.

User Making a Correct Selection

The user chooses the country by touching the corresponding Button. If the choice is correct, the app disables all the answer Buttons and displays the country name in green followed by an exclamation point at the bottom of the screen (Fig. 6.2). After a one-second delay, the app loads the next flag and displays a new set of answer Buttons.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint