lispbox: return number in attempt-guess
This commit is contained in:
parent
957eefb55d
commit
d590784a3a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ is the number the user is trying to guess."
|
||||||
(when (= guess number)
|
(when (= guess number)
|
||||||
(setf incorrect nil))
|
(setf incorrect nil))
|
||||||
while incorrect))
|
while incorrect))
|
||||||
t)
|
number)
|
||||||
|
|
||||||
(defun begin-number-guessing-game (&key one-shot (maximum 100))
|
(defun begin-number-guessing-game (&key one-shot (maximum 100))
|
||||||
"If `one-shot' is t, run one round of a number guessing game.
|
"If `one-shot' is t, run one round of a number guessing game.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue