Welcome to a number guessing game. I am thinking of a number between 1 and 100. You will be asked to guess it. I will tell you if your guess is higher or lower than the number I've chosen. You win by guessing my number!
[[Time to take a guess!]]{(set: $randGuesser to (random:1,100))
(set: $guess to 0)
(set: $numGuesses to 0)}(set: $guess to (prompt: "What number do you guess?", "0"))
(set: $guess to (num: $guess))
(set: $numGuesses to ($numGuesses + 1))
(if: $guess < $randGuesser)[(goto: "Too Low")]
(if: $guess > $randGuesser)[(goto: "Too High")]
(else:)[(goto: "Just Right")]
Your number is too low.
You've had $numGuesses guesses.
[[Take another guess|Time to take a guess!]]Your number is too high.
You've had $numGuesses guesses.
[[Take another guess!|Time to take a guess!]]Your number is exactly what I was thinking!
You've taken $numGuesses guesses!