Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLS
- COLOR 15, 1
- LET X = 10
- RANDOMIZE TIMER
- LET num = RND
- LET num = INT(100 * num) + 1
- PRINT "I have picked an umber from between 1 and 100, i am going to give you 10 chances to guess my number": INPUT GUESS
- PRINT GUESS
- 150
- CLS
- WHILE X > 0
- CLS
- IF GUESS > num THEN PRINT "to high lmaooooooo"
- IF GUESS < num THEN PRINT "to low lmaooooooo"
- IF GUESS = num THEN PRINT "good boy you got my num HDASHDIUASHUDI"
- IF GUESS = num THEN GOTO 1969
- IF GUESS > 100 THEN PRINT "Have you forgotten the rules? the number is supposed to be between 1 and 100, don't guess something over"
- PRINT "you have"
- X = X - 1
- PRINT X
- PRINT "tries remaining"
- PRINT "try to guess my number again?": INPUT GUESS
- LET FSTGUES = GUESS
- GOTO 150
- WEND
- PRINT "you ran out of guesses"
- PRINT "the number was"
- PRINT num
- END
- 1969
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement