Guessing Game

Guess again, my friend!

The Guessing Game is a standard little program that all computer science majors implement at least once in their career. It is quite boring, indeed. Simply guess a number between the indicated values until it matches the one that the computer randomly picked. For those of you who are not computer scientists, see if you can guess the number in as few tries as possible to guarantee it is the correct one. Hint: It should take no more than floor(log2(100) + 1), or 7, tries.


Download executable JAR:
GuessingGame.jar