-2

I wanted to make a game which asked a number from the user from 1 to 10 and generates a random number and if the generated number is the same as that of entered number then alert you won else you lose but it always shows you lose and I also want if user field is empty alert enter number bur still it alerts you lose. please have a look into this.

0 Answers0