Created
August 20, 2008 09:14
-
-
Save vangberg/6351 to your computer and use it in GitHub Desktop.
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
def incoming # or 'context incoming', nevermind. | |
# Send: 'exec play hello-world' | |
play 'hello-world' | |
# Send: 'wait for digit' and read return | |
selection = input(4) | |
# .. | |
play 'success' if selection == 4 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment