Professional Documents
Culture Documents
For the final project, I will be using four of the card icons from previous assignments to create an
android game application that allows the user to pick one of three cards on the screen. If the player
picks the Ace the player wins whereas the other two cards cause the player to lose.
For this application, we will be changing the colors of the interface and using the image buttons to
create the game.
1. Create three image icons on the screen using the back card icon. Label each icon for use in the
program.
2. Create a title and instructions for the game to tell the player what is expected.
3. Create a reset button to reinitialize the game for the next turn.
4. Create a text box to the player if they have won or lost.
5. In the strings.xml add the winning and losing text that will be referred to in the code.
6. Change the background colors of the application and the buttons.
Testing Procedures:
Verify on launch that reset button and results text box is not visible on launch.
Go through each card slot multiple timers and verify that the winning and losing functions are correct.
Verify the result and the reset button is displayed after an image has been selected.
Verify each of the random numbers generated based on the pictures displayed.
UML Diagram