Home » Archimedes archive » Acorn User » AU 1997-04 A.adf » Features1 » StarInfo/Stoner/!Clay

StarInfo/Stoner/!Clay

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 » Archimedes archive » Acorn User » AU 1997-04 A.adf » Features1
Filename: StarInfo/Stoner/!Clay
Read OK:
File size: 0400 bytes
Load address: 0000
Exec address: 0000
File contents
    1ON ERROR MODE12:REPORT:PRINT" at line ";ERL:END
    2DIM a(9),b(9),c(9),d(9),s(9),h(9),h$(9)
    3FORl=0TO9:h(l)=1000-l*100:h$(l)="------------":NEXT
    4REPEAT:MODE13:COLOUR44:PRINTTAB(10,2)"Clay Pidgeon Shoot":PRINTTAB(15,4)"HI-Scores":FORl=0TO9:PRINTTAB(8,6+l)h$(l):PRINTTAB(20,6+l)h(l):NEXT:PRINT TAB(9,20)"Press Mouse to PULL":sc%=0:g=0:s%=1:z=0:t=z
    5REPEAT:MOUSEx,y,t:UNTILt<>0:MODE13+128:OFF
    6FORl=0 TO 9:e=1:f=0:m=0:PROCp(0):MOUSE x,y,t:REPEAT
    7SYS 6,112,s%:s%=s%EOR3:SYS6,113,s%:WAIT:CLS:GCOL57:RECTANGLEFILL0,512,1280,512:GCOL8:RECTANGLEFILL0,128,1280,380:GCOL3:ELLIPSEFILL a(0),b(0),s(0),s(0)/3
    8s(0)-=.5:a(0)+=c(0):b(0)+=d(0):d(0)-=0.1:IF a(0)>1280 OR a(0)<0 OR s(0)<20 PROCp(0):l+=1
    9IF sh%>0 MOUSE x,y,z:IF t<>z THEN sh%-=1:PROCfire:GCOL7:CIRCLEFILLx,y,32:t=z ELSE GCOL16:CIRCLEx,y,12
   10PRINTTAB(0,29)STRING$(sh%,"o"),"Score ";sc%,,STRING$(10-l,"*"):UNTIL hit% OR l>9
   11NEXT:MODE13:IFsc%>h(9)THEN
   12 h(9)=sc%:INPUT"Your NAME ";h$(9):FORl=9TO1STEP-1:IFh(l)>h(l-1)THENSWAPh(l),h(l-1):SWAPh$(l),h$(l-1)
   13NEXT
   14ENDIF
   15UNTIL FALSE
   16END
   17DEFPROCfire:IF POINT(x,y)=3 THEN VDU 7:hit%=TRUE:sc%+=(100-s(0))*sh%
   18ENDPROC
   19DEFPROCp(q):IF RND(100)>50 THEN a(q)=0:b(q)=RND(512)+256:c(q)=RND(12)+2:d(q)=RND(8)+4 ELSE a(q)=1280:b(q)=RND(512)+256:c(q)=-1*RND(12)-8:d(q)=RND(8)+2
   20hit%=FALSE:s(q)=RND(32)+64:sh%=4
   21ENDPROC
� � �12:�:�" at line ";�:�
)� a(9),b(9),c(9),d(9),s(9),h(9),h$(9)
1�l=0�9:h(l)=1000-l*100:h$(l)="------------":�
��:�13:�44:�10,2)"Clay Pidgeon Shoot":�15,4)"HI-Scores":�l=0�9:�8,6+l)h$(l):�20,6+l)h(l):�:� �9,20)"Press Mouse to PULL":sc%=0:g=0:s%=1:z=0:t=z
�:ȗx,y,t:�t<>0:�13+128:�
)�l=0 � 9:e=1:f=0:m=0:�p(0):ȗ x,y,t:�
rș 6,112,s%:s%=s%�3:ș6,113,s%:Ȗ:�:�57:ȓȐ0,512,1280,512:�8:ȓȐ0,128,1280,380:�3:ȝȐ a(0),b(0),s(0),s(0)/3
Vs(0)-=.5:a(0)+=c(0):b(0)+=d(0):d(0)-=0.1:� a(0)>1280 � a(0)<0 � s(0)<20 �p(0):l+=1
	K� sh%>0 ȗ x,y,z:� t<>z � sh%-=1:�fire:�7:ȏȐx,y,32:t=z � �16:ȏx,y,12

:�0,29)�sh%,"o"),"Score ";sc%,,�10-l,"*"):� hit% � l>9
�:�13:�sc%>h(9)�
V h(9)=sc%:�"Your NAME ";h$(9):�l=9�1�-1:�h(l)>h(l-1)�Ȕh(l),h(l-1):Ȕh$(l),h$(l-1)

