Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF » ALIEN
ALIEN
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 » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF |
Filename: | ALIEN |
Read OK: | ✔ |
File size: | 0E7D bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
Duplicates
There are 2 duplicate copies of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-40_D-EUG40.dsd » G.BLACKHO
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF » ALIEN
- Personal collection » Acorn hard disk » zipped_disks » elk03 » eug40/ALIEN
File contents
50ONERRORGOTO230 60*FX9,75 70*FX10,75 80MODE1:VDU23;8202;0;0;0; 90DIMA(25),H(25),V(25),PLACE(25) 100X=RND(-TIME):*FX11,0 110PROCINIT:PROCHEADER 120REPEAT 130MODE2:VDU23;8202;0;0;0; 140PROCSETUP:A=1:D=0:SC=0 150REPEAT 160COLOURA(A) 170I=0:*FX15,0 180PROCPLAY 190IFA=25THEND=5ELSEA=A+1 200UNTILD<>0 210PROCFIN(D) 220UNTILFIN% 230CLEAR:VDU7:MODE6:*FX12,0 240*FX9,25 250*FX10,25 260END 270: 280DEFPROCINIT 290VDU23,224,&18,&04,&07,&0D,&0F,&06,&02,&02 300VDU23,225,&18,&20,&E0,&B0,&F0,&60,&40,&40 310VDU23,226,&FF,&FF,&FF,&FF,&FF,&FF,&FF,&FF 320VDU23,227,&FF,&FE,&FC,&F8,&F0,&E0,0,0 330VDU23,228,0,0,&07,&0F,&1F,&3F,&7F,&FF 340VDU23,229,0,0,&E0,&F0,&F8,&FC,&FE,&FF 350VDU23,230,&FF,&7F,&3F,&1F,&0F,&07,0,0 360HOLE$=CHR$230+CHR$227+CHR$11+CHR$8+CHR$8+CHR$226+CHR$226+CHR$11+CHR$8+CHR$8+CHR$228+CHR$229+CHR$10+CHR$10 370MAN$=CHR$224+CHR$225:FIN%=FALSE 380ENDPROC 390: 400DEFPROCHEADER 410COLOUR0:COLOUR135:CLS 420PRINTTAB(4,7);"BLACK-HOLES";TAB(8,9)"BY";TAB(26,7);"FREDA";TAB(26,9)"PERROW":VDU5:GCOL0,1 430Y$=STRING$(37,".") 440FORX=1TO37:MOVEX*32,(300*SIN(X/6))/2+800:PRINTMID$(Y$,X,1):SOUND1,-X/2,50+X*3,1:NEXT:VDU4:*FX15,0 450FORI=22TO38STEP6:SOUND0,-15,4,1:PRINTTAB(I,4)HOLE$:PROCWAIT(1):NEXT 460PROCWAIT(1) 470FORI=2TO18STEP6:SOUND0,-15,4,1:PRINTTAB(I,12)HOLE$:PROCWAIT(1):NEXT 480PRINTTAB(0,16)"As the aliens appear at the bottom of the screen they must be caught and put in the black holes. The first four mustbe placed in the corners, that is in holes A,J,P and Y. After this you must" 490PRINT"put them along side each other, in any direction. The problem is that no two adjacent aliens can be the same colour." 500PRINT"Nor can you put one out on its own. Seehow many you can catch, but don't let one escape as it will rescue the others!"; 505PRINT"To place an alien in a hole press the corresponding key" 510COLOUR2 520PRINTTAB(8,30)"PRESS ANY KEY TO START" 530S$=GET$ 540CLG 550ENDPROC 560: 570DEFPROCSHUFFLE 580FORL%=0TO4:FORJ%=1TO5 590A(L%*5+J%)=L%+1:NEXT:NEXT 600FORL%=1TO100 610A%=RND(25):B%=RND(25) 620T%=A(A%):A(A%)=A(B%):A(B%)=T% 630NEXT 640ENDPROC 650: 660DEFPROCSETUP 670COLOUR134:CLS:RESTORE 680FORI=1TO25:READH(I),V(I) 690COLOUR0:COLOUR134 700PRINTTAB(H(I),V(I))HOLE$ 710COLOUR15:COLOUR128 720PRINTTAB(H(I),V(I)-1)CHR$(64+I) 730PLACE(I)=0 740NEXT 750COLOUR134:PROCSHUFFLE 760ENDPROC 770DATA 9,3,6,6,9,6,12,6,3,9,6,9,9,9,12,9,15,9,0,12,3,12,6,12,9,12,12,12,15,12,18,12 780DATA 3,15,6,15,9,15,12,15,15,15,6,18,9,18,12,18,9,21 790: 800DEFPROCPLAY 810REPEAT 820REPEAT 830PROCMAN:IFD<>0THENUNTILTRUE:UNTILTRUE:ENDPROC 840COLOUR7:PRINTTAB(1,22)"WHICH"TAB(1,24)"BLACK-HOLE - ? " 850*FX 15,0 860X=INKEY(150) 870UNTILX>64ANDX<90 880PRINTTAB(14,24);CHR$X'TAB(1,28)SPC(18)'TAB(1,30)SPC(18):VDU7 890IFA<5ANDX<>65ANDX<>74ANDX<>80ANDX<>89THENCOLOUR11:PRINTTAB(2,28)"A,J,P or Y first":SOUND1,-15,150,12:UNTILFALSE 900X=X-64 910IFPLACE(X)<>0THENCOLOUR11:PRINTTAB(1,28);"OCCUPIED":VDU7 920UNTILPLACE(X)=0 930PROCPLACE:PLACE(X)=A(A) 940ENDPROC 950: 960DEFPROCMAN 970I=I+1 980COLOURA(A) 990SOUND0,-10,4,1 1000PRINTTAB(I,30);" ";MAN$ 1010IFI>15THENPROCCAUGHT 1020ENDPROC 1030: 1040DEFPROCCAUGHT 1050*FX9,10 1060*FX10,10 1070FORI%=1TO25 1080COLOURI%:PRINTTAB(17,30)MAN$ 1090SOUND1,-12,I%*10,1 1100PRINTTAB(0,30)"HA!HA! I'M FREE!" 1110NEXT:SC=A-1:D=1 1120ENDPROC 1130: 1140DEFPROCPLACE 1150PRINTTAB(0,30)SPC(19) 1160COLOURA(A):COLOUR128 1170PRINTTAB(H(X),V(X)-1)MAN$ 1180IFA>4THENPROCMATE 1190PROCWAIT(10) 1200COLOUR134 1210ENDPROC 1220: 1230DEFPROCMATE 1240H=H(X)+1:V=V(X):NL=0 1250X1=64*H+10:Y1=1024-(32*V) 1260P=POINT(X1,Y1):NL=0 1270HH=H:VV=V 1280FORI%=-3TO3STEP3 1290FORJ%=-3TO3STEP6 1300H=H+I%:V=V+J% 1310X1=64*H+10:Y1=1024-(32*V) 1320IFP=POINT(X1,Y1)THENSC=A:D=3ELSEIFPOINT(X1,Y1)<>0ANDPOINT(X1,Y1)<>6THENNL=1 1330H=HH:V=VV:NEXT:NEXT 1340IFD<>0ENDPROC 1350FORI%=-3TO3STEP6 1360H=H+I% 1370X1=64*H+10:Y1=1024-(32*V) 1380IFP=POINT(X1,Y1)THENSC=A:D=3:ENDPROCELSEIFPOINT(X1,Y1)<>0ANDPOINT(X1,Y1)<>6THENNL=1 1390H=HH:V=VV:NEXT 1400IFD<>0ENDPROC 1410IFNL=0THENSC=A:D=4 1420ENDPROC 1430: 1440DEFPROCFIN(D) 1450IFD=5THENSOUND1,-15,150,10ELSESOUND1,-15,25,10 1460VDU28,0,31,19,22 1470COLOUR129+D:CLS 1480COLOUR7:PRINT"GAME OVER"; 1490IFD=5PRINT"-Well done."'"All the aliens"'"are safe and sound!"ELSEIFD=1PRINT" - OOPS!"'"One of the aliens"'"escaped and rescued"'" the rest!" 1500IFD=3PRINT"-You placed aliens of the same colour next to each other."'"They'll fight!"ELSEIFD=4PRINT" - Aliens"'"need mates to exist"'" and sustain life"'" Spoil-sport!!" 1510IFSC>0THENPRINT"You caught ";SC; 1520IFSC=1THENPRINT" alien"ELSEIFSC>1PRINT" aliens" 1540*FX 15,0 1550PRINT"ANOTHER GAME?" 1560REPEAT:A$=GET$:UNTILA$="Y"ORA$="N" 1570IFA$="N"THENFIN%=TRUE 1580ENDPROC 1590: 1600DEFPROCWAIT(S) 1610W=TIME:REPEATUNTILTIME-W>S*10 1620ENDPROC
2��df@ <*FX9,75 F*FX10,75 P�1:�23;8202;0;0;0; Z �A(25),H(25),V(25),PLACE(25) dX=�(-�):*FX11,0 n�INIT:�HEADER x� ��2:�23;8202;0;0;0; ��SETUP:A=1:D=0:SC=0 �� � �A(A) �I=0:*FX15,0 � �PLAY ��A=25�D=5�A=A+1 � �D<>0 ��FIN(D) � �FIN% ��:�7:�6:*FX12,0 �*FX9,25 �*FX10,25 � : ��INIT "+�23,224,&18,&04,&07,&0D,&0F,&06,&02,&02 ,+�23,225,&18,&20,&E0,&B0,&F0,&60,&40,&40 6+�23,226,&FF,&FF,&FF,&FF,&FF,&FF,&FF,&FF @'�23,227,&FF,&FE,&FC,&F8,&F0,&E0,0,0 J'�23,228,0,0,&07,&0F,&1F,&3F,&7F,&FF T'�23,229,0,0,&E0,&F0,&F8,&FC,&FE,&FF ^'�23,230,&FF,&7F,&3F,&1F,&0F,&07,0,0 hCHOLE$=�230+�227+�11+�8+�8+�226+�226+�11+�8+�8+�228+�229+�10+�10 rMAN$=�224+�225:FIN%=� |� �: ���HEADER � �0:�135:� �H�4,7);"BLACK-HOLES";�8,9)"BY";�26,7);"FREDA";�26,9)"PERROW":�5:�0,1 �Y$=�37,".") �L�X=1�37:�X*32,(300*�(X/6))/2+800:�Y$,X,1):�1,-X/2,50+X*3,1:�:�4:*FX15,0 �0�I=22�38�6:�0,-15,4,1:�I,4)HOLE$:�WAIT(1):� ��WAIT(1) �0�I=2�18�6:�0,-15,4,1:�I,12)HOLE$:�WAIT(1):� ���0,16)"As the aliens appear at the bottom of the screen they must be caught and put in the black holes. The first four mustbe placed in the corners, that is in holes A,J,P and Y. After this you must" �~�"put them along side each other, in any direction. The problem is that no two adjacent aliens can be the same colour." ��"Nor can you put one out on its own. Seehow many you can catch, but don't let one escape as it will rescue the others!"; �@�"To place an alien in a hole press the corresponding key" ��2 #�8,30)"PRESS ANY KEY TO START" S$=� � &� 0: : ��SHUFFLE D�L%=0�4:�J%=1�5 NA(L%*5+J%)=L%+1:�:� X �L%=1�100 bA%=�(25):B%=�(25) l!T%=A(A%):A(A%)=A(B%):A(B%)=T% v� �� �: ���SETUP ��134:�:� ��I=1�25:�H(I),V(I) ��0:�134 ��H(I),V(I))HOLE$ ��15:�128 ��H(I),V(I)-1)�(64+I) �PLACE(I)=0 �� ��134:�SHUFFLE �� R� 9,3,6,6,9,6,12,6,3,9,6,9,9,9,12,9,15,9,0,12,3,12,6,12,9,12,12,12,15,12,18,12 5� 3,15,6,15,9,15,12,15,15,15,6,18,9,18,12,18,9,21 : ��PLAY *� 4� >�MAN:�D<>0���:��:� H,�7:�1,22)"WHICH"�1,24)"BLACK-HOLE - ? " R*FX 15,0 \X=�(150) f�X>64�X<90 p*�14,24);�X'�1,28)�(18)'�1,30)�(18):�7 zO�A<5�X<>65�X<>74�X<>80�X<>89��11:�2,28)"A,J,P or Y first":�1,-15,150,12:�� � X=X-64 �*�PLACE(X)<>0��11:�1,28);"OCCUPIED":�7 ��PLACE(X)=0 ��PLACE:PLACE(X)=A(A) �� �: � ��MAN � I=I+1 � �A(A) ��0,-10,4,1 ��I,30);" ";MAN$ ��I>15��CAUGHT �� : ��CAUGHT *FX9,10 $*FX10,10 .�I%=1�25 8�I%:�17,30)MAN$ B�1,-12,I%*10,1 L�0,30)"HA!HA! I'M FREE!" V�:SC=A-1:D=1 `� j: t��PLACE ~�0,30)�(19) ��A(A):�128 ��H(X),V(X)-1)MAN$ ��A>4��MATE � �WAIT(10) ��134 �� �: � ��MATE �H=H(X)+1:V=V(X):NL=0 �X1=64*H+10:Y1=1024-(32*V) �P=�X1,Y1):NL=0 � HH=H:VV=V �I%=-3�3�3 �J%=-3�3�6 H=H+I%:V=V+J% X1=64*H+10:Y1=1024-(32*V) (3�P=�X1,Y1)�SC=A:D=3��X1,Y1)<>0��X1,Y1)<>6�NL=1 2H=HH:V=VV:�:� < �D<>0� F�I%=-3�3�6 P H=H+I% ZX1=64*H+10:Y1=1024-(32*V) d5�P=�X1,Y1)�SC=A:D=3:��X1,Y1)<>0��X1,Y1)<>6�NL=1 nH=HH:V=VV:� x �D<>0� ��NL=0�SC=A:D=4 �� �: ���FIN(D) �#�D=5��1,-15,150,10��1,-15,25,10 ��28,0,31,19,22 ��129+D:� ��7:�"GAME OVER"; Ҏ�D=5�"-Well done."'"All the aliens"'"are safe and sound!"��D=1�" - OOPS!"'"One of the aliens"'"escaped and rescued"'" the rest!" ܦ�D=3�"-You placed aliens of the same colour next to each other."'"They'll fight!"��D=4�" - Aliens"'"need mates to exist"'" and sustain life"'" Spoil-sport!!" ��SC>0��"You caught ";SC; �#�SC=1��" alien"��SC>1�" aliens" *FX 15,0 �"ANOTHER GAME?" �:A$=�:�A$="Y"�A$="N" "�A$="N"�FIN%=� ,� 6: @ ��WAIT(S) JW=�:���-W>S*10 T� �
00000000 0d 00 32 0b ee 85 e5 8d 64 66 40 0d 00 3c 0b 2a |..2.....df@..<.*| 00000010 46 58 39 2c 37 35 0d 00 46 0c 2a 46 58 31 30 2c |FX9,75..F.*FX10,| 00000020 37 35 0d 00 50 16 eb 31 3a ef 32 33 3b 38 32 30 |75..P..1:.23;820| 00000030 32 3b 30 3b 30 3b 30 3b 0d 00 5a 20 de 41 28 32 |2;0;0;0;..Z .A(2| 00000040 35 29 2c 48 28 32 35 29 2c 56 28 32 35 29 2c 50 |5),H(25),V(25),P| 00000050 4c 41 43 45 28 32 35 29 0d 00 64 13 58 3d b3 28 |LACE(25)..d.X=.(| 00000060 2d 91 29 3a 2a 46 58 31 31 2c 30 0d 00 6e 11 f2 |-.):*FX11,0..n..| 00000070 49 4e 49 54 3a f2 48 45 41 44 45 52 0d 00 78 05 |INIT:.HEADER..x.| 00000080 f5 0d 00 82 16 eb 32 3a ef 32 33 3b 38 32 30 32 |......2:.23;8202| 00000090 3b 30 3b 30 3b 30 3b 0d 00 8c 17 f2 53 45 54 55 |;0;0;0;.....SETU| 000000a0 50 3a 41 3d 31 3a 44 3d 30 3a 53 43 3d 30 0d 00 |P:A=1:D=0:SC=0..| 000000b0 96 05 f5 0d 00 a0 09 fb 41 28 41 29 0d 00 aa 0f |........A(A)....| 000000c0 49 3d 30 3a 2a 46 58 31 35 2c 30 0d 00 b4 09 f2 |I=0:*FX15,0.....| 000000d0 50 4c 41 59 0d 00 be 13 e7 41 3d 32 35 8c 44 3d |PLAY.....A=25.D=| 000000e0 35 8b 41 3d 41 2b 31 0d 00 c8 09 fd 44 3c 3e 30 |5.A=A+1.....D<>0| 000000f0 0d 00 d2 0b f2 46 49 4e 28 44 29 0d 00 dc 09 fd |.....FIN(D).....| 00000100 46 49 4e 25 0d 00 e6 13 d8 3a ef 37 3a eb 36 3a |FIN%.....:.7:.6:| 00000110 2a 46 58 31 32 2c 30 0d 00 f0 0b 2a 46 58 39 2c |*FX12,0....*FX9,| 00000120 32 35 0d 00 fa 0c 2a 46 58 31 30 2c 32 35 0d 01 |25....*FX10,25..| 00000130 04 05 e0 0d 01 0e 05 3a 0d 01 18 0a dd f2 49 4e |.......:......IN| 00000140 49 54 0d 01 22 2b ef 32 33 2c 32 32 34 2c 26 31 |IT.."+.23,224,&1| 00000150 38 2c 26 30 34 2c 26 30 37 2c 26 30 44 2c 26 30 |8,&04,&07,&0D,&0| 00000160 46 2c 26 30 36 2c 26 30 32 2c 26 30 32 0d 01 2c |F,&06,&02,&02..,| 00000170 2b ef 32 33 2c 32 32 35 2c 26 31 38 2c 26 32 30 |+.23,225,&18,&20| 00000180 2c 26 45 30 2c 26 42 30 2c 26 46 30 2c 26 36 30 |,&E0,&B0,&F0,&60| 00000190 2c 26 34 30 2c 26 34 30 0d 01 36 2b ef 32 33 2c |,&40,&40..6+.23,| 000001a0 32 32 36 2c 26 46 46 2c 26 46 46 2c 26 46 46 2c |226,&FF,&FF,&FF,| 000001b0 26 46 46 2c 26 46 46 2c 26 46 46 2c 26 46 46 2c |&FF,&FF,&FF,&FF,| 000001c0 26 46 46 0d 01 40 27 ef 32 33 2c 32 32 37 2c 26 |&FF..@'.23,227,&| 000001d0 46 46 2c 26 46 45 2c 26 46 43 2c 26 46 38 2c 26 |FF,&FE,&FC,&F8,&| 000001e0 46 30 2c 26 45 30 2c 30 2c 30 0d 01 4a 27 ef 32 |F0,&E0,0,0..J'.2| 000001f0 33 2c 32 32 38 2c 30 2c 30 2c 26 30 37 2c 26 30 |3,228,0,0,&07,&0| 00000200 46 2c 26 31 46 2c 26 33 46 2c 26 37 46 2c 26 46 |F,&1F,&3F,&7F,&F| 00000210 46 0d 01 54 27 ef 32 33 2c 32 32 39 2c 30 2c 30 |F..T'.23,229,0,0| 00000220 2c 26 45 30 2c 26 46 30 2c 26 46 38 2c 26 46 43 |,&E0,&F0,&F8,&FC| 00000230 2c 26 46 45 2c 26 46 46 0d 01 5e 27 ef 32 33 2c |,&FE,&FF..^'.23,| 00000240 32 33 30 2c 26 46 46 2c 26 37 46 2c 26 33 46 2c |230,&FF,&7F,&3F,| 00000250 26 31 46 2c 26 30 46 2c 26 30 37 2c 30 2c 30 0d |&1F,&0F,&07,0,0.| 00000260 01 68 43 48 4f 4c 45 24 3d bd 32 33 30 2b bd 32 |.hCHOLE$=.230+.2| 00000270 32 37 2b bd 31 31 2b bd 38 2b bd 38 2b bd 32 32 |27+.11+.8+.8+.22| 00000280 36 2b bd 32 32 36 2b bd 31 31 2b bd 38 2b bd 38 |6+.226+.11+.8+.8| 00000290 2b bd 32 32 38 2b bd 32 32 39 2b bd 31 30 2b bd |+.228+.229+.10+.| 000002a0 31 30 0d 01 72 19 4d 41 4e 24 3d bd 32 32 34 2b |10..r.MAN$=.224+| 000002b0 bd 32 32 35 3a 46 49 4e 25 3d a3 0d 01 7c 05 e1 |.225:FIN%=...|..| 000002c0 0d 01 86 05 3a 0d 01 90 0c dd f2 48 45 41 44 45 |....:......HEADE| 000002d0 52 0d 01 9a 0d fb 30 3a fb 31 33 35 3a db 0d 01 |R.....0:.135:...| 000002e0 a4 48 f1 8a 34 2c 37 29 3b 22 42 4c 41 43 4b 2d |.H..4,7);"BLACK-| 000002f0 48 4f 4c 45 53 22 3b 8a 38 2c 39 29 22 42 59 22 |HOLES";.8,9)"BY"| 00000300 3b 8a 32 36 2c 37 29 3b 22 46 52 45 44 41 22 3b |;.26,7);"FREDA";| 00000310 8a 32 36 2c 39 29 22 50 45 52 52 4f 57 22 3a ef |.26,9)"PERROW":.| 00000320 35 3a e6 30 2c 31 0d 01 ae 0f 59 24 3d c4 33 37 |5:.0,1....Y$=.37| 00000330 2c 22 2e 22 29 0d 01 b8 4c e3 58 3d 31 b8 33 37 |,".")...L.X=1.37| 00000340 3a ec 58 2a 33 32 2c 28 33 30 30 2a b5 28 58 2f |:.X*32,(300*.(X/| 00000350 36 29 29 2f 32 2b 38 30 30 3a f1 c1 59 24 2c 58 |6))/2+800:..Y$,X| 00000360 2c 31 29 3a d4 31 2c 2d 58 2f 32 2c 35 30 2b 58 |,1):.1,-X/2,50+X| 00000370 2a 33 2c 31 3a ed 3a ef 34 3a 2a 46 58 31 35 2c |*3,1:.:.4:*FX15,| 00000380 30 0d 01 c2 30 e3 49 3d 32 32 b8 33 38 88 36 3a |0...0.I=22.38.6:| 00000390 d4 30 2c 2d 31 35 2c 34 2c 31 3a f1 8a 49 2c 34 |.0,-15,4,1:..I,4| 000003a0 29 48 4f 4c 45 24 3a f2 57 41 49 54 28 31 29 3a |)HOLE$:.WAIT(1):| 000003b0 ed 0d 01 cc 0c f2 57 41 49 54 28 31 29 0d 01 d6 |......WAIT(1)...| 000003c0 30 e3 49 3d 32 b8 31 38 88 36 3a d4 30 2c 2d 31 |0.I=2.18.6:.0,-1| 000003d0 35 2c 34 2c 31 3a f1 8a 49 2c 31 32 29 48 4f 4c |5,4,1:..I,12)HOL| 000003e0 45 24 3a f2 57 41 49 54 28 31 29 3a ed 0d 01 e0 |E$:.WAIT(1):....| 000003f0 d4 f1 8a 30 2c 31 36 29 22 41 73 20 74 68 65 20 |...0,16)"As the | 00000400 61 6c 69 65 6e 73 20 61 70 70 65 61 72 20 61 74 |aliens appear at| 00000410 20 74 68 65 20 62 6f 74 74 6f 6d 20 6f 66 20 20 | the bottom of | 00000420 20 74 68 65 20 73 63 72 65 65 6e 20 74 68 65 79 | the screen they| 00000430 20 6d 75 73 74 20 62 65 20 63 61 75 67 68 74 20 | must be caught | 00000440 61 6e 64 20 70 75 74 20 20 69 6e 20 74 68 65 20 |and put in the | 00000450 62 6c 61 63 6b 20 20 68 6f 6c 65 73 2e 20 54 68 |black holes. Th| 00000460 65 20 66 69 72 73 74 20 66 6f 75 72 20 6d 75 73 |e first four mus| 00000470 74 62 65 20 70 6c 61 63 65 64 20 69 6e 20 74 68 |tbe placed in th| 00000480 65 20 63 6f 72 6e 65 72 73 2c 20 74 68 61 74 20 |e corners, that | 00000490 69 73 20 69 6e 20 20 20 20 68 6f 6c 65 73 20 41 |is in holes A| 000004a0 2c 4a 2c 50 20 61 6e 64 20 59 2e 20 41 66 74 65 |,J,P and Y. Afte| 000004b0 72 20 74 68 69 73 20 20 79 6f 75 20 6d 75 73 74 |r this you must| 000004c0 22 0d 01 ea 7e f1 22 70 75 74 20 74 68 65 6d 20 |"...~."put them | 000004d0 61 6c 6f 6e 67 20 73 69 64 65 20 65 61 63 68 20 |along side each | 000004e0 6f 74 68 65 72 2c 20 69 6e 20 61 6e 79 20 20 64 |other, in any d| 000004f0 69 72 65 63 74 69 6f 6e 2e 20 54 68 65 20 70 72 |irection. The pr| 00000500 6f 62 6c 65 6d 20 69 73 20 74 68 61 74 20 6e 6f |oblem is that no| 00000510 20 74 77 6f 20 20 20 61 64 6a 61 63 65 6e 74 20 | two adjacent | 00000520 61 6c 69 65 6e 73 20 63 61 6e 20 62 65 20 74 68 |aliens can be th| 00000530 65 20 73 61 6d 65 20 63 6f 6c 6f 75 72 2e 22 0d |e same colour.".| 00000540 01 f4 80 f1 22 4e 6f 72 20 63 61 6e 20 79 6f 75 |...."Nor can you| 00000550 20 70 75 74 20 20 6f 6e 65 20 6f 75 74 20 6f 6e | put one out on| 00000560 20 69 74 73 20 6f 77 6e 2e 20 53 65 65 68 6f 77 | its own. Seehow| 00000570 20 6d 61 6e 79 20 79 6f 75 20 63 61 6e 20 63 61 | many you can ca| 00000580 74 63 68 2c 20 62 75 74 20 64 6f 6e 27 74 20 6c |tch, but don't l| 00000590 65 74 20 20 20 6f 6e 65 20 65 73 63 61 70 65 20 |et one escape | 000005a0 61 73 20 69 74 20 77 69 6c 6c 20 72 65 73 63 75 |as it will rescu| 000005b0 65 20 74 68 65 20 6f 74 68 65 72 73 21 22 3b 0d |e the others!";.| 000005c0 01 f9 40 f1 22 54 6f 20 70 6c 61 63 65 20 61 6e |..@."To place an| 000005d0 20 61 6c 69 65 6e 20 69 6e 20 61 20 68 6f 6c 65 | alien in a hole| 000005e0 20 70 72 65 73 73 20 74 68 65 20 20 20 63 6f 72 | press the cor| 000005f0 72 65 73 70 6f 6e 64 69 6e 67 20 6b 65 79 22 0d |responding key".| 00000600 01 fe 06 fb 32 0d 02 08 23 f1 8a 38 2c 33 30 29 |....2...#..8,30)| 00000610 22 50 52 45 53 53 20 41 4e 59 20 4b 45 59 20 54 |"PRESS ANY KEY T| 00000620 4f 20 53 54 41 52 54 22 0d 02 12 08 53 24 3d be |O START"....S$=.| 00000630 0d 02 1c 05 da 0d 02 26 05 e1 0d 02 30 05 3a 0d |.......&....0.:.| 00000640 02 3a 0d dd f2 53 48 55 46 46 4c 45 0d 02 44 13 |.:...SHUFFLE..D.| 00000650 e3 4c 25 3d 30 b8 34 3a e3 4a 25 3d 31 b8 35 0d |.L%=0.4:.J%=1.5.| 00000660 02 4e 17 41 28 4c 25 2a 35 2b 4a 25 29 3d 4c 25 |.N.A(L%*5+J%)=L%| 00000670 2b 31 3a ed 3a ed 0d 02 58 0d e3 4c 25 3d 31 b8 |+1:.:...X..L%=1.| 00000680 31 30 30 0d 02 62 15 41 25 3d b3 28 32 35 29 3a |100..b.A%=.(25):| 00000690 42 25 3d b3 28 32 35 29 0d 02 6c 21 54 25 3d 41 |B%=.(25)..l!T%=A| 000006a0 28 41 25 29 3a 41 28 41 25 29 3d 41 28 42 25 29 |(A%):A(A%)=A(B%)| 000006b0 3a 41 28 42 25 29 3d 54 25 0d 02 76 05 ed 0d 02 |:A(B%)=T%..v....| 000006c0 80 05 e1 0d 02 8a 05 3a 0d 02 94 0b dd f2 53 45 |.......:......SE| 000006d0 54 55 50 0d 02 9e 0c fb 31 33 34 3a db 3a f7 0d |TUP.....134:.:..| 000006e0 02 a8 16 e3 49 3d 31 b8 32 35 3a f3 48 28 49 29 |....I=1.25:.H(I)| 000006f0 2c 56 28 49 29 0d 02 b2 0b fb 30 3a fb 31 33 34 |,V(I).....0:.134| 00000700 0d 02 bc 15 f1 8a 48 28 49 29 2c 56 28 49 29 29 |......H(I),V(I))| 00000710 48 4f 4c 45 24 0d 02 c6 0c fb 31 35 3a fb 31 32 |HOLE$.....15:.12| 00000720 38 0d 02 d0 19 f1 8a 48 28 49 29 2c 56 28 49 29 |8......H(I),V(I)| 00000730 2d 31 29 bd 28 36 34 2b 49 29 0d 02 da 0e 50 4c |-1).(64+I)....PL| 00000740 41 43 45 28 49 29 3d 30 0d 02 e4 05 ed 0d 02 ee |ACE(I)=0........| 00000750 11 fb 31 33 34 3a f2 53 48 55 46 46 4c 45 0d 02 |..134:.SHUFFLE..| 00000760 f8 05 e1 0d 03 02 52 dc 20 39 2c 33 2c 36 2c 36 |......R. 9,3,6,6| 00000770 2c 39 2c 36 2c 31 32 2c 36 2c 33 2c 39 2c 36 2c |,9,6,12,6,3,9,6,| 00000780 39 2c 39 2c 39 2c 31 32 2c 39 2c 31 35 2c 39 2c |9,9,9,12,9,15,9,| 00000790 30 2c 31 32 2c 33 2c 31 32 2c 36 2c 31 32 2c 39 |0,12,3,12,6,12,9| 000007a0 2c 31 32 2c 31 32 2c 31 32 2c 31 35 2c 31 32 2c |,12,12,12,15,12,| 000007b0 31 38 2c 31 32 0d 03 0c 35 dc 20 33 2c 31 35 2c |18,12...5. 3,15,| 000007c0 36 2c 31 35 2c 39 2c 31 35 2c 31 32 2c 31 35 2c |6,15,9,15,12,15,| 000007d0 31 35 2c 31 35 2c 36 2c 31 38 2c 39 2c 31 38 2c |15,15,6,18,9,18,| 000007e0 31 32 2c 31 38 2c 39 2c 32 31 0d 03 16 05 3a 0d |12,18,9,21....:.| 000007f0 03 20 0a dd f2 50 4c 41 59 0d 03 2a 05 f5 0d 03 |. ...PLAY..*....| 00000800 34 05 f5 0d 03 3e 16 f2 4d 41 4e 3a e7 44 3c 3e |4....>..MAN:.D<>| 00000810 30 8c fd b9 3a fd b9 3a e1 0d 03 48 2c fb 37 3a |0...:..:...H,.7:| 00000820 f1 8a 31 2c 32 32 29 22 57 48 49 43 48 22 8a 31 |..1,22)"WHICH".1| 00000830 2c 32 34 29 22 42 4c 41 43 4b 2d 48 4f 4c 45 20 |,24)"BLACK-HOLE | 00000840 2d 20 3f 20 22 0d 03 52 0c 2a 46 58 20 31 35 2c |- ? "..R.*FX 15,| 00000850 30 0d 03 5c 0c 58 3d a6 28 31 35 30 29 0d 03 66 |0..\.X=.(150)..f| 00000860 0e fd 58 3e 36 34 80 58 3c 39 30 0d 03 70 2a f1 |..X>64.X<90..p*.| 00000870 8a 31 34 2c 32 34 29 3b bd 58 27 8a 31 2c 32 38 |.14,24);.X'.1,28| 00000880 29 89 28 31 38 29 27 8a 31 2c 33 30 29 89 28 31 |).(18)'.1,30).(1| 00000890 38 29 3a ef 37 0d 03 7a 4f e7 41 3c 35 80 58 3c |8):.7..zO.A<5.X<| 000008a0 3e 36 35 80 58 3c 3e 37 34 80 58 3c 3e 38 30 80 |>65.X<>74.X<>80.| 000008b0 58 3c 3e 38 39 8c fb 31 31 3a f1 8a 32 2c 32 38 |X<>89..11:..2,28| 000008c0 29 22 41 2c 4a 2c 50 20 6f 72 20 59 20 66 69 72 |)"A,J,P or Y fir| 000008d0 73 74 22 3a d4 31 2c 2d 31 35 2c 31 35 30 2c 31 |st":.1,-15,150,1| 000008e0 32 3a fd a3 0d 03 84 0a 58 3d 58 2d 36 34 0d 03 |2:......X=X-64..| 000008f0 8e 2a e7 50 4c 41 43 45 28 58 29 3c 3e 30 8c fb |.*.PLACE(X)<>0..| 00000900 31 31 3a f1 8a 31 2c 32 38 29 3b 22 4f 43 43 55 |11:..1,28);"OCCU| 00000910 50 49 45 44 22 3a ef 37 0d 03 98 0f fd 50 4c 41 |PIED":.7.....PLA| 00000920 43 45 28 58 29 3d 30 0d 03 a2 18 f2 50 4c 41 43 |CE(X)=0.....PLAC| 00000930 45 3a 50 4c 41 43 45 28 58 29 3d 41 28 41 29 0d |E:PLACE(X)=A(A).| 00000940 03 ac 05 e1 0d 03 b6 05 3a 0d 03 c0 09 dd f2 4d |........:......M| 00000950 41 4e 0d 03 ca 09 49 3d 49 2b 31 0d 03 d4 09 fb |AN....I=I+1.....| 00000960 41 28 41 29 0d 03 de 0e d4 30 2c 2d 31 30 2c 34 |A(A).....0,-10,4| 00000970 2c 31 0d 03 e8 14 f1 8a 49 2c 33 30 29 3b 22 20 |,1......I,30);" | 00000980 22 3b 4d 41 4e 24 0d 03 f2 11 e7 49 3e 31 35 8c |";MAN$.....I>15.| 00000990 f2 43 41 55 47 48 54 0d 03 fc 05 e1 0d 04 06 05 |.CAUGHT.........| 000009a0 3a 0d 04 10 0c dd f2 43 41 55 47 48 54 0d 04 1a |:......CAUGHT...| 000009b0 0b 2a 46 58 39 2c 31 30 0d 04 24 0c 2a 46 58 31 |.*FX9,10..$.*FX1| 000009c0 30 2c 31 30 0d 04 2e 0c e3 49 25 3d 31 b8 32 35 |0,10.....I%=1.25| 000009d0 0d 04 38 14 fb 49 25 3a f1 8a 31 37 2c 33 30 29 |..8..I%:..17,30)| 000009e0 4d 41 4e 24 0d 04 42 12 d4 31 2c 2d 31 32 2c 49 |MAN$..B..1,-12,I| 000009f0 25 2a 31 30 2c 31 0d 04 4c 1d f1 8a 30 2c 33 30 |%*10,1..L...0,30| 00000a00 29 22 48 41 21 48 41 21 20 49 27 4d 20 46 52 45 |)"HA!HA! I'M FRE| 00000a10 45 21 22 0d 04 56 10 ed 3a 53 43 3d 41 2d 31 3a |E!"..V..:SC=A-1:| 00000a20 44 3d 31 0d 04 60 05 e1 0d 04 6a 05 3a 0d 04 74 |D=1..`....j.:..t| 00000a30 0b dd f2 50 4c 41 43 45 0d 04 7e 10 f1 8a 30 2c |...PLACE..~...0,| 00000a40 33 30 29 89 28 31 39 29 0d 04 88 0e fb 41 28 41 |30).(19).....A(A| 00000a50 29 3a fb 31 32 38 0d 04 92 16 f1 8a 48 28 58 29 |):.128......H(X)| 00000a60 2c 56 28 58 29 2d 31 29 4d 41 4e 24 0d 04 9c 0e |,V(X)-1)MAN$....| 00000a70 e7 41 3e 34 8c f2 4d 41 54 45 0d 04 a6 0d f2 57 |.A>4..MATE.....W| 00000a80 41 49 54 28 31 30 29 0d 04 b0 08 fb 31 33 34 0d |AIT(10).....134.| 00000a90 04 ba 05 e1 0d 04 c4 05 3a 0d 04 ce 0a dd f2 4d |........:......M| 00000aa0 41 54 45 0d 04 d8 18 48 3d 48 28 58 29 2b 31 3a |ATE....H=H(X)+1:| 00000ab0 56 3d 56 28 58 29 3a 4e 4c 3d 30 0d 04 e2 1d 58 |V=V(X):NL=0....X| 00000ac0 31 3d 36 34 2a 48 2b 31 30 3a 59 31 3d 31 30 32 |1=64*H+10:Y1=102| 00000ad0 34 2d 28 33 32 2a 56 29 0d 04 ec 12 50 3d b0 58 |4-(32*V)....P=.X| 00000ae0 31 2c 59 31 29 3a 4e 4c 3d 30 0d 04 f6 0d 48 48 |1,Y1):NL=0....HH| 00000af0 3d 48 3a 56 56 3d 56 0d 05 00 0e e3 49 25 3d 2d |=H:VV=V.....I%=-| 00000b00 33 b8 33 88 33 0d 05 0a 0e e3 4a 25 3d 2d 33 b8 |3.3.3.....J%=-3.| 00000b10 33 88 36 0d 05 14 11 48 3d 48 2b 49 25 3a 56 3d |3.6....H=H+I%:V=| 00000b20 56 2b 4a 25 0d 05 1e 1d 58 31 3d 36 34 2a 48 2b |V+J%....X1=64*H+| 00000b30 31 30 3a 59 31 3d 31 30 32 34 2d 28 33 32 2a 56 |10:Y1=1024-(32*V| 00000b40 29 0d 05 28 33 e7 50 3d b0 58 31 2c 59 31 29 8c |)..(3.P=.X1,Y1).| 00000b50 53 43 3d 41 3a 44 3d 33 8b e7 b0 58 31 2c 59 31 |SC=A:D=3...X1,Y1| 00000b60 29 3c 3e 30 80 b0 58 31 2c 59 31 29 3c 3e 36 8c |)<>0..X1,Y1)<>6.| 00000b70 4e 4c 3d 31 0d 05 32 11 48 3d 48 48 3a 56 3d 56 |NL=1..2.H=HH:V=V| 00000b80 56 3a ed 3a ed 0d 05 3c 0a e7 44 3c 3e 30 e1 0d |V:.:...<..D<>0..| 00000b90 05 46 0e e3 49 25 3d 2d 33 b8 33 88 36 0d 05 50 |.F..I%=-3.3.6..P| 00000ba0 0a 48 3d 48 2b 49 25 0d 05 5a 1d 58 31 3d 36 34 |.H=H+I%..Z.X1=64| 00000bb0 2a 48 2b 31 30 3a 59 31 3d 31 30 32 34 2d 28 33 |*H+10:Y1=1024-(3| 00000bc0 32 2a 56 29 0d 05 64 35 e7 50 3d b0 58 31 2c 59 |2*V)..d5.P=.X1,Y| 00000bd0 31 29 8c 53 43 3d 41 3a 44 3d 33 3a e1 8b e7 b0 |1).SC=A:D=3:....| 00000be0 58 31 2c 59 31 29 3c 3e 30 80 b0 58 31 2c 59 31 |X1,Y1)<>0..X1,Y1| 00000bf0 29 3c 3e 36 8c 4e 4c 3d 31 0d 05 6e 0f 48 3d 48 |)<>6.NL=1..n.H=H| 00000c00 48 3a 56 3d 56 56 3a ed 0d 05 78 0a e7 44 3c 3e |H:V=VV:...x..D<>| 00000c10 30 e1 0d 05 82 12 e7 4e 4c 3d 30 8c 53 43 3d 41 |0......NL=0.SC=A| 00000c20 3a 44 3d 34 0d 05 8c 05 e1 0d 05 96 05 3a 0d 05 |:D=4.........:..| 00000c30 a0 0c dd f2 46 49 4e 28 44 29 0d 05 aa 23 e7 44 |....FIN(D)...#.D| 00000c40 3d 35 8c d4 31 2c 2d 31 35 2c 31 35 30 2c 31 30 |=5..1,-15,150,10| 00000c50 8b d4 31 2c 2d 31 35 2c 32 35 2c 31 30 0d 05 b4 |..1,-15,25,10...| 00000c60 12 ef 32 38 2c 30 2c 33 31 2c 31 39 2c 32 32 0d |..28,0,31,19,22.| 00000c70 05 be 0c fb 31 32 39 2b 44 3a db 0d 05 c8 14 fb |....129+D:......| 00000c80 37 3a f1 22 47 41 4d 45 20 4f 56 45 52 22 3b 0d |7:."GAME OVER";.| 00000c90 05 d2 8e e7 44 3d 35 f1 22 2d 57 65 6c 6c 20 64 |....D=5."-Well d| 00000ca0 6f 6e 65 2e 22 27 22 41 6c 6c 20 20 74 68 65 20 |one."'"All the | 00000cb0 20 61 6c 69 65 6e 73 22 27 22 61 72 65 20 73 61 | aliens"'"are sa| 00000cc0 66 65 20 61 6e 64 20 73 6f 75 6e 64 21 22 8b e7 |fe and sound!"..| 00000cd0 44 3d 31 f1 22 20 2d 20 4f 4f 50 53 21 22 27 22 |D=1." - OOPS!"'"| 00000ce0 4f 6e 65 20 20 6f 66 20 20 74 68 65 20 61 6c 69 |One of the ali| 00000cf0 65 6e 73 22 27 22 65 73 63 61 70 65 64 20 20 61 |ens"'"escaped a| 00000d00 6e 64 20 72 65 73 63 75 65 64 22 27 22 20 20 20 |nd rescued"'" | 00000d10 74 68 65 20 20 20 20 72 65 73 74 21 22 0d 05 dc |the rest!"...| 00000d20 a6 e7 44 3d 33 f1 22 2d 59 6f 75 20 70 6c 61 63 |..D=3."-You plac| 00000d30 65 64 20 61 6c 69 65 6e 73 20 20 6f 66 20 74 68 |ed aliens of th| 00000d40 65 20 73 61 6d 65 20 63 6f 6c 6f 75 72 20 6e 65 |e same colour ne| 00000d50 78 74 20 74 6f 20 65 61 63 68 20 6f 74 68 65 72 |xt to each other| 00000d60 2e 22 27 22 54 68 65 79 27 6c 6c 20 66 69 67 68 |."'"They'll figh| 00000d70 74 21 22 8b e7 44 3d 34 f1 22 20 2d 20 20 41 6c |t!"..D=4." - Al| 00000d80 69 65 6e 73 22 27 22 6e 65 65 64 20 6d 61 74 65 |iens"'"need mate| 00000d90 73 20 74 6f 20 65 78 69 73 74 22 27 22 20 20 61 |s to exist"'" a| 00000da0 6e 64 20 73 75 73 74 61 69 6e 20 6c 69 66 65 22 |nd sustain life"| 00000db0 27 22 20 20 20 53 70 6f 69 6c 2d 73 70 6f 72 74 |'" Spoil-sport| 00000dc0 21 21 22 0d 05 e6 1c e7 53 43 3e 30 8c f1 22 59 |!!".....SC>0.."Y| 00000dd0 6f 75 20 63 61 75 67 68 74 20 22 3b 53 43 3b 0d |ou caught ";SC;.| 00000de0 05 f0 23 e7 53 43 3d 31 8c f1 22 20 61 6c 69 65 |..#.SC=1.." alie| 00000df0 6e 22 8b e7 53 43 3e 31 f1 22 20 61 6c 69 65 6e |n"..SC>1." alien| 00000e00 73 22 0d 06 04 0c 2a 46 58 20 31 35 2c 30 0d 06 |s"....*FX 15,0..| 00000e10 0e 14 f1 22 41 4e 4f 54 48 45 52 20 47 41 4d 45 |..."ANOTHER GAME| 00000e20 3f 22 0d 06 18 19 f5 3a 41 24 3d be 3a fd 41 24 |?".....:A$=.:.A$| 00000e30 3d 22 59 22 84 41 24 3d 22 4e 22 0d 06 22 12 e7 |="Y".A$="N".."..| 00000e40 41 24 3d 22 4e 22 8c 46 49 4e 25 3d b9 0d 06 2c |A$="N".FIN%=...,| 00000e50 05 e1 0d 06 36 05 3a 0d 06 40 0d dd f2 57 41 49 |....6.:..@...WAI| 00000e60 54 28 53 29 0d 06 4a 12 57 3d 91 3a f5 fd 91 2d |T(S)..J.W=.:...-| 00000e70 57 3e 53 2a 31 30 0d 06 54 05 e1 0d ff |W>S*10..T....| 00000e7d