home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib05.dsk
/
MIRACLES.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
9KB
|
330 lines
11 REM *******************************
12 REM ** >> MIRACLES << **
13 REM ** BY PAUL RAYMER **
14 REM ** COPYRIGHT (C) 1981 BY **
15 REM ** MICRO-SPARC, INC. **
16 REM ** LINCOLN, MA 01773 **
17 REM *******************************
100 TEXT : HOME : CLEAR : SPEED= 255
110 DIM N$(100)
120 :
130 REM ORIGINAL CONCEPT BY
140 REM PAUL RAYMER
150 REM IV/VII/MCMLXXXI
160 REM POB 42831
170 REM LAS VEGAS NV 89104
180 :
190 GOTO 270
200 REM DELAY ROUTINES
210 REM
220 FOR M = 1 TO 100: NEXT M: RETURN
230 FOR M = 1 TO 200: NEXT M: RETURN
240 FOR M = 1 TO 500: NEXT M: RETURN
250 FOR M = 1 TO 1000: NEXT M: RETURN
260 FOR M = 1 TO 2000: NEXT M: RETURN
270 PRINT "MIRACLES"
280 GOSUB 260: HOME
290 VTAB 3: PRINT "1) RED SEA"
300 PRINT : PRINT "2) DANIEL"
310 PRINT : PRINT "3) NOAH"
320 PRINT : PRINT "4) MOSES AND MT. SINAI"
330 PRINT : PRINT "5) DAVID"
340 PRINT : PRINT "6) JERICHO"
350 PRINT : PRINT "7) SODOM AND GOMORRAH"
360 PRINT : PRINT "8) JONAH"
370 PRINT : PRINT "9) EXODUS"
380 PRINT : HTAB 5: PRINT "SELECT BY NUMBER ";: GET A$
390 A = VAL(A$)
400 IF A <1 OR A >9 THEN 290
410 ON A GOSUB 1000,2000,3000,4000,5000,6000,7000,8000,9000
420 HOME : GOTO 290
430 END
1000 REM RED SEA MIRACLE
1010 REM
1020 HOME
1030 VTAB 5: PRINT "PARTING OF THE RED SEA"
1040 GOSUB 260
1050 A$ = "RED":B$ = "SEA"
1060 FOR X = 1 TO 10
1070 VTAB 12: HTAB 16 -X: PRINT A$; SPC( 2 *X);B$
1080 GOSUB 240
1090 NEXT X
1100 GOSUB 9070
1110 RETURN
2000 REM DANIEL MIRACLE
2010 REM
2020 HOME
2030 VTAB 3: HTAB 16: FLASH : PRINT " DANGER ": NORMAL
2040 VTAB 5: HTAB 10: PRINT "********************"
2050 FOR X = 6 TO 15
2060 HTAB 10: PRINT "*"; SPC( 18);"*"
2070 NEXT X
2080 HTAB 10: PRINT "********************"
2090 VTAB 18: HTAB 15: PRINT "LION'S DEN"
2100 GOSUB 260
2110 POKE 34,6: POKE 35,14
2120 POKE 32,11: POKE 33,16
2130 SPEED= 100
2140 HOME : FOR X = 1 TO 23: PRINT "WILD LIONS ";: NEXT X: PRINT "WILD LIONS";
2150 GOSUB 240
2160 VTAB 10: HTAB 4: INVERSE : PRINT " DANIEL ": NORMAL
2170 SPEED= 200
2180 GOSUB 260
2190 HOME
2200 FOR X = 1 TO 23: PRINT "PUSSYCATS ";: NEXT X: PRINT "PUSSYCATS";
2210 VTAB 10: HTAB 4: INVERSE : PRINT " DANIEL ": NORMAL
2220 POKE 32,0: POKE 33,40: POKE 34,0: POKE 35,24
2230 SPEED= 255
2240 VTAB 3: HTAB 16: PRINT " WELCOME "
2250 GOSUB 9070
2260 RETURN
3000 REM NOAH MIRACLE
3010 REM
3020 HOME
3030 PRINT "WHAT ANIMALS WOULD YOU LIKE TO PUT ON NOAH'S ARK?"
3040 PRINT : PRINT "(TYPE SINGULAR WORDS - PRESS RETURN TO QUIT)": PRINT
3050 FOR X = 1 TO 100
3060 INPUT N$(X)
3070 IF LEN(N$(X)) = 0 THEN 3090
3080 NEXT X
3090 HOME : SPEED= 100
3100 VTAB 3: PRINT "WEATHER FORECAST...RAIN!": SPEED= 255
3110 POKE 34,5
3120 PRINT : PRINT
3130 FOR R = 1 TO 40
3140 IF R = 25 OR R = 39 THEN PRINT "DAY NO."R;: HTAB 12: PRINT "STILL RAINING": GOTO 3160
3150 PRINT "DAY NO.";R;: HTAB 12: PRINT "RAIN TODAY"
3160 GOSUB 230
3170 NEXT R
3180 PRINT : PRINT "LOOK...A RAINBOW!"
3190 GOSUB 260
3200 TEXT : HOME : PRINT "...AND DEBARKING FROM THE ARK ARE A"
3210 SPEED= 100
3220 XX = X -1
3230 FOR Z = 1 TO XX
3240 PRINT "BOY AND GIRL ";N$(Z)
3250 NEXT Z
3260 L = INT(XX * RND(1)) +1
3270 PRINT : PRINT "...AND A BABY ";N$(L);"!"
3280 SPEED= 255
3290 GOSUB 9070
3300 RETURN
4000 REM TEN COMMANDMENTS
4010 REM
4020 HOME
4030 SPEED= 50
4040 PRINT "M O S E S . . ."
4050 VTAB 22: HTAB 30: PRINT "YES, SIR?"
4060 GOSUB 250
4070 HOME : PRINT "THESE ARE FOR YOU AND ALL MANKIND..."
4080 SPEED= 255
4090 FOR C = 1 TO 10: READ C$(C): NEXT C
4100 FOR X = 1 TO 10
4110 VTAB X +5: HTAB 10: PRINT C$(X)
4120 GOSUB 230
4130 NEXT X
4140 VTAB 22: HTAB 30: PRINT "THANK YOU."
4150 GOSUB 260
4160 GOSUB 9070
4170 RETURN
4180 DATA I,II,III,IV,V,VI,VII,VIII,IX,X
5000 REM DAVID MIRACLE
5010 REM
5020 HOME
5030 PRINT "DAVID'S SIDE GOLIATH'S SIDE": PRINT : PRINT
5040 VTAB 20: PRINT "DAVID"
5050 FOR X = 4 TO 20
5060 VTAB X: HTAB 20: PRINT "GOLIATH"
5070 NEXT X
5080 GOSUB 260
5090 VTAB 3: HTAB 1: INVERSE : PRINT " THE LORD "
5100 FLASH
5110 FOR X = 4 TO 20
5120 VTAB X: HTAB 20: PRINT "==ZAP=="
5130 VTAB X -1: HTAB 20: PRINT " "
5140 GOSUB 230
5150 NEXT X
5160 NORMAL
5170 FOR X = 2 TO 20: VTAB X: HTAB 20: PRINT SPC( 8): NEXT X
5180 FOR X = 20 TO 41
5190 VTAB 20: HTAB 20: CALL -958: HTAB X: PRINT "GOLIATH"
5200 GOSUB 230
5210 NEXT X
5220 VTAB 20: HTAB 10: PRINT "<- THE WINNER!"
5230 GOSUB 9070
5240 RETURN
6000 REM JERICHO MIRACLE
6010 REM
6020 HOME
6030 FOR X = 5 TO 20
6040 VTAB X: HTAB 10: PRINT "********************"
6050 NEXT X
6060 PRINT : HTAB 16: PRINT "JERICHO"
6070 GOSUB 260
6080 FOR X = 1 TO 7
6090 VTAB 1: HTAB 10: PRINT "DAY ";X
6100 PRINT CHR$(7);
6110 GOSUB 240
6120 NEXT X
6130 FOR ZA = 1 TO 300
6140 Z = INT(17 * RND(1)) +5
6150 ZZ = INT(20 * RND(1)) +9
6160 VTAB Z: HTAB ZZ: PRINT " ";
6170 NEXT ZA
6180 PRINT
6190 FOR X = 1 TO 20: FOR Y = 10 TO 30: VTAB X: HTAB Y: PRINT " ";: NEXT Y: NEXT X
6200 SPEED= 50
6210 VTAB 1: HTAB 1: PRINT "SCORE:"
6220 PRINT : HTAB 5: PRINT "JOSHUA 1"
6230 HTAB 5: PRINT "JERICHO 0"
6240 PRINT : PRINT "========================================"
6250 SPEED= 255
6260 GOSUB 9070
6270 RETURN
7000 REM SODOM AND GOMORRAH
7010 REM
7020 HOME
7030 INVERSE
7040 FOR X = 13 TO 20
7050 VTAB X: HTAB 30: PRINT " "
7060 NEXT X
7070 VTAB 13: HTAB 25: PRINT " SODOM -> "
7080 VTAB 15: HTAB 23: PRINT " GOMORRAH -> "
7090 NORMAL
7100 VTAB 19: PRINT "LOT"
7110 VTAB 18: HTAB 10: PRINT "LOT'S"
7120 VTAB 19: HTAB 10: PRINT "WIFE"
7130 VTAB 21: PRINT "<<< <<<"
7140 GOSUB 260
7150 VTAB 21: PRINT "<<< ? "
7160 GOSUB 260
7170 VTAB 21: PRINT "<<< >>>?"
7180 GOSUB 260
7190 VTAB 21: PRINT " NO "
7200 GOSUB 260
7210 VTAB 21: PRINT " YES"
7220 GOSUB 260
7230 VTAB 21: PRINT "<<< >>>"
7240 GOSUB 260
7250 VTAB 21: PRINT "<<< "
7260 FOR X = 2 TO 19
7270 VTAB X -1: HTAB 10: PRINT " "
7280 VTAB X: HTAB 10: PRINT " !!!! "
7290 GOSUB 220
7300 NEXT X
7310 FOR X = 19 TO 10 STEP -1
7320 VTAB X: HTAB 10: PRINT "=SALT="
7330 GOSUB 220
7340 NEXT X
7350 GOSUB 9070
7360 RETURN
8000 REM JONAH AND THE WHALE
8010 REM
8020 HOME
8030 J$ = "_J_"
8040 P$ = "! !":P2$ = "!___!"
8050 SPEED= 100
8060 PRINT "J O N A H . . ."
8070 PRINT "GO TO NINEVEH."
8080 SPEED= 255
8090 FOR X = 1 TO 40: VTAB 22: PRINT "_";: NEXT X
8100 VTAB 20: HTAB 1: PRINT "NINEVEH"
8110 HTAB 2: PRINT P$: HTAB 2: PRINT P2$
8120 VTAB 20: HTAB 33: PRINT " JOPPA"
8130 VTAB 21: HTAB 34: PRINT P$
8140 VTAB 22: HTAB 34: PRINT P2$
8150 FOR X = 12 TO 9 STEP -1
8160 VTAB 22: HTAB X: PRINT J$
8170 GOSUB 240
8180 NEXT X
8190 GOSUB 260
8200 FOR X = 9 TO 35
8210 VTAB 22: HTAB X: PRINT J$
8220 GOSUB 230
8230 NEXT X
8240 GOSUB 260
8250 HOME : SPEED= 100
8260 PRINT "SEVERAL DAYS LATER...AFTER LEAVING THE PORT OF JOPPA WE FIND JONAH ABOARD SHIP SAILING TO DISTANT LANDS"
8270 SPEED= 255
8280 GOSUB 260: HOME
8290 FOR X = 1 TO 160
8300 VTAB 14: HTAB X: PRINT "C": NEXT
8310 VTAB 14: HTAB 40: PRINT "L";: VTAB 15: HTAB 40: PRINT "A";: VTAB 16: HTAB 40: PRINT "N";: VTAB 17: HTAB 40: PRINT "D"
8320 J$ = " J "
8330 B$ = "======= **SHIP* **SHIP*"
8340 C$ = J$ +B$
8350 FOR X = 4 TO 20
8360 VTAB 10: HTAB X: PRINT C$
8370 GOSUB 240
8380 NEXT X
8390 FOR R = 1 TO 300
8400 R1 = INT(40 * RND(1)) +1
8410 R2 = INT(13 * RND(1)) +1
8420 IF R2 >9 AND (R1 >16 AND R1 <25) THEN 8440
8430 VTAB R2: HTAB R1: PRINT "'";
8440 NEXT R
8450 J$ = " J"
8460 FOR X = 22 TO 25
8470 VTAB 10: HTAB X: PRINT J$
8480 GOSUB 220
8490 NEXT X
8500 FOR X = 10 TO 13
8510 HTAB 25: VTAB X -1: PRINT " ";
8520 HTAB 25: VTAB X: PRINT J$;
8530 GOSUB 220
8540 NEXT X
8545 HTAB 26: VTAB 13: PRINT " ": HTAB 26: PRINT "J";
8550 FOR X = 17 TO 33
8560 VTAB 11: HTAB X -1: PRINT " ";
8570 VTAB 11: HTAB X: PRINT B$
8580 GOSUB 240
8590 NEXT X
8600 HOME
8610 W$ = "WHALE"
8620 J$ = "J"
8630 FOR X = 2 TO 15
8640 VTAB X -1: HTAB 10: PRINT " "
8650 VTAB X: HTAB 10: PRINT J$
8660 GOSUB 220
8670 NEXT X
8680 FOR X = 35 TO 10 STEP -1
8690 VTAB 15: HTAB X: PRINT W$;" "
8700 GOSUB 220
8710 NEXT X
8720 FOR D = 1 TO 3
8730 FOR X = 13 TO 1 STEP -1
8740 VTAB X: HTAB 10: PRINT " "
8750 VTAB X +1: HTAB 10: PRINT " "
8760 GOSUB 220
8770 NEXT X
8780 VTAB 1: HTAB 3: PRINT "DAY NO.";D
8790 GOSUB 260
8800 NEXT D
8810 FOR X = 15 TO 5 STEP -1
8820 VTAB X +1: HTAB 10: PRINT " "
8830 VTAB X: HTAB 10: PRINT W$
8840 GOSUB 220
8850 NEXT X
8860 GOSUB 250
8870 FOR X = 1 TO 40: VTAB 6: PRINT "-";: NEXT X
8880 FOR X = 8 TO 1 STEP -1
8890 VTAB 5: HTAB X: PRINT J$;" ";
8900 GOSUB 250
8910 NEXT X
8920 HOME
8930 PRINT "WELCOME": GOSUB 240
8940 PRINT "TO": GOSUB 240
8950 PRINT "NINEVEH": GOSUB 240
8960 PRINT : GOSUB 240
8970 PRINT "JONAH!": GOSUB 260
8980 GOSUB 9070
8990 RETURN
9000 REM EXIT PROGRAM
9010 REM
9020 HOME
9030 SPEED= 200
9040 PRINT "MAY WE SUGGEST THAT YOU READ THE BIBLE TO GET MORE DETAILED INFORMATION ON SOMEOF THE EVENTS DEPICTED HERE."
9050 SPEED= 255: GOSUB 260: GOSUB 260
9060 TEXT : HOME : END
9070 VTAB 22: INVERSE : PRINT " ********** MIRACLE COMPLETED ********* ": NORMAL
9080 FOR M = 1 TO 5000: NEXT M: TEXT : RETURN