Question: C++ Design and implement a class for a one person guessing game. Problem: Gaming-design an ADT for a one-person guessing game that chooses n random

C++

Design and implement a class for a one person guessing game. Problem: Gaming-design an ADT for a one-person guessing game that chooses n random intergers in the range from 1 to m and asks the user to guess them.The same integer might be chosen more than once. For example , the game might choose the following four intergers that range from 1 to 4,6,1,6. The following interaction could occur between the user and the game, after the user has the specified the integers m and n: Enter your guesses for the intergers in the ranger from 1 to 10 that have been selected 1 2 3 4 2 of your guesses are correct , Guess again. Enter your guesses for the 4 interfers in the range from 1 to 10 that have been selected : 2 4 6 8 2 of your guesses are correct, guess again 1 4 6 6 You are correct! Play again? NO Good -Bye!

Submit header file guess.h, implementation file guess.cpp, main function file main.cpp that asks initial seed number and prints out results as shown in the programming above. You need to include a makefile, and Readme file (as demo'ed in 1234HW1.zip).

For the first assignment, you should change the OBJS = to OBJS = main.o guess.o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!