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

StarInfo/Stoner/!Buzz

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/!Buzz
Read OK:
File size: 0400 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM 1k Buzz off game
    2REM by Nigel Stoner LEN 1996
    3
    4REM if you change the line: t%=RND(-45)
    5REM to another MINUS number (-50, -1 etc)
    6REM you can get different wires to follow.
    7
    8REM erm, is it padded out enough yet?
    9REM no nine mor
   10
   11ON ERROR PROCer
   12MODE9:OFF:MOUSE ON
   13*CHANNELVOICE 1 9
   14*VOLUME 80
   15hi%=0:sc%=1:skill%=32
   16REPEAT
   17t%=RND(-45)
   18px1=RND(1)*2-1:py1=RND(1)*2-1:px2=RND(1)*4-2:py2=RND(1)*2-1
   19GCOL4:RECTANGLEFILL0,0,1280,1024
   20COLOUR132:PRINT TAB(13,1)"Buzz Off !!"
   21PRINT TAB(10,3)"Last score = "STR$sc%
   22PRINT TAB(10,4)"Hi - Score = "STR$hi%
   23COLOUR9:PRINT TAB(6,6)"Type in your SKILL level"
   24PRINT TAB(10,7)"(1 Hard - 9 Easy)"
   25g$=GET$:g%=VAL(g$):IF g%<1 OR g%>9 g%=4
   26skill%=8*g%+4
   27PRINT TAB(19,18)"GO!":COLOUR 7:sc%=1:l%=1024:TIME=0
   28REPEAT:WAIT:MOVE 0,0:MOVE1276,1020:PLOT189,0,4+sc%/256:GCOL1:RECTANGLEFILL 0,l%,16,1024-l%:px2+=0.00002:py2+=0.00002
   29t%=TIME:wx%=300*(SINRAD(t%/px1)+COSRAD(t%/px2)):wy%=90*(SINRAD(t%/py1)-SINRAD(t%/py2)):GCOL2:CIRCLEFILL wx%+640,wy%+256,skill%
   30MOUSE x%,y%,b%:IF POINT(x%,y%)=0 l%-=16:VDU 7
   31sc%+=1:UNTIL l%=0
   32IF sc%>hi% hi%=sc%
   33UNTIL FALSE
   34END
   35DEFPROCer
   36*CHANNELVOICE 1 1
   37REPORT:PRINT " at line ";ERL:END
   38ENDPROC
� 1k Buzz off game
� by Nigel Stoner � 1996

)� if you change the line: t%=RND(-45)
+� to another MINUS number (-50, -1 etc)
,� you can get different wires to follow.

'� erm, is it padded out enough yet?
	� no nine mor


� � �er

�9:�:ȗ �

*CHANNELVOICE 1 9
*VOLUME 80
hi%=0:sc%=1:skill%=32
�

t%=�(-45)
7px1=�(1)*2-1:py1=�(1)*2-1:px2=�(1)*4-2:py2=�(1)*2-1
�4:ȓȐ0,0,1280,1024
�132:� �13,1)"Buzz Off !!"
� �10,3)"Last score = "�sc%
� �10,4)"Hi - Score = "�hi%
(�9:� �6,6)"Type in your SKILL level"
� �10,7)"(1 Hard - 9 Easy)"
$g$=�:g%=�(g$):� g%<1 � g%>9 g%=4
skill%=8*g%+4
(� �19,18)"GO!":� 7:sc%=1:l%=1024:�=0
\�:Ȗ:� 0,0:�1276,1020:�189,0,4+sc%/256:�1:ȓȐ 0,l%,16,1024-l%:px2+=0.00002:py2+=0.00002
ft%=�:wx%=300*(��(t%/px1)+��(t%/px2)):wy%=90*(��(t%/py1)-��(t%/py2)):�2:ȏȐ wx%+640,wy%+256,skill%
&ȗ x%,y%,b%:� �x%,y%)=0 l%-=16:� 7
sc%+=1:� l%=0
 � sc%>hi% hi%=sc%
