Answered step by step
Verified Expert Solution
Link Copied!

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

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

PYTHON

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions