home *** CD-ROM | disk | FTP | other *** search
Wrap
GW-BASIC | 1994-02-04 | 5.5 KB | 145 lines
10 REM--------------------------------------------------- 20 REM s t o r y 30 REM--------------------------------------------------- 40 REM june 16, 1977 50 KEY OFF: CLS: PRINT 60 PRINT TAB(15);"S t o r y" 70 PRINT:PRINT:PRINT 80 PRINT 90 DIM A$(11),B$(5),C$(10) 100 PRINT "First, we will need to know your name "; 110 INPUT NAM$ 120 PRINT "thanx, ";NAM$ 130 RANDOMIZE 140 PRINT CHR$(7);TAB(12);"O.K. -- We're going to print some stories" 150 PRINT TAB(12);"together. You supply the words, I supply the plot." 160 PRINT TAB(12);"Type the number of the one you would like "; 170 INPUT N 180 REM 190 PRINT TAB(12);"First I need eleven adjectives. Adjectives modify":PRINT TAB(12);"a noun, like: Red, Dirty, Large, etc." 200 FOR X=1 TO 11:PRINT TAB(15);"Adjective #";X;" ";:INPUT A$(X):NEXT X:PRINT:PRINT:PRINT TAB(12);"Thanks" 210 PRINT TAB(12);"Now I need five adverbs. They modify verbs and end":PRINT TAB(12);"in 'ly', like: Slowly, Greedily." 220 FOR X=1 TO 5:PRINT TAB(15);"Adverb #";X;" ";:INPUT B$(X):NEXT X:PRINT:PRINT TAB(12);"Thank you, ";NAM$ 230 PRINT:PRINT TAB(12);"Next I'll need 10 nouns! These are names of things, such":PRINT TAB(12);"as: Insect, Box, Tree, Banana" 240 FOR X=1 TO 10:PRINT TAB(15);"Noun #";X;" ";:INPUT C$(X):NEXT X 250 PRINT:PRINT TAB(12);"You're doing great, ";NAM$;", there's not much more." 260 PRINT:PRINT TAB(12);"How about two first names of men.":PRINT TAB(15);"The first man's name ";:INPUT D$:PRINT TAB(15);"And now the second's ";:INPUT E$ 270 PRINT:PRINT TAB(12);"The first name of a woman ";:INPUT F$:PRINT:PRINT TAB(12);"And someone's last name ";:INPUT G$ 280 PRINT:PRINT TAB(12);"A geographical location ";:INPUT H$:PRINT:PRINT TAB(12);"A kind of liquid ";:INPUT I$ 290 PRINT:PRINT TAB(12);"And finally, an exclamatory word or two ";:INPUT J$ 300 PRINT:PRINT TAB(12);"Well done, ";NAM$;", now. . ." 310 REM 320 PRINT 330 PRINT TAB(12);"Would you like a newspaper ad (1)," 340 PRINT TAB(12);" a western (2)," 350 PRINT TAB(12);" a story about the army (3)," 360 PRINT TAB(12);" or a waterbed (4)." 365 INPUT N 370 REM 380 ON N GOSUB 460,650,910,1180 390 PRINT TAB(15);"Want another story ";NAM$;" "; 400 INPUT QQ$ 410 IF LEFT$(QQ$,1)<>"Y" AND LEFT$(QQ$,1)<>"y" THEN PRINT:PRINT:PRINT:PRINT TAB(15);"goodbye "; NAM$:END 420 PRINT TAB(15);"Want to use the same words "; 430 INPUT QQ$ 440 IF LEFT$(QQ$,1)<>"Y" AND LEFT$(QQ$,1)<>"y" THEN GOTO 180 450 GOTO 310 460 REM 470 PRINT 480 PRINT 490 PRINT 500 PRINT 510 PRINT TAB(15);"DAILY GRUNT CLASSIFIEDS" 520 PRINT "FOR SALE: 1957 Sedan. This ";A$(1);" car is in a ";A$(2) 530 PRINT "condition. It was formerly owned by a ";A$(3);" school teacher" 540 PRINT "who always drove it ";B$(1);". There is a ";A$(4);" ";C$(1);" in" 550 PRINT "the back seat. It has a chrome ";C$(2);" on the hood, a ";A$(5) 560 PRINT "paint job, ";A$(6);" tires and the back opens into a ";A$(7) 570 PRINT C$(3);". Will consider taking a slightly used ";C$(4);" in trade." 580 PRINT:PRINT 590 PRINT "LOST: In the vicinity of ";H$;", a ";A$(8);" french poodle with" 600 PRINT A$(9);" hair and a ";A$(10);" tail. It answers to the name of" 610 PRINT F$;". When last seen it was carrying a ";C$(5);" in its mouth." 620 PRINT "A ";A$(11);" reward is offered." 630 PRINT :PRINT :PRINT 640 RETURN 650 REM 660 PRINT:PRINT:PRINT:PRINT 670 PRINT TAB(12);"AN ADULT WESTERN" 680 PRINT 690 PRINT "Tex ";G$;", the Marshall of ";D$;" City rode into town. He sat" 700 PRINT B$(2);" in the saddle, ready for trouble. He knew that his ";A$(1) 710 PRINT "enemy, ";E$;" the Kid was in town. The Kid was in love with Tex's" 720 PRINT "horse, ";F$;". Suddenly, the Kid came out of the ";A$(7);" Nugget" 730 PRINT "Saloon. " 740 PRINT 750 PRINT "'DRAW TEX', he yelled ";B$(3) 760 PRINT 770 PRINT "Tex reached for his ";C$(4);", but before he could get it out of" 780 PRINT "his ";C$(5);" the Kid fired, hitting Tex in the ";C$(6);" and" 790 PRINT "the ";C$(7);"." 800 PRINT 810 PRINT "As Tex fell he pulled out his own ";C$(8);" and shot the Kid "; 820 PRINT INT(50*RND+3) 830 PRINT "times in the ";C$(9);". The Kid dropped in a pool of ";I$ 840 PRINT 850 PRINT "'";J$;"', Tex said. 'I hated to do it, but he was on the wrong" 860 PRINT "side of the ";C$(10);"." 870 PRINT 880 PRINT 890 PRINT 900 RETURN 910 REM 920 PRINT :PRINT:PRINT:PRINT 930 PRINT "If you plan on joining the army, here are some ";A$(11);" hints" 940 PRINT "that will help you become a ";A$(10);" soldier." 950 PRINT 960 PRINT "The army is made up of Officers, Non-coms, and ";C$(1);"s." 970 PRINT "You can recognize an Officer by the ";C$(2);"s on his shoulders" 980 PRINT "and the funny-looking ";C$(3);"s on his cap. When you address" 990 PRINT "an Officer, always say ";C$(4);" and say it ";B$(5);". If you get" 1000 PRINT "a ";A$(9);" haircut, keep your ";C$(5);"s shined, and see that" 1010 PRINT "your ";C$(6);" is clean at all times, you will be a credit to the " 1020 PRINT "slogan:" 1030 PRINT 1040 PRINT " The Army Builds Better ";C$(7);"s!" 1050 PRINT 1060 PRINT "At roll call, when the ";A$(8);" sergeant calls your name, shout" 1070 PRINT "'";J$;"' loud and clear." 1080 PRINT 1090 PRINT "You will become familiar with weapons like the .30 calibre ";C$(8) 1100 PRINT "and the automatic ";C$(9);"." 1110 PRINT 1120 PRINT "Follow this advice and you may win the. . ." 1130 PRINT 1140 PRINT "******** ";A$(7);" Conduct ";C$(10);" ********" 1150 PRINT 1160 PRINT 1170 RETURN 1180 REM 1190 PRINT 1200 PRINT "Bust-a-Button and Duck Dept. Store" 1210 PRINT "Dix Hills, New York" 1220 PRINT 1230 PRINT 1240 PRINT "Dear Sirs," 1250 PRINT 1260 PRINT " Last week I purchased a ";A$(2);" contour water bed in your" 1270 PRINT "store. I got it especially for my ";A$(4);" husband who sleeps" 1280 PRINT "very ";B$(1);" and says that ";A$(6);" water beds that have" 1290 PRINT C$(1);"s in them make his ";C$(3);" ache. When the bed arrived " 1300 PRINT "my husband tested it ";B$(2);" and said the ";A$(8);" ";C$(5) 1310 PRINT "was bent and kept pressing into his ";C$(6);". He says this" 1320 PRINT "could lead to a ";A$(10);" condition of the ";C$(8);"." 1330 PRINT 1340 PRINT " I would like to exchange this ";A$(9);" bed for one that" 1350 PRINT "will allow my husband to sleep ";B$(4);" and won't make his" 1360 PRINT C$(10);" sore." 1370 PRINT 1380 PRINT 1390 PRINT TAB(25);"Yours ";B$(5);"," 1400 PRINT TAB(25);F$;" ";G$ 1410 PRINT 1420 PRINT 1430 RETURN