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!
(set: $number to (random: 0,100))
(set: $guess to (prompt: "What number do you guess?", "0"))
(set: $guess to (num: $guess))
(if:$guess is $number) [(goto: "Yes, you got the right number!!!")] (if:$guess is <$number) [(goto: "Your number is too low")]
(if:$guess is >$number) [(goto: "Your number is too high")]
Congrats! You got the right number!!!Oh no! Your number is too high, guess again!
Go back to the [[Start]] Your number is too low, try again!
Go back to the [[Start]]