Add the banner. It should give the instructions before asking for a guess.

db4
Guillermo Alcantara 2012-02-08 21:31:31 -08:00 committed by John Benediktsson
parent f9dcb4e82d
commit 63657a07c8
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ IN: numbers-game
dup guess-prompt read-number judge-guess
[ numbers-game-loop ] [ drop ] if ;
: numbers-game ( -- ) number-to-guess numbers-game-loop ;
: numbers-game ( -- )
guess-banner number-to-guess numbers-game-loop ;
MAIN: numbers-game