Hui Frederick Lap Yip
2004-01-23 23:13:19 UTC
TAs,
I do not know if we need to consider this special case. Let's say
previous guess was 92 and you said it was too low. So the computer
guesses some number higher than 93, say 97. You sa it's too high. So
then the computer guesses 93 and you say it's too high. My program will
then just keep asking the computer for numbers. However, it is obvious
that that case is not possible. Also, if we cheat (ie. lie to the
computer) do we need a cheat check?
Fred
I do not know if we need to consider this special case. Let's say
previous guess was 92 and you said it was too low. So the computer
guesses some number higher than 93, say 97. You sa it's too high. So
then the computer guesses 93 and you say it's too high. My program will
then just keep asking the computer for numbers. However, it is obvious
that that case is not possible. Also, if we cheat (ie. lie to the
computer) do we need a cheat check?
Fred