Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 50 PRINT "Think of a musical instrument, and I will try to guess it.":PRINT "Answer the questions as either Yes (1) or No (0)"
- 51 PRINT "Do you blow into this instrument?"
- 52 INPUT 9999
- 53 LET 55=54-9999*2:LET 58=54+9999*2
- 55 LET 200=60:LET 400=0
- 58 LET 400=60:LET 200=0
- 200 PRINT "Does this instrument have strings?":LET 201=200+1
- 201 INPUT 10000:LET 202=201+1
- 202 LET 204=200+4:LET 205=204-10000*2:LET 206=204+10000*2
- 205 LET 220=204+4:LET 300=0
- 206 LET 300=204+4:LET 220=0
- 8888 REM PERCUSSION INSTRUMENTS HERE
- 220 PRINT "Does this instrument make a high pitched dinging sound?":LET 221=220+1
- 221 INPUT 10001:LET 222=221+1
- 222 LET 224=220+4:LET 225=224-10001*2:LET 226=224+10001*2
- 225 LET 1006=224+4:LET 240=0
- 226 LET 240=224+4:LET 230=0
- 240 PRINT "Is it capable of playing more than one pitch?":LET 241=240+1
- 241 INPUT 10002:LET 242=241+1
- 242 LET 244=240+4:LET 245=244-10002*2:LET 246=244+10002*2
- 245 LET 1008=244+4
- 246 LET 1007=244+4
- 8888 REM STRING INSTRUMENTS HERE
- 300 PRINT "Is this instrument played in a rock band?":LET 301=300+1
- 301 INPUT 10004:LET 302=301+1
- 302 LET 304=300+4:LET 305=304-10004*2:LET 306=304+10004*2
- 305 LET 320=304+4:LET 300=0
- 306 LET 1009=304+4
- 320 PRINT "Is this instrument big?":LET 321=320+1
- 321 INPUT 10005:LET 322=321+1:PRINT 10005
- 322 LET 324=320+4:LET 325=324-10005*2:LET 326=324+10005*2
- 325 LET 1010=324+4
- 326 LET 1011=324+4
- 8888 REM WIND INSTRUMENTS HERE
- 400 PRINT "Is this instrument a woodwind?":LET 401=400+1
- 401 INPUT 10006:LET 402=401+1
- 402 LET 404=400+4:LET 405=404-10006*2:LET 406=404+10006*2
- 405 LET 420=404+4:LET 400=0
- 406 LET 500=404+4:LET 400=0
- 8888 REM BRASS INSTRUMENTS HERE
- 420 PRINT "Is it played by moving a slide?":LET 421=420+1
- 421 INPUT 10007:LET 422=421+1
- 422 LET 424=420+4:LET 425=424-10007*2:LET 426=424+10007*2
- 425 LET 440=424+4:LET 400=0
- 426 LET 1001=424+4
- 440 PRINT "Is it big?":LET 441=440+1
- 441 INPUT 10008:LET 442=441+1
- 442 LET 444=440+4:LET 445=444-10008*2:LET 446=444+10008*2
- 445 LET 1000=444+4
- 446 LET 1002=444+4
- 400 PRINT "Is this instrument a woodwind?":LET 401=400+1
- 401 INPUT 10006:LET 402=401+1
- 402 LET 404=400+4:LET 405=404-10006*2:LET 406=404+10006*2
- 405 LET 420=404+4:LET 400=0
- 406 LET 500=404+4:LET 400=0
- 8888 REM BRASS INSTRUMENTS HERE
- 500 PRINT "Does it have a reed?":LET 501=500+1
- 501 INPUT 10009:LET 502=501+1
- 502 LET 504=500+4:LET 505=504-10009*2:LET 506=504+10009*2
- 505 LET 1003=504+4
- 506 LET 520=504+4
- 520 PRINT "Does Squidward play it?":LET 521=520+1
- 521 INPUT 10010:LET 522=521+1
- 522 LET 524=520+4:LET 525=524-10010*2:LET 526=524+10010*2
- 525 LET 1005=524+4
- 526 LET 1004=524+4
- 1000 PRINT "I guess that your instrument is: TRUMPET" : END
- 1001 PRINT "I guess that your instrument is: TROMBONE" : END
- 1002 PRINT "I guess that your instrument is: TUBA" : END
- 1003 PRINT "I guess that your instrument is: FLUTE" : END
- 1004 PRINT "I guess that your instrument is: CLARINET" : END
- 1005 PRINT "I guess that your instrument is: SAXOPHONE" : END
- 1006 PRINT "I guess that your instrument is: DRUMS" : END
- 1007 PRINT "I guess that your instrument is: XYLOPHONE" : END
- 1008 PRINT "I guess that your instrument is: TRIANGLE" : END
- 1009 PRINT "I guess that your instrument is: GUITAR" : END
- 1010 PRINT "I guess that your instrument is: VIOLIN" : END
- 1011 PRINT "I guess that your instrument is: CELLO" : END
Advertisement
Add Comment
Please, Sign In to add comment