-
-
Save videlais/2bfbe27776ff962c3b73385e6ca74127 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
VAR name = "Dan" | |
It was our first date and we hadn't made dinner plans. | |
-> Pizza_Choices | |
=== Pizza_Choices === | |
He turned to me. "What should we eat, {name}?" | |
+ [Pizza?] | |
-> Pizza | |
+ [Sushi?] | |
-> Sushi | |
+ [Salad?] | |
-> Salad | |
+ [Nothing?] | |
-> Nothing | |
=== Pizza === | |
He shook his head. "I don't like pizza." | |
-> Pizza_Choices | |
=== Sushi === | |
"Sushi sounds good!" | |
-> DONE | |
=== Salad === | |
"Not a salad" | |
-> Pizza_Choices | |
=== Nothing === | |
"We have to eat something!" | |
-> Pizza_Choices | |
=== function changeName(a) === | |
~ name = a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment