home *** CD-ROM | disk | FTP | other *** search
- 1 IFA=0THENA=1:LOAD"SEQ.M/C",8,1
- 2 IFA=1THENA=2:LOAD"NOTE.M/C",8,1
- 3 IFA=2THENA=3:LOAD"MUSIC.M/C",8,1
- 4 IFA=4THENSYS49239:TY=1:GOTO52
- 10 POKE53280,15:POKE53281,15:PRINT"[147][151]"
- 40 POKE53272,(PEEK(53272)AND240)+12
- 45 PRINT"[147]"
- 50 IFA=3THENA=4:LOAD"MEMORY II",8,1
- 52 V=53248:POKEV+21,0:POKEV+27,0:GOSUB1000
- 54 DIMP(11,11),H(121),V(121)
- 55 PRINT"[147]":PL=1
- 60 PRINT" [176][192][178][192][178][192][178][192][178][192][178][192][178][192][178][192][178][192][178][192][178][192][178][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 70 FORT=1TO10
- 80 PRINT" [221] [221] [221] [221] [221] [221] [221][160][221][160][221][160][221][160][221][160][221] [221]"
- 90 PRINT" [171][192][219][192][219][192][219][192][219][192][219][192][219][192][219][192][219][192][219][192][219][192][179] [221]"
- 100 NEXTT
- 110 PRINT" [221] [221] [221] [221] [221] [221] [221][160][221][160][221][160][221][160][221][160][221] [221]"
- 120 PRINT" [173][192][177][192][177][192][177][192][177][192][177][192][177][192][177][192][177][192][177][192][177][192][177][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 125 C$=""
- 127 GOSUB130
- 129 GOTO210
- 130 PRINT""C$"MEMORY"
- 140 PRINTC$"[183][183][183][183][183][183]"
- 142 PRINTC$"BY"
- 145 PRINTC$"ROBERT"
- 147 PRINTC$"NIELSEN!"
- 149 PRINTC$"(C) 1990"
- 150 PRINTC$"[157][219][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]"
- 155 PRINTC$"SCORES ARE"
- 160 PRINTC$""P$(1)":"S(1)
- 170 PRINTC$""P$(2)":"S(2)
- 180 PRINTC$"[157][219][192][192][174] [176][192][192][192][192][192][192][179]"
- 190 PRINTC$PL"[157][221] [221]DRAGON"
- 200 PRINTC$"[177][177]"
- 201 PRINT"[166]"
- 205 RETURN
- 210 DATA0,127,255,0,63,255,0,31,255,0,15,255,0,7,255,0,3,255,0,1,255,0,3,255,0,7
- 220 DATA255,0,15,191,0,31,31,0,62,15,0,124,7,0,248,3,1,240,1,3,224,0,7,192,0,15
- 230 DATA128,0,31,0,0,14,0,0,4,0,0
- 240 RESTORE:FORN=0TO62:READB:POKE9920+N,B:NEXTN
- 245 V=53248
- 250 POKE2040,155:POKEV,20:POKEV+1,70:POKEV+39,1:POKEV+21,1
- 252 FORGH=1TO11:FORHG=1TO11:P(GH,HG)=0:NEXTHG:NEXTGH
- 255 F=59:FL=1:P(1,1)=42
- 260 FORT=1TO120:FL=FL+1:IFFL=4THENFL=0:F=F+1
- 270 IFF=64THENF=97
- 280 IFF=123THEN300
- 285 X=INT(RND(0)*11)+1:Y=INT(RND(0)*11)+1
- 287 IFP(X,Y)<>0THEN285
- 290 P(X,Y)=F:H(T)=X:V(T)=Y
- 295 PRINT"";-T+120;"[157] ":NEXTT:PRINT" "
- 300 J=15-(PEEK(56320)AND15)
- 310 IFJ=1ANDPEEK(V+1)>70THENPOKEV+1,PEEK(V+1)-16
- 320 IFJ=2ANDPEEK(V+1)<230THENPOKEV+1,PEEK(V+1)+16
- 330 IFJ=4ANDPEEK(V)>20THENPOKEV,PEEK(V)-16
- 340 IFJ=8ANDPEEK(V)<180THENPOKEV,PEEK(V)+16
- 350 IF(PEEK(56320)AND16)=0THEN370
- 355 GETA$:IFA$="[133]"THEN700
- 356 IFA$="Q"THEN480
- 357 IFA$="M"ANDTY=1THENSYS49209:TY=0:GOTO300
- 358 IFA$="M"ANDTY=0THENSYS49239:TY=1
- 360 GOTO300
- 370 H1(PO)=((PEEK(V)-20)/16)*2+2:V1(PO)=((PEEK(V+1)-70)/16)*2+2
- 375 H2(PO)=(PEEK(V)-20)/16+1:V2(PO)=(PEEK(V+1)-70)/16+1
- 376 IFP(H2(PO),V2(PO))=42THEN300
- 380 PRINT"";:FORT=1TOH1(PO):PRINT"";:NEXTT:FORT=1TOV1(PO):PRINT"";:NEXTT
- 385 PRINT"[129]";CHR$(P(H2(PO),V2(PO)))"[151]"
- 386 IFPO=1THENCQ=P(H2(1),V2(1)):GOTO400
- 387 CV=P(H2(0),V2(0))
- 390 POKEV+39,12:PO=1
- 395 GOTO300
- 400 IFCQ=CVANDV2(0)<>V2(1)THEN430
- 402 IFCQ=CVANDH2(0)<>H2(1)THEN430
- 403 IFCQ=CVTHENPO=1:GOTO300
- 404 FORG=1TO500:NEXTG
- 405 FORM=0TO1
- 410 PRINT"";:FORT=1TOH1(M):PRINT"";:NEXTT:FORT=1TOV1(M):PRINT"";:NEXTT:PRINT" "
- 420 NEXTM:POKEV+39,1:PO=0
- 425 IFPL=1THENPL=2:GOTO428
- 426 IFPL=2THENPL=1
- 428 GOSUB130:GOTO300
- 430 FORT=1TO128:POKE53280,PEEK(53280)-240+T:NEXTT:S(PL)=S(PL)+10
- 440 IFCQ=122THENS(PL)=S(PL)+10
- 445 IFCQ=59THENS(PL)=S(PL)+20
- 450 GOSUB130:POKEV+39,1:PO=0
- 454 FORR=0TO1
- 455 PRINT"";:FORT=1TOH1(R):PRINT"";:NEXTT:FORT=1TOV1(R):PRINT"";:NEXTT
- 456 PRINTCHR$(P(H2(R),V2(R))):NEXTR
- 460 P(H2(0),V2(0))=42:P(H2(1),V2(1))=42
- 470 FORT=1TO11:FORM=1TO11:IFP(T,M)<>42THEN300
- 475 NEXTM:NEXTT
- 480 POKEV+21,0
- 490 PRINT"[147]"
- 500 PRINTSPC(17)"MEMORY"
- 510 PRINTSPC(17)"[183][183][183][183][183][183]"
- 520 PRINT" THE GAME HAS FINISHED AND THE"
- 530 PRINT" WINNER IS ......."
- 540 IFS(2)>S(1)THEN560
- 550 PRINT" "P$(1)"!!!!!!!!!":WI(1)=W(1)+1
- 555 PRINT" WITH"S(1)" POINTS.":GOTO570
- 560 PRINT" "P$(2)"!!!!!!!!!":WI(2)=W(2)+1
- 565 PRINT" WITH"S(2)" POINTS."
- 570 PRINT" ANOTHER GAME?(Y/N)"
- 580 GETA$:IFA$=""THEN580
- 590 IFA$="Y"THENRUN52
- 600 IFA$="N"THENPRINT"[147]BYE BYE.":SYS49209:END
- 610 GOTO580
- 700 IFPEEK(V+27)=0THENPOKEV+27,1:GOTO300
- 710 POKEV+27,0:GOTO300
- 998 PRINT"[145][145][145][145][145][145][145][145][145][145]"
- 999 GOTO999
- 1000 PRINT"[147]"
- 1010 PRINTSPC(17)"MEMORY"
- 1020 PRINTSPC(17)"[183][183][183][183][183][183]"
- 1030 PRINT" THIS IS A GAME OF MEMORY. USE"
- 1040 PRINT" THE JOYSTICK IN PORT 2 TO SELECT"
- 1050 PRINT" A SQUARE BY PRESSING FIRE, MOVING"
- 1060 PRINT" TO ANOTHER SQUARE AND PRESSING"
- 1070 PRINT" FIRE AGAIN. IF THE TWO SYMBOLS"
- 1080 PRINT" SYMBOLS MATCH YOU WIN 10 POINTS."
- 1090 PRINT" IF THE SYMBOLS ARE '[218]' YOU GET"
- 1100 PRINT" 20 POINTS AND IF THEY ARE ';' YOU"
- 1110 PRINT" GET 30 POINTS. GAME ENDS WHEN ALL"
- 1120 PRINT" THE SQUARES HAVE BEEN UNCOVERED"
- 1122 PRINT" OR 'Q' (QUIT) IS PRESSED.
- 1125 [153]" 'F1' MAY BE PRESSED TO CHANGE BACK-"
- 1127 [153]" GROUND PRIORITY AND 'M' FOR MUSIC."
- 1130 [153]" PLEASE ENTER YOUR NAMES NOW."
- 1140 [133]" PLAYER 1:";P$(1)
- 1150 [139][195](P$(1))[177]11[167][153]"ONON":[137]1140
- 1160 [133]" PLAYER 2:";P$(2)
- 1170 [139][195](P$(2))[177]11[167][153]"ONON":[137]1160
- 1180 [142]
-