Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ask the player's name, and use it at least once Ask the player to set the difficulty rating - give at least three levels (see
- Ask the player's name, and use it at least once
- Ask the player to set the difficulty rating - give at least three levels (see #7)
- Use a conversational tone in the prompts, almost like the game has its own personality
- Each time the game launches, it will generate a random number between 1 and 50 (hint: random.randint() )
- Give at least two helpful levels of feedback in each direction (ie 'Too high!' 'Wayyyy too high!' 'Too low!' 'Close, but still too low!')
- When the user wins, congratulate the user on a job well done
- If the user doesn't guess within a certain number of guesses, the game wins
- For hard levels, less guesses
- For easier levels, more guesses
PYTHON
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