[Start] print "Guess a number that I am thinking of from 1 to 100!" x = int (100*rnd(1)) + 1 print "You have 7 guesses." guesses = 7 [Loop] print "Guess number "; 8 - guesses; ":" input guess if guess = x then [youWin] if guess < x then print "Too low." if guess > x then print "Too high." guesses = guesses - 1 if guesses = 0 then [youLose] goto [Loop] [youWin] print "YOU WIN!!! Play again? (y or n)" input answer$ if answer$ = "y" then goto [Start] else stop end if [youLose] print "MWAHAHAHAHAAAA!!!" print "play again?" input answer$ if answer$ = "y" then goto [Start] else stop end if