The puzzle is as follows:
Create the traditional 'Guess my Number' game in as little keystrokes as possible. The player should input a guess between and including 1 and 100, and the computer should reply with either +
(meaning the player needs to guess higher), -
(meaning the player needs to guess lower) or =
(meaning the player has guessed the number. The game continues until the player has guessed the number. The number that the computer generates MUST be a random number between and including 1 and 100.
Sample gameplay
50
+
75
-
60
-
55
+
57
=
Happy Golfing!