Wiring up the game logic and keeping game state

In this hour, you wire up the screen at the heart of the Been There, Done That! application—the game play screen. This screen prompts the user to answer a series of trivia questions and stores the resulting score information. Because the screen must display a dynamic series of images and text strings, you can use several new View controls, including ImageSwitcher and TextSwitcher, to help transition between questions in the quiz. You can also update QuizGameActivity with game logic and game state information, including the retrieval of batches of new questions, as a user progresses through the quiz.

Was this article helpful?

0 0

Post a comment