Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

console app in c# Write a program where the user must try to the guess the random number chosen by the computer. This can be

console app in c#

Write a program where the user must try to the guess the random number chosen by the computer. This can be a GUI program or a console app. Extra credit will be givenfor GUI app. Your game should have a level of difficulty option of Easy, Medium, or Difficult. The Easy level will be a number between 1 -100, Medium level is a number between 1 -1,000 and the Difficult level is a number between 1 -10,000.

Allow the user only 10 tries to guess the number. If they are unable to guess the number after 10 tries, display a chastising message letting them know they have lost. Be sure to let them know what the random number was. Then give the player the option to play another game. If the player chooses to play again, remember to allow them to choose a different level of difficulty.

A new random number needs to be generated for the computer at the beginning of every new game that is within the chosen range of difficulty level.

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago