Welcome to //"Guess The Number!"//
I am thinking of a number between 1 and 100. Can you guess it?
[[Play]]{(set: $guess to (prompt: "What number do you guess?", ""))
(set: $guess to (num: $guess))
(set: $tries to it + 1)
(display: "next")}
(set: $answer to (random:1,100))
(set: $tries to 0)(if:$guess is $answer)[(goto: "win")]
(else:)[(goto: "lost")]
You win!
The number $answer is correct!
Number of tries: $tries.{(if: $guess > $answer)[Oops... $guess is not the correct answer. Try a smaller number.]
(if:$guess< $answer)[Oops... $guess is not the correct answer. Try a higher number.]
}
Number of tries: $tries
[[Try again|Play]]