Home » Personal collection » Commodore tapes » Commodore_16 » drawer_br_tape10b_d46_c16_ghost_maze.wav » g(error)
g(error)
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Commodore tapes » Commodore_16 » drawer_br_tape10b_d46_c16_ghost_maze.wav |
Filename: | g(error) |
Read OK: | ✔ |
File size: | 04D8 bytes |
Load address: | 1001 |
Exec address: | 0000 |
File contents
10 SCNCLR 20 COLOR 0,1:COLOR 1,2:COLOR 4,3,3 30 GRAPHIC 2,1 40 CHAR 1,0,0,"*******" 50 CHAR 1,0,1,"* YW *" 60 CHAR 1,0,2,"* WWW *" 70 CHAR 1,0,3,"* G *" 80 CHAR 1,0,4,"* W W *" 90 CHAR 1,0,5,"* WWWF*" 100 CHAR1,0,6,"*******" 110 Y1=2:Y2=1:G11=3:G12=3 120 INPUT"UP"; U$:IF LEN(U$)>1 THEN 120 130 INPUT"DOWN"; D$:IF LEN(D$)>1 THEN 130 140 INPUT"LEFT"; L$:IF LEN(L$)>1 THEN 140 150 INPUT"RIGHT"; R$:IF LEN(R$)>1 THEN 150 160 READ MN 170 IF MN=0 THEN G11=G11+1 180 IF MN=1 THEN G11=G11-1 190 IF MN=2 THEN G12=G12-1 200 IF MN=3 THEN G12=G12+1 210 GET A$:IF MN=4 THEN RESTORE 450 220 IF A$=U$ THEN Y1=Y1-1 230 IF A$=D$ THEN Y1=Y1+1 240 IF A$=L$ THEN Y2=Y2-1 250 IF A$=R$ THEN Y2=Y2+1 260 IF Y1<1 THEN Y1=1 270 IF Y1>5 THEN Y1=5 280 IF Y2<1 THEN Y2=1 290 IF Y2>5 THEN Y2=5 300 IF Y1=3 AND Y2=1 THEN IF A$=L$ THEN Y1=1 ELSE Y1=4 310 IF Y1=2 OR Y1=3 OR Y1=4 AND Y2=2 THEN 320 ELSE 360 320 IF A$=U$ THEN Y1=Y1+1 330 IF A$=D$ THEN Y1=Y1-1 340 IF A$=L$ THEN Y2=Y2+1 350 IF A$=R$ THEN Y2=Y2-1 360 IF L1=G11 AND L2=G12 THEN L=L-1:IF L=0 THEN PRINT"GAME OVER":END ELSE GOTO 2 370 IF L1=2 OR L1=4 AND L2=4 THEN 380 ELSE 430 380 IF A$=U$ THEN Y1=Y1+1 390 IF A$=D$ THEN Y1=Y1-1 400 IF A$=L$ THEN Y2=Y2+1 410 IF A$=R$ THEN Y2=Y2-1 420 IF L1=2 OR L1=3 OR L1=4 THEN 380 430 IF L1=5 AND L2=5 THEN LOAD"L2" 431 CHAR 1,1,1," W " 432 CHAR 1,1,2," WWW " 433 CHAR 1,1,3," " 434 CHAR 1,1,4," W W " 435 CHAR 1,1,5," WWWF" 436 CHAR 1,Y1,Y2,"Y" 437 CHAR 1,G11,G12,"G" 440 GOTO 160 450 DATA 1,0,1,0,1,0,1,0,1,0,1,3,3,2,3,2,2,0,4
� � 0,1:� 1,2:� 4,3,3 ) � 2,1 ?( � 1,0,0,"*******"