Question
Guess my Number Create a world containing an actor (your choice) and an environment (your choice). When the world begins to play, the actor selects
Guess my Number Create a world containing an actor (your choice) and an environment (your choice). When the world begins to play, the actor selects a WholeNumber at random in the range 1..99. The actor then repeatedly asks you to guess the number. If you guess too high, the actors say Too high and if you guess too low, the actor says Too low. The actor keeps track of the number of erroneous guesses. If you guess correctly, the actor says Correct, you only needed # guesses. You might modify the game to allow a maximum of, say, 10 guesses, after which the actor might say You lose!
I do not know if anyone on chegg knows the language of Alice3, but I'm confused on this problem. I am not sure how to take in user input.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started