Question: IN ANDROID STUDIO: IN ANDROID STUDIO: Instructions You are charged with the responsibility of creating a basic dice game called Two-Dice Pig. The rules of

IN ANDROID STUDIO:

IN ANDROID STUDIO:

IN ANDROID STUDIO: IN ANDROID STUDIO: Instructions You are charged with theresponsibility of creating a basic dice game called Two-Dice Pig. The rules

Instructions You are charged with the responsibility of creating a basic dice game called Two-Dice Pig. The rules of the game are quite simple. There are two dice and two players competing against one another: If the player rolls a single 1, they score nothing, and it becomes the next player's turn If the player rolls both 1s, their total score is lost, and their turn ends If the player rolls any other number, it is added to their turn total, and the player's turn continues If a player chooses to hold, their turn total is added to their score, and it becomes the next player's turn If a double (both same face value, but not 1s) is rolled, the point total is added to their tum total like normal, BUT the player is obligated to roll again o This means that they cannot choose to HOLD for the next roll, i.e., the HOLD option is disabled The first player to 50 wins. Sample UI Player 1 Total: 21 Player 2 Total: 6 Current Player: P1 Roll Dice Hold Turn total: 4 You must use: buttons, image views, and text views to complete the assignment You must provide a test plan with at least three days on separate worksheet tabs indicating the tests that were performed Note that dice rolls are a random event so they produce discrete random values - use the facilities that Java has available (e.g., the Random class) to help you Instructions You are charged with the responsibility of creating a basic dice game called Two-Dice Pig. The rules of the game are quite simple. There are two dice and two players competing against one another: If the player rolls a single 1, they score nothing, and it becomes the next player's turn If the player rolls both 1s, their total score is lost, and their turn ends If the player rolls any other number, it is added to their turn total, and the player's turn continues If a player chooses to hold, their turn total is added to their score, and it becomes the next player's turn If a double (both same face value, but not 1s) is rolled, the point total is added to their tum total like normal, BUT the player is obligated to roll again o This means that they cannot choose to HOLD for the next roll, i.e., the HOLD option is disabled The first player to 50 wins. Sample UI Player 1 Total: 21 Player 2 Total: 6 Current Player: P1 Roll Dice Hold Turn total: 4 You must use: buttons, image views, and text views to complete the assignment You must provide a test plan with at least three days on separate worksheet tabs indicating the tests that were performed Note that dice rolls are a random event so they produce discrete random values - use the facilities that Java has available (e.g., the Random class) to help you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!