04.03.2013 Views

spectrum graphics - OpenLibra

spectrum graphics - OpenLibra

spectrum graphics - OpenLibra

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The lure of thai yellow stuff, I<br />

can almost smell it, more than a<br />

teacher gets in a week! Thetrou<br />

ble is that nothing comes easy<br />

and the previous owner put<br />

some pretty formidable<br />

obstacles in the way of getting<br />

hold of it.<br />

I know it's in the castle but<br />

the first job is getting in there,<br />

the gatekeeper wants a passnumber<br />

before letting me enter<br />

and I think he has cannabalistic<br />

tendencies. Still, he's pretty<br />

thick and keeps saying if I'm too<br />

high or low. Once inside there<br />

are rumoured to be more varied<br />

and objectionable nasties to<br />

overcome before finding the<br />

gold and escaping with it.<br />

Mark has produced an entertaining<br />

program which shows<br />

how a few interesting, but in<br />

themselves uninspired, games<br />

can be linked together to produce<br />

a much more effective<br />

game. Random factors have<br />

been used with the aim of pro-<br />

1 REM MHHHHHHHHHHHHHHHHHHHHHt<br />

•Underlined character®*<br />

•are entered in •<br />

•GRAPHICS mode. •<br />

• n i i n n n n n i n n x n<br />

3 REM ttttttttttttttttGOLD f<br />

13 REM<br />

13 CLS : PAPER 7: CLS<br />

20 FOR N*=1 TO 140: PRINT INK<br />

61" "II NEXT N: BORDER 6<br />

30 PRINT AT 21,291 INK 6f'<br />

40 FOR M=8 TO 12: PRINT AT M,1<br />

0f PAPER 6( BRIGHT U"<br />

•! NEXT M<br />

30 GO SUB 8600<br />

60 FOR N=1 TO 31 FOR M=20 TO 4<br />

0: BEEP .02,M: NEXT M: NEXT N<br />

70 BORDER 6: INK 0: PAPER 7: C<br />

LS<br />

'• Jl l?IiTTT—-<br />

ducing a game which makes it a<br />

challenge to everyone in<br />

eluding the programmer who<br />

types it in, as there are no preset<br />

codes which will help the typist<br />

solve the game.<br />

To enhance the end result a<br />

variety of BEEPs and <strong>graphics</strong><br />

have been used at appropriate<br />

points. As the program is essen<br />

tially a suite of subgames,<br />

variables are repeated in each<br />

section and kept to a minimum<br />

and are:<br />

•''•r^v^v<br />

A Line 520, centre line of<br />

gateway.<br />

B/C Line 4210. points of<br />

sword.<br />

D Man.<br />

E Bag of gold.<br />

F Hound.<br />

The POKE 23658,8 is to set<br />

Caps Lock on, so that all entries<br />

are made in capitals and saves<br />

double checking for upper, lower<br />

case.<br />

80 GO SUB 8000<br />

90 POKE 23658,8<br />

99 REM ###INSTRUCTI ONSttttM<br />

100 CLS<br />

110 PRINT "YOU ARE SEARCHING FO<br />

R "J INK 0} BRIGHT 1| PAPER 6;"G<br />

OLD "<br />

120 PRINT : PRINT : PRINT : PRI<br />

NT<br />

130 PRINT 'BEHIND THE CASTLE GA<br />

TE IS A FIERCE GATE-KEEPER."<br />

: PRINT " HE HAS ASKED YOU FOR T<br />

HE PASSNUMBER' ": P<br />

RINT " IT IS BETWEEN 1 AND 100.<br />

HE WILL GIVE YOU 6 GUESSE<br />

S.": PRINT " BE CAREFUL THOUGH H<br />

E'S INK 2;-VERY INK 0; "<br />

HUNGRY'"<br />

140 PRINT : PRINT INK 3J"PRESS<br />

ANY KEY TO CONTINUE": PAUSE 0:<br />

CLS<br />

94 ZX COMPUTING DECEMBER JANUARY 1985

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!