6 lines
233 B
Text
6 lines
233 B
Text
number = int(rnd(0) * 10) + 1
|
|
input "Guess the number I'm thinking of between 1 and 10. "; guess
|
|
while guess <> number
|
|
input "Incorrect! Try again! "; guess
|
|
wend
|
|
print "Congratulations, well guessed! The number was "; number;"."
|