This assignment is intended to see if youve learned the basic concepts talked about thus far in the lectures.
You will be required to take pre-existing code and augment it download the cpp attached to this assignment, and copy paste the code, or create a new blank project and import the cpp file.
Use the code provided in GuessGame_skel.cpp and augment it.
The application is a fun and exciting number guessing game. (Im thinking of a number between 1-x, guess it!)
Your job is to make the application evaluate the users guess and provide output.
Sample Output:
Hello! Let's play a dice game. Let me do the first roll for you.
In this roll, you got: 4
What's your guess for the next roll? Enter an integer between 1 and 6: 2
In this roll, you got: 4
The guess was too low
Enter 1 to exit or any other integer to continue rolling 1
Hello! Let's play a dice game. Let me do the first roll for you.
In this roll, you got: 3
What's your guess for the next roll? Enter an integer between 1 and 6: 7
You guessed with an invalid number, please ensure your guess is between 1 and 6
What's your guess for the next roll? Enter an integer between 1 and 6: 0
You guessed with an invalid number, please ensure your guess is between 1 and 6
What's your guess for the next roll? Enter an integer between 1 and 6: 3
In this roll, you got: 5
The guess was too low
Enter 1 to exit or any other integer to continue rolling 2
What's your guess for the next roll? Enter an integer between 1 and 6: 3
In this roll, you got: 6
The guess was too low
Enter 1 to exit or any other integer to continue rolling 1
Sorry to see you go. Have a wonderful day!