Question: Create a simple app that allows the user to roll a die. Display a die somewhere on your screen. When the user taps on the
Create a simple app that allows the user to roll a die. Display a die somewhere on your
screen. When the user taps on the die, it should randomly switch to another number.
Keep count of the number of times each number is rolled. Somewhere on the screen, display
how many times each face has been rolled. Include a button that resets the counts for how
many times each face has been rolled.
It is ok to always start your die showing the same face every time. You can use ImageButton
to solve this example.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
