Question: Using java Please: Create an Android app called Guess the Number where the user tries to guess a pre-defined random number that lies between 0

Using java Please:

Using java Please: Create an Android app called "Guess the Number" where

Create an Android app called "Guess the Number" where the user tries to guess a pre-defined random number that lies between 0 and 10. The user is given the chance to play the game 3 times after which the game is over. In case the user guess it right, before exhausting the number of chances, the app display the text "Congratulation, you won!!" and the app terminates, otherwise if the user has not exhaust his chances (3) it displays "Sorry, wrong guess, try it again", and if the user uses up his/her 3 chances the app displays "Sorry, time is up" and the app terminates itself. The interface should look like: CST2301 2 ? ??66 GUESS Enter a number from 0 to 10 The EditText (PlainText) should have the following properties: inputType: number digits: 0123456789 maxLength =2 Place the attached image in the drawable folder under res folder. Add an ImageView and select the drawable image under project. Add also a TextView so you can display either one of the messages

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!