�
�
� �
�
5��fire:� �x,y)=3 � � 7:hit%=�:sc%+=(100-s(0))*sh%
�
���p(q):� �(100)>50 � a(q)=0:b(q)=�(512)+256:c(q)=�(12)+2:d(q)=�(8)+4 � a(q)=1280:b(q)=�(512)+256:c(q)=-1*�(12)-8:d(q)=�(8)+2
hit%=�:s(q)=�(32)+64:sh%=4
�
�
00000000  0d 00 01 1e ee 20 85 20  eb 31 32 3a f6 3a f1 22  |..... . .12:.:."|
00000010  20 61 74 20 6c 69 6e 65  20 22 3b 9e 3a e0 0d 00  | at line ";.:...|
00000020  02 29 de 20 61 28 39 29  2c 62 28 39 29 2c 63 28  |.). a(9),b(9),c(|
00000030  39 29 2c 64 28 39 29 2c  73 28 39 29 2c 68 28 39  |9),d(9),s(9),h(9|
00000040  29 2c 68 24 28 39 29 0d  00 03 31 e3 6c 3d 30 b8  |),h$(9)...1.l=0.|
00000050  39 3a 68 28 6c 29 3d 31  30 30 30 2d 6c 2a 31 30  |9:h(l)=1000-l*10|
00000060  30 3a 68 24 28 6c 29 3d  22 2d 2d 2d 2d 2d 2d 2d  |0:h$(l)="-------|
00000070  2d 2d 2d 2d 2d 22 3a ed  0d 00 04 96 f5 3a eb 31  |-----":......:.1|
00000080  33 3a fb 34 34 3a f1 8a  31 30 2c 32 29 22 43 6c  |3:.44:..10,2)"Cl|
00000090  61 79 20 50 69 64 67 65  6f 6e 20 53 68 6f 6f 74  |ay Pidgeon Shoot|
000000a0  22 3a f1 8a 31 35 2c 34  29 22 48 49 2d 53 63 6f  |":..15,4)"HI-Sco|
000000b0  72 65 73 22 3a e3 6c 3d  30 b8 39 3a f1 8a 38 2c  |res":.l=0.9:..8,|
000000c0  36 2b 6c 29 68 24 28 6c  29 3a f1 8a 32 30 2c 36  |6+l)h$(l):..20,6|
000000d0  2b 6c 29 68 28 6c 29 3a  ed 3a f1 20 8a 39 2c 32  |+l)h(l):.:. .9,2|
000000e0  30 29 22 50 72 65 73 73  20 4d 6f 75 73 65 20 74  |0)"Press Mouse t|
000000f0  6f 20 50 55 4c 4c 22 3a  73 63 25 3d 30 3a 67 3d  |o PULL":sc%=0:g=|
00000100  30 3a 73 25 3d 31 3a 7a  3d 30 3a 74 3d 7a 0d 00  |0:s%=1:z=0:t=z..|
00000110  05 1d f5 3a c8 97 78 2c  79 2c 74 3a fd 74 3c 3e  |...:..x,y,t:.t<>|
00000120  30 3a eb 31 33 2b 31 32  38 3a 87 0d 00 06 29 e3  |0:.13+128:....).|
00000130  6c 3d 30 20 b8 20 39 3a  65 3d 31 3a 66 3d 30 3a  |l=0 . 9:e=1:f=0:|
00000140  6d 3d 30 3a f2 70 28 30  29 3a c8 97 20 78 2c 79  |m=0:.p(0):.. x,y|
00000150  2c 74 3a f5 0d 00 07 72  c8 99 20 36 2c 31 31 32  |,t:....r.. 6,112|
00000160  2c 73 25 3a 73 25 3d 73  25 82 33 3a c8 99 36 2c  |,s%:s%=s%.3:..6,|
00000170  31 31 33 2c 73 25 3a c8  96 3a db 3a e6 35 37 3a  |113,s%:..:.:.57:|
00000180  c8 93 c8 90 30 2c 35 31  32 2c 31 32 38 30 2c 35  |....0,512,1280,5|
00000190  31 32 3a e6 38 3a c8 93  c8 90 30 2c 31 32 38 2c  |12:.8:....0,128,|
000001a0  31 32 38 30 2c 33 38 30  3a e6 33 3a c8 9d c8 90  |1280,380:.3:....|
000001b0  20 61 28 30 29 2c 62 28  30 29 2c 73 28 30 29 2c  | a(0),b(0),s(0),|
000001c0  73 28 30 29 2f 33 0d 00  08 56 73 28 30 29 2d 3d  |s(0)/3...Vs(0)-=|
000001d0  2e 35 3a 61 28 30 29 2b  3d 63 28 30 29 3a 62 28  |.5:a(0)+=c(0):b(|
000001e0  30 29 2b 3d 64 28 30 29  3a 64 28 30 29 2d 3d 30  |0)+=d(0):d(0)-=0|
000001f0  2e 31 3a e7 20 61 28 30  29 3e 31 32 38 30 20 84  |.1:. a(0)>1280 .|
00000200  20 61 28 30 29 3c 30 20  84 20 73 28 30 29 3c 32  | a(0)<0 . s(0)<2|
00000210  30 20 f2 70 28 30 29 3a  6c 2b 3d 31 0d 00 09 4b  |0 .p(0):l+=1...K|
00000220  e7 20 73 68 25 3e 30 20  c8 97 20 78 2c 79 2c 7a  |. sh%>0 .. x,y,z|
00000230  3a e7 20 74 3c 3e 7a 20  8c 20 73 68 25 2d 3d 31  |:. t<>z . sh%-=1|
00000240  3a f2 66 69 72 65 3a e6  37 3a c8 8f c8 90 78 2c  |:.fire:.7:....x,|
00000250  79 2c 33 32 3a 74 3d 7a  20 8b 20 e6 31 36 3a c8  |y,32:t=z . .16:.|
00000260  8f 78 2c 79 2c 31 32 0d  00 0a 3a f1 8a 30 2c 32  |.x,y,12...:..0,2|
00000270  39 29 c4 73 68 25 2c 22  6f 22 29 2c 22 53 63 6f  |9).sh%,"o"),"Sco|
00000280  72 65 20 22 3b 73 63 25  2c 2c c4 31 30 2d 6c 2c  |re ";sc%,,.10-l,|
00000290  22 2a 22 29 3a fd 20 68  69 74 25 20 84 20 6c 3e  |"*"):. hit% . l>|
000002a0  39 0d 00 0b 14 ed 3a eb  31 33 3a e7 73 63 25 3e  |9.....:.13:.sc%>|
000002b0  68 28 39 29 8c 0d 00 0c  56 20 68 28 39 29 3d 73  |h(9)....V h(9)=s|
000002c0  63 25 3a e8 22 59 6f 75  72 20 4e 41 4d 45 20 22  |c%:."Your NAME "|
000002d0  3b 68 24 28 39 29 3a e3  6c 3d 39 b8 31 88 2d 31  |;h$(9):.l=9.1.-1|
000002e0  3a e7 68 28 6c 29 3e 68  28 6c 2d 31 29 8c c8 94  |:.h(l)>h(l-1)...|
000002f0  68 28 6c 29 2c 68 28 6c  2d 31 29 3a c8 94 68 24  |h(l),h(l-1):..h$|
00000300  28 6c 29 2c 68 24 28 6c  2d 31 29 0d 00 0d 05 ed  |(l),h$(l-1).....|
00000310  0d 00 0e 05 cd 0d 00 0f  07 fd 20 a3 0d 00 10 05  |.......... .....|
00000320  e0 0d 00 11 35 dd f2 66  69 72 65 3a e7 20 b0 78  |....5..fire:. .x|
00000330  2c 79 29 3d 33 20 8c 20  ef 20 37 3a 68 69 74 25  |,y)=3 . . 7:hit%|
00000340  3d b9 3a 73 63 25 2b 3d  28 31 30 30 2d 73 28 30  |=.:sc%+=(100-s(0|
00000350  29 29 2a 73 68 25 0d 00  12 05 e1 0d 00 13 80 dd  |))*sh%..........|
00000360  f2 70 28 71 29 3a e7 20  b3 28 31 30 30 29 3e 35  |.p(q):. .(100)>5|
00000370  30 20 8c 20 61 28 71 29  3d 30 3a 62 28 71 29 3d  |0 . a(q)=0:b(q)=|
00000380  b3 28 35 31 32 29 2b 32  35 36 3a 63 28 71 29 3d  |.(512)+256:c(q)=|
00000390  b3 28 31 32 29 2b 32 3a  64 28 71 29 3d b3 28 38  |.(12)+2:d(q)=.(8|
000003a0  29 2b 34 20 8b 20 61 28  71 29 3d 31 32 38 30 3a  |)+4 . a(q)=1280:|
000003b0  62 28 71 29 3d b3 28 35  31 32 29 2b 32 35 36 3a  |b(q)=.(512)+256:|
000003c0  63 28 71 29 3d 2d 31 2a  b3 28 31 32 29 2d 38 3a  |c(q)=-1*.(12)-8:|
000003d0  64 28 71 29 3d b3 28 38  29 2b 32 0d 00 14 1e 68  |d(q)=.(8)+2....h|
000003e0  69 74 25 3d a3 3a 73 28  71 29 3d b3 28 33 32 29  |it%=.:s(q)=.(32)|
000003f0  2b 36 34 3a 73 68 25 3d  34 0d 00 15 05 e1 0d ff  |+64:sh%=4.......|
00000400