!� �
"�
#��er
$*CHANNELVOICE 1 1
%�:� " at line ";�:�
&�
�
00000000  0d 00 01 16 f4 20 31 6b  20 42 75 7a 7a 20 6f 66  |..... 1k Buzz of|
00000010  66 20 67 61 6d 65 0d 00  02 1c f4 20 62 79 20 4e  |f game..... by N|
00000020  69 67 65 6c 20 53 74 6f  6e 65 72 20 a9 20 31 39  |igel Stoner . 19|
00000030  39 36 0d 00 03 04 0d 00  04 29 f4 20 69 66 20 79  |96.......). if y|
00000040  6f 75 20 63 68 61 6e 67  65 20 74 68 65 20 6c 69  |ou change the li|
00000050  6e 65 3a 20 74 25 3d 52  4e 44 28 2d 34 35 29 0d  |ne: t%=RND(-45).|
00000060  00 05 2b f4 20 74 6f 20  61 6e 6f 74 68 65 72 20  |..+. to another |
00000070  4d 49 4e 55 53 20 6e 75  6d 62 65 72 20 28 2d 35  |MINUS number (-5|
00000080  30 2c 20 2d 31 20 65 74  63 29 0d 00 06 2c f4 20  |0, -1 etc)...,. |
00000090  79 6f 75 20 63 61 6e 20  67 65 74 20 64 69 66 66  |you can get diff|
000000a0  65 72 65 6e 74 20 77 69  72 65 73 20 74 6f 20 66  |erent wires to f|
000000b0  6f 6c 6c 6f 77 2e 0d 00  07 04 0d 00 08 27 f4 20  |ollow........'. |
000000c0  65 72 6d 2c 20 69 73 20  69 74 20 70 61 64 64 65  |erm, is it padde|
000000d0  64 20 6f 75 74 20 65 6e  6f 75 67 68 20 79 65 74  |d out enough yet|
000000e0  3f 0d 00 09 11 f4 20 6e  6f 20 6e 69 6e 65 20 6d  |?..... no nine m|
000000f0  6f 72 0d 00 0a 04 0d 00  0b 0b ee 20 85 20 f2 65  |or......... . .e|
00000100  72 0d 00 0c 0d eb 39 3a  87 3a c8 97 20 ee 0d 00  |r.....9:.:.. ...|
00000110  0d 15 2a 43 48 41 4e 4e  45 4c 56 4f 49 43 45 20  |..*CHANNELVOICE |
00000120  31 20 39 0d 00 0e 0e 2a  56 4f 4c 55 4d 45 20 38  |1 9....*VOLUME 8|
00000130  30 0d 00 0f 19 68 69 25  3d 30 3a 73 63 25 3d 31  |0....hi%=0:sc%=1|
00000140  3a 73 6b 69 6c 6c 25 3d  33 32 0d 00 10 05 f5 0d  |:skill%=32......|
00000150  00 11 0d 74 25 3d b3 28  2d 34 35 29 0d 00 12 37  |...t%=.(-45)...7|
00000160  70 78 31 3d b3 28 31 29  2a 32 2d 31 3a 70 79 31  |px1=.(1)*2-1:py1|
00000170  3d b3 28 31 29 2a 32 2d  31 3a 70 78 32 3d b3 28  |=.(1)*2-1:px2=.(|
00000180  31 29 2a 34 2d 32 3a 70  79 32 3d b3 28 31 29 2a  |1)*4-2:py2=.(1)*|
00000190  32 2d 31 0d 00 13 18 e6  34 3a c8 93 c8 90 30 2c  |2-1.....4:....0,|
000001a0  30 2c 31 32 38 30 2c 31  30 32 34 0d 00 14 1e fb  |0,1280,1024.....|
000001b0  31 33 32 3a f1 20 8a 31  33 2c 31 29 22 42 75 7a  |132:. .13,1)"Buz|
000001c0  7a 20 4f 66 66 20 21 21  22 0d 00 15 1f f1 20 8a  |z Off !!"..... .|
000001d0  31 30 2c 33 29 22 4c 61  73 74 20 73 63 6f 72 65  |10,3)"Last score|
000001e0  20 3d 20 22 c3 73 63 25  0d 00 16 1f f1 20 8a 31  | = ".sc%..... .1|
000001f0  30 2c 34 29 22 48 69 20  2d 20 53 63 6f 72 65 20  |0,4)"Hi - Score |
00000200  3d 20 22 c3 68 69 25 0d  00 17 28 fb 39 3a f1 20  |= ".hi%...(.9:. |
00000210  8a 36 2c 36 29 22 54 79  70 65 20 69 6e 20 79 6f  |.6,6)"Type in yo|
00000220  75 72 20 53 4b 49 4c 4c  20 6c 65 76 65 6c 22 0d  |ur SKILL level".|
00000230  00 18 1f f1 20 8a 31 30  2c 37 29 22 28 31 20 48  |.... .10,7)"(1 H|
00000240  61 72 64 20 2d 20 39 20  45 61 73 79 29 22 0d 00  |ard - 9 Easy)"..|
00000250  19 24 67 24 3d be 3a 67  25 3d bb 28 67 24 29 3a  |.$g$=.:g%=.(g$):|
00000260  e7 20 67 25 3c 31 20 84  20 67 25 3e 39 20 67 25  |. g%<1 . g%>9 g%|
00000270  3d 34 0d 00 1a 11 73 6b  69 6c 6c 25 3d 38 2a 67  |=4....skill%=8*g|
00000280  25 2b 34 0d 00 1b 28 f1  20 8a 31 39 2c 31 38 29  |%+4...(. .19,18)|
00000290  22 47 4f 21 22 3a fb 20  37 3a 73 63 25 3d 31 3a  |"GO!":. 7:sc%=1:|
000002a0  6c 25 3d 31 30 32 34 3a  d1 3d 30 0d 00 1c 5c f5  |l%=1024:.=0...\.|
000002b0  3a c8 96 3a ec 20 30 2c  30 3a ec 31 32 37 36 2c  |:..:. 0,0:.1276,|
000002c0  31 30 32 30 3a f0 31 38  39 2c 30 2c 34 2b 73 63  |1020:.189,0,4+sc|
000002d0  25 2f 32 35 36 3a e6 31  3a c8 93 c8 90 20 30 2c  |%/256:.1:.... 0,|
000002e0  6c 25 2c 31 36 2c 31 30  32 34 2d 6c 25 3a 70 78  |l%,16,1024-l%:px|
000002f0  32 2b 3d 30 2e 30 30 30  30 32 3a 70 79 32 2b 3d  |2+=0.00002:py2+=|
00000300  30 2e 30 30 30 30 32 0d  00 1d 66 74 25 3d 91 3a  |0.00002...ft%=.:|
00000310  77 78 25 3d 33 30 30 2a  28 b5 b2 28 74 25 2f 70  |wx%=300*(..(t%/p|
00000320  78 31 29 2b 9b b2 28 74  25 2f 70 78 32 29 29 3a  |x1)+..(t%/px2)):|
00000330  77 79 25 3d 39 30 2a 28  b5 b2 28 74 25 2f 70 79  |wy%=90*(..(t%/py|
00000340  31 29 2d b5 b2 28 74 25  2f 70 79 32 29 29 3a e6  |1)-..(t%/py2)):.|
00000350  32 3a c8 8f c8 90 20 77  78 25 2b 36 34 30 2c 77  |2:.... wx%+640,w|
00000360  79 25 2b 32 35 36 2c 73  6b 69 6c 6c 25 0d 00 1e  |y%+256,skill%...|
00000370  26 c8 97 20 78 25 2c 79  25 2c 62 25 3a e7 20 b0  |&.. x%,y%,b%:. .|
00000380  78 25 2c 79 25 29 3d 30  20 6c 25 2d 3d 31 36 3a  |x%,y%)=0 l%-=16:|
00000390  ef 20 37 0d 00 1f 11 73  63 25 2b 3d 31 3a fd 20  |. 7....sc%+=1:. |
000003a0  6c 25 3d 30 0d 00 20 15  e7 20 73 63 25 3e 68 69  |l%=0.. .. sc%>hi|
000003b0  25 20 68 69 25 3d 73 63  25 0d 00 21 07 fd 20 a3  |% hi%=sc%..!.. .|
000003c0  0d 00 22 05 e0 0d 00 23  08 dd f2 65 72 0d 00 24  |.."....#...er..$|
000003d0  15 2a 43 48 41 4e 4e 45  4c 56 4f 49 43 45 20 31  |.*CHANNELVOICE 1|
000003e0  20 31 0d 00 25 17 f6 3a  f1 20 22 20 61 74 20 6c  | 1..%..:. " at l|
000003f0  69 6e 65 20 22 3b 9e 3a  e0 0d 00 26 05 e1 0d ff  |ine ";.:...&....|
00000400