GuessWebService
Guess a number between 1 and 100
The following operations are supported. For a formal definition, please review the Service Description.
-
EndGame
EndGame() releases the session (you have a 1 minute session timeout between guesses). -
Guess
With Guess() you can guess (pass) a number between 1 and 100. The return value is 1 when the number you entered is too high, -1 when too low, and 0 when correct. -
Guesses
Guesses() returns the number of guesses so far. -
NewGame
Use NewGame() to start a new guessing game.