Let's play rock-paper-scissors.
Make your choice:
[[rock]]
[[paper]]
[[scissors]](set: $human to "rock")
(go-to: "computer's turn")(set: $human to "paper")
(go-to: "computer's turn")(set: $human to "scissors")
(go-to: "computer's turn")(set: $computer to (either: "rock", "paper", "scissors"))
You chose $human.
I chose $computer.
{
(if: $human is $computer) [It's a tie.]
(else:) [
(if: $human is "rock") [
(if: $computer is "paper") [I win.]
(else:) [You win.]
]
(else-if: $human is "paper") [
(if: $computer is "scissors") [I win.]
(else:) [You win.]
]
(else:) [
(if: $computer is "rock") [I win.]
(else:) [You win.]
]
]
}
[[Play again->Start]]