Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created August 20, 2008 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vangberg/6351 to your computer and use it in GitHub Desktop.
Save vangberg/6351 to your computer and use it in GitHub Desktop.
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