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!
[[Let's begin]]($random: 1,100)(if: $guess > $random)[This number is too high! Try again]
(set: $guess to (prompt: "What number do you guess?", "0"))
(set: $guess to (num: $guess))(if: $guess < random)[Sorry, this number is too low. Guess again]
(set: $guess to (prompt: "What number do you guess?", "0"))
(set: $guess to (num: $guess))(set: $guess to (prompt: "What number do you guess?", "0"))
(set: $guess to (num: $guess))
(goto: "too high")
(goto: "too low")
(goto: "Congrats!")(if: $guess = $random)[Congratulations! You guessed the right number!
Thanks for playing!]