Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

mobile development andoid studio step by step please early please Assigment 1 and 2 Based on what you learnt this week and the material provided

mobile development andoid studio
step by step please
early please
image text in transcribed
Assigment 1 and 2 Based on what you learnt this week and the material provided to you, create a dice game. The game contains two dice, one belongs to the player and one belonging to the computer. Dice has to place vertically and has to be identified which one belongs to the user and belongs to the computer. Your app has to have two buttons. One said "Higher," the second says "Lower it has to be placed horizontally By pressing each of these buttons, both dice have to roll. If the user selects higher and his/her dice is higher than the computer dice; then the user is the winner; otherwise, he or she loses unless the game is a tie. If the user selects "lower" and his/her dice is lower than the computer, the user is the winner; otherwise, they lose unless the game is a tie. Considering the situation, one of the following messages has to be shown. Computer Win! User Win! It's a tie You have two options for the message: 1) using an empty text field 2) You can have an image to indicate the situation ** Make sure to apply the id, description and all the necessary attributes in style.xml, string.xml and color.xml. **make sure that you place the resources into the right folders

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions