You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
650-770<br />
710<br />
790<br />
12<br />
(ZX81 ARCADE GAMEl<br />
designs a 900-995 Draws a 'gate' default value of address).<br />
random, yet heralding each zero and so will LE/LNS Level of game<br />
slightly structured new level of the have no effect. reached, lines<br />
maze, with maze. The 'plus ones' reached.<br />
'guaranteed path' 1000-2070 Initialise variables are added 1$ Riding-Indicators on<br />
through any and print play because Sinclair Bar-graph. These<br />
section. instructions. array subscripts travel back and forth<br />
Chopper bar 2010 The scroll routine start at one, not on the end of the<br />
sequence. A long (machine code) zero, and 'CODE Bar-graph as it<br />
string is randomly scrolls from line INKEY$ will give moves.<br />
sliced and printed 2 1 upwards. zero when no ADMAC Address of Machine<br />
in different leaving lines 22 keys are pressed. Code routine.<br />
positions to give and 23<br />
the effect of<br />
sequentially<br />
moving bars.<br />
3000-3080<br />
stationary.<br />
Adds a bit of life<br />
to introduction<br />
variables —<br />
general<br />
variables — Maze<br />
construction<br />
Ensures that screen by running<br />
increasing layers ripples down BB Bank Balance. M$ Maze assembly<br />
of choppers bars sides until player MIN) INKEY$ control string.<br />
are printed as the is ready and (array) of Man PA Paths a, b and c, the<br />
maze moves up. presses a key. Movement. PB 'guaranteed' clear<br />
The split random 4000-4060 End-game display U$ Universal string, PC paths through the<br />
number has the and option to play used to print mazes.<br />
effect that very again. anything required for DE Deviation of diagonal<br />
high or very low 7000-7080 Assigns values to next line of maze. path (PC)<br />
bonuses are still elements of array X Player's position. J Horizontal 'joints'<br />
possible but are 'M' that CH Character of man between maze<br />
chosen less often correspond to the (£,$>. sections<br />
than middle codes of the keys H Hit character i.e. T LOOP Number of maze<br />
values to be used for character at player's sections before<br />
(technically a man-movements. next intended screen chopper sequence.<br />
Normal Any other keys, if position if it is not a LLOOP Number of lines in<br />
probability<br />
distribution<br />
pressed will just<br />
select elements SOS<br />
clear space.<br />
Start of screen F,C,V<br />
one section.<br />
Used for chopper<br />
curve). that contain the (display file sequence.<br />
CSREM -TONE GRABBER JhN<br />
..DRUE,ROGER: HQGROGPROG).<br />
_ T. izRROOL '5.<br />
+ RUN 1000<br />
7 REH MfiZEMOUE<br />
10 LET B5 = B5-1<br />
15 IF BB :CH = 12)<br />
195 POKE X.CH+128<br />
1 Q S R H N ~<br />
500 REM" PATH-BENDING<br />
£10 RETURN<br />
520 LET PR=1~RND*PR<br />
230 s_£T MS-RR TO PBJ = "<br />
240 RETURN<br />
250 lET M$I.J-L TO J+L+l) =<br />
:50 RETURN<br />
2 70 LET Ha:Pft<br />
I" (L4L TO<br />
2 TO PB - 1 • ='<br />
!30 RETURN<br />
300 REM HflXN-HRZE<br />
310 FOR T =I TO 5<br />
350<br />
330 IF T = 1 OR T =4 THEN LET<br />
M$ (6-fT TO i +H5<br />
340 GOSUB 50<br />
350 LET PR =4- + RND * 14<br />
350 LET PB=PR+RND*3<br />
370 LET PC =4-rRND*25<br />
330 GOSUB 50<br />
UL..<br />
M $ =<br />
ZX COMPUTING APRIL MAY 1985