In a web browser, type the following URL:
http://localhost:8080/guessnumber |
The Guess My Number page opens, as shown in Figure 18–2.
Type a number in the Number text field, then click Guess.
The minimum and maximum values are modified, along with the remaining number of guesses.
Keep guessing numbers until you get the right answer or run out of guesses.
If you get the right answer, the input field and Guess button are grayed out, as shown in Figure 18–3.
Click the Reset button to play the game again with a new random number.