As it's been said, dividing the range in the middle is the optimum strategy here. This way, the high/low question will yield maximum information. Read also the article on Binary search.
In reply to Re: Updates to a guessing number script
by Anonymous Monk
in thread Updates to a guessing number script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |