Created
June 9, 2015 09:22
-
-
Save kragen/cbf6ddc77826a8c47591 to your computer and use it in GitHub Desktop.
a command-line game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: user@debian:~/devel/dev3; ./guess | |
I’ve chosen a number from 0 to 100. Try to guess it. | |
: user@debian:~/devel/dev3; ./guess 50 | |
Your guess is too big! | |
: user@debian:~/devel/dev3; ./guess 25 | |
Your guess is too small! | |
: user@debian:~/devel/dev3; ./guess 37 | |
Your guess is too big! | |
: user@debian:~/devel/dev3; ./guess 31 | |
Your guess is too big! | |
: user@debian:~/devel/dev3; ./guess 28 | |
Your guess is too big! | |
: user@debian:~/devel/dev3; ./guess 26 | |
Your guess is too small! | |
: user@debian:~/devel/dev3; ./guess 27 | |
YOU GOT IT! IT WAS 27! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment