number guess game 3 classes

fuva777
timer Asked: Aug 9th, 2015

Question Description

Make guessing game java application with using 3 different classes.

core.java  ,   display.java   ,   main.java

Here are UML diagram for what each class suppose to do

makeGuess.png 

startGame.png 

endGame.png 


Here are system requirement.

+System_Level_Requirements
+
+.The system shall provide a means for the user to start the game.
+.The system shall provide a means for the user to quit the game.
+.The system shall be able to display the guessable range (1 – 1023)
+.The system shall provide a means for User to inform the device that he/she has selected a number between 1 and 1,023.
+.The system shall be able to find the number in 10 guesses or less
+.The system shall be able to compute a guess.
+.The system shall be able to display the computed guess.
+.The system shall be able to keep track of the guess iteration.
+.The system shall be able to display the guess iteration.
+.The system shall provide a means for the user to provide feedback on the guess:
+ ·The guess is correct.
+ ·The guess is too high
+ ·The guess is too low.
+.The system shall end the game dependent upon User input (The guess is correct) OR if the max number of guesses is exceeded.
+.The system shall make a subsquent guess dependent upon User input (The guess is not correct).
+.The system shall have a way to quit the application or play again once the game has ended.
+
+Extra:
+.A means for the user to set the upper bound
+.The system shall be able to find the number in maxNumOfGuesses guesses or less, based on the binomial theorem to log base 2 to determine number of guesses, round up to whole number if log is a decimal

all requirement must be met. Incomplete or wrong work or things that won't compile will not be accepted.

when the guess game starts, it will give user 2 options. 1st one is to start the game normal with # between 1 to 1023 with 10 guess limit, 2nd one will be the one without upper bound or guess limit.


User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors