Question: You are being asked to develop a number guessing game. The game starts with the user being allotted 1 0 points. The user will enter
You are being asked to develop a number guessing game. The game starts with the user being allotted
points. The user will enter their name at the start of the game, user is then presented the rules of the
game as follows
RULES OF THE GAME
Based on the difficulty you set you will be asked to choose a number from a range
If the difficulty is set to easy Choose any number between to
If the difficulty is set to medium Choose any number between to
If the difficulty is set to hard Choose any number between to
If you win you will get times of points you bet
If you bet on the wrong number, you will lose your betting amount
Once you get to zero points your game is over or you can choose not to continue after each round
Your game can be set to only have one level but bonus points will be awarded for setting multiple
difficulties
#include
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
