You are on page 1of 49
Daniel lsaaman and Jenny Tyler Contents 2 About this Book 26 Space Rescue 4 Starship Takeoff 30 Touchdown: TRS-80 version 6 IntergalacticGames 31 Touchdown: VIC 20 version 8 EvilAlien 32 Touchdown: ZX81 version 10 Beat the Bug Eyes 33 Touchdown 2X Spectrum version 12 Moonlander 34 Touchdown: BBC version 14 Monsters ofGalacticon 35 Touchdown: Apple version 16 Alien Snipers 36 Adding to the programs 18 Asteroid Belt 38 Writing your own programs 20 Tripinto the Future 40 Summary of BASIC 22 Death Valley 46 Conversion chart 24 Space Mines 47 Puzzle Answers Illustrated by Martin Newton, Tony Baskeyfield, Graham Round, Jim Bamber, Mark Duffin and John Bolton Designed by Graham Round and Roger Priddy First published in 1982 by Usborne Publishing, 20 Garrick Street, London C: 2E 9BJ, England © 1982 Usborne Publishing Ltd Beat the Bug Eyes program by Bob Merry Starship Takeoff program by Richard Nash ah oo About This Book This book contains simple games programs to play on amicrocomputer. They are written for use on ZX81,ZX Spectrum, BBC, VIC 20, TRS-80 and Pet and Apple micros, and many are short enough tofit into the ZX81's IKof memory. Most micros use the language BASIC, butthey all have their own variations or dialects. In this book, the main listing for each program works on the ZX8] and lines which need changing for the other computers are marked with symbols and printed underneath. The fact that the programs are written for several micros means that they do not make full use of each one’s facilities. You could try finding ways of making the programs shorter and neater for your micro. For each game, there are ideas for changing and adding to the programs and towards the back of the book you will find tips and hints on writing games ofyour own. Also inthe book isa conversion chart to help you adapt programs in magazines and other books for your micro and a summary of the BASIC terms used in this book. Typing in the programs Lines which need changing for computers other than ZX8] are marked with these symbols: VIC and Pet * BBC and Acorn Electron @ TRS-80 © Apple * ZXSpectrum Every time you see the symbol forthe micro youare using, look below forthe corresponding line number with the same symbol and type that in instead. Petcomputers. VIC 20 versions of all except the graphics program should workon Points to remember 1 Type the lines exactly as they are printed including all punctuation and spaces. 2 Press RETURN, NEWLINE or ENTER key at the end of each programiine. 3 Check each line as you go. 4 Makesure you don't miss out aline or confuse one with another. A piece ofpaper ora ruleris useful to mark your place in the listing. § Look out for the symbols and make sure you use the correct lines for your computer. 6 Ifyouare using aZX8] or ZX Spectrum, remember notto type the program instructions letter by letter but to use the ‘special key for each instructioninstead. You may find it easier to get someone to ead the program out to you while you type it in. Don’t forget to explain thatthey mustread every comma, fullstop, bracket and space and differentiate between letter “O” and zero, FOR and 4, and TO and2. Debugging programs When youhave typed inthe program, check your manual to find out howto display it onthe screen. (Usually you type LIST followed by the line numbers of the section you want to see.) Check youhave typedeverything correctly. Itis easy to make mistakes, so expect to find some. Use your manual to find out howto make changes to the program once itis typed in. Ifin doubt, you canalwaystype the line again. All the computers will replace an existing line with anew one with the same number. Hereisachecklist of common mistakes to look out for: 1 Line missed out 2 Line wrongly numbered 3 The beginning of one line joined onto the end of another. 4 Brackets, commas, colons, semi- colons, fullstops or spaces missed out, especially in long, complicated lines. Watch for double brackets in particular. 5 Wrong line used for your computer. 6 Letter “O” confused with zero. T Wrong numbers used, e.g. extra zeros included. Playing the games To start the game you must type RUN. In some games things happen very quickly, somake sure you have read the instructions and know what youare supposed to do. Itis quite likely that the program still hasa mistake in it and either won't at all or the game won't work properly. Sometimes your computer will give you an error code which you can look upin the manual. This may help you find the mistake, though not always. Listthe program again and check it carefully against the book. When the game is over, the computer will usually say something like BREAK IN LINE 200. To play again, you have totype RUN. Experimenting with the games There are suggestions for changing and adding to the programs throughout the book, but don't be afraid toexperiment with changes of your own. Youcan't damage the computer and youcan always change back to the original ifthe changes don't work. Youwill probably find you want to adjust the speed of some games, + especially after youhave played thema number of times, You will find out which line to change on each program page. Wherever you see PRINT, youcan change the message in, quotes that follows itto! whatever youlike. Also, unless you have 2X81 with only IK, you canaddextra messages. ee? Type a line number (say 105 if youwant toadd a message between lines 100and 110), then type PRINT, then your message inside quotes. Ifyour computer can make colours and sounds, you could use your manual to find out how they work and tryadding them to the games inthis book Pa “See page 37 fora special note for BBC and Spectrum users. Starship Takeoff Youare astarship captain. You have crashed yourship ona strange planet and must take off again quickly inthealien ship you have captured. The ship's computer tells youthe gravity on the planet, You must guess the force requiredfora . successful take off. If you guess too low, the ship will not lift off the ground. If you guess too high, the ship’s fail-safe mechanism comes into operation to prevent it being burnt up. If you are still on the planet after ten tries, the alienswill capture you. eS 2 2) Bic we ee cis PRINT "STARSHIP TAKE-OFF" How the program works Clearsthe screen. 5 Computer selects two LET G=INT(RND&20+1) os n land LET WINT(RNDS40+1 —_ = patinGthesther LET R=GeW PRINT "GRAVITY= "3G © PRINT "TYPE IN FORCE! FOR C=1 TO 10 90 INPUT F 100 IF F>R THEN PRINT "TOO HIGH" 110 IF F10 THEN PRINT ", TRY AGAIN" —— Printsif you've hadless 140 NEXT C 150 PRINT 160 PRINT "YOU FAILED —" 170 PRINT “THE ALIENS GOT YOU" 180 STOP 190 PRINT "GOOD TAKE OFF" The above listing will work on aZX81.For other computers, make the changesbelow. @10 HOME 410 PRINT CHR€(147) 4030 LET G=INTCRND(1) 820) 30 LET G=INT(RND(0) 20) *a@40 LET W=INT(RND(1)840) 40 LET WSINTCRND(O) 840) How to make the game harder Youcan change the program to give youless than 10 goes. Do this by altering the last number in line 80 and the number in line 130, (They must be than 10 goes without a correct answer. End of loop. Goes back to 80 foranother turn. Prints after 10 unsuccessful goes. Onall but 2X81 and Spectrum, youcan replace STOP with END. (Notice what happens when you do.) Intergalactic Games There is fierce competition among the world’s TV companies for exclusive coverage of the First Intergalactic Games. Everything depends on which company wins the race to put a satellite into orbit at the right height. You aye the Engineer in charge of the launch for New Century TV. The crucial decisions about the angle and speed of the launching rocket rests on yourshoulders. Can you doit? beneath you, in deepest, blackest (South) — ¥ position —» (North) So ee How the program works aes CLS 10 PRINT “EVIL ALIEN" 20 LET S=10 Sets the size of the grid. 30 LET G=4 Sets the number of goes. 64040 LET X=INT(RNDSS) Elron's position is fixed by kma@50 LET Y=INT(RNDSS) these 3 lines, which select3 M4060 LET D=INT(RNDES) | 4 numbers between andthe size of the grid. 70 FOR Start of a loop which tells the computer to repeat the next 15linesG times. PRINT "X POSITION (0 TO 9)?" INPUT X1 “ 30 se qu POSETaGt «TO 9) ion asks you for your 3 numbers and stores PRINT “DISTANCE (9 TO 9)?" them in X1, Yl andD1. INPUT D1 IF X=X1 AND Y=¥1 AND D=Di THEN GOTO 300 Checks if you were PRINT “SHOT WAS "5 rightand jumps to IF Y1>¥ THEN PRINT "NORTH" 300%f you were. IF Y1<¥ THEN PRINT "SOUTH" Se are IF X1>X THEN PRINT “EAST coeapensd with ERATE IF X1D THEN PRINT “TOO FAR" IF Di"" THEN GOTO 140 ‘pressing a key. Ifyouare, NEXT I ‘computer jumps to 140 and IF VAL("O"4R$)127 THEN GET R& FOR J=1 TO 300 Puzzle corner Aes Can you change the program to make the bugs appearin more than four places on the screen? Can you add more bugs too? Moonlander : Youare at the controls of a lunar module which is taking a small team of astronauts down to the moon’s surface. In order to land safely you must slow down yourdescent but that takes fuel and you have only a limited supply. Pee oa br beac nenh cr incre ttt taser rtd OR Rema NCR eta cisCm tte iste PERE CO St aes sabre Cte eg Cy tts your speed as close to zero as you can when you land. Can youland safely onthe bt Notice the commas and semi- colons in lines 70 and 80. Experiment with leaving Cee) them out and changing them 20 PRINT "MOONLANDER" round to see what happens. 30 LET T=0 me amie) ona tag 70 PRINT “TIME";T, "HEIGHT" ;H 80 PRINT "VEL."3V, "FUEL"; F 90 IF F=0 THEN GOTO 140 100 PRINT "BURN? (0-30)" pet atlas) pelea Ce Ci ee) 130 IF B>3O THEN LET B=30 PC SM eae PT Same ee 160 LET BAe CS BOAO Sls = ISLS S250 PCa aa 190 LET T=T+1 Pie ame 210 GOTO 79 220 230 Pr meaner eae SE LAG IF Vi>S THEN PRINT “YOU CRASHED-ALL DEAD" IF Vi>i AND V1<=5 THEN PRINT "OK-BUT SOME INJURIES” 250 IF Vi<=1 THEN PRINT “GOOD LANDING.” Pr) asl ‘The above listing will work on aZX81.For Coen en cherie cid Oy ret ad See page 2 for meaning of@a lS om tree ya — eA UL ltr unite) Peer RUC Cg CUO ora Canoe SEE Leco oe Ue gcd computer jumps down the Faas eho aera a Peewee tory SEE eel ead Cee shaped acd ee od rota SSE oka eet tod the amount of fuel you wish to premet re sat —— Calculates your new speed, V1. SEG ca eC OC n Seca keckeea aed PO trator ry Per bd arent cm is, you've landed. Computer then jumps down program to or erat eer —— Calculates your new height. SE Lee Se a Teg Oks Pe eee nd Sree sel (acapaceioear sa hed loop for next go. Ce toa Ce —— touch-down and checks what pesca Puzzle corner Youcould make the game easier by increasing the maximum speed allowed fora safe landing. How would you change the program to dothis? Monsters of Galacticon Landing on Galacticon was easy - butno-one warned you that some of the nastiest monsters in the known Universe are to be foundthere. As each monster threatens, you must choose one of your weapons— aray gun, atrypton blaster ora sword laser-to use against it.Can you make the right choices? Ifso, you may live to conquer Galacticon. program works PRINT "MONSTERS OF GALACTICON" Sets up astorage place (an ? “array”)iabelled MS with 4 ‘compartments init~MS(1), MS(2), MS(3) and MS(- foreach monster nam Sets the number of monsters to4. ‘Sets the number of people in ‘your group to 5. Puts the 4 monster namesinto the array. 20 DIM M8(4) 30 LET N=4 40 LET M=S. 50 LET M$(1)="SULFACIDOR™ 60 LET M$(2)="FLAMGONDAR” 70 LET M8(3)="BALNOLOTIN" 80 LET MS(4) : 90 FOR I=1 TON 100 LET A=INT(RNDSN1) monsters up. Computer loops want things tobe mixed ) ound times. Each loop, it LET B=INT(RND#N#1) selects two numbers between LET Ts=Ms (a) and Nand switches the LET Ms (a)=Ms«B) names in the compartments LET MS(B)=TS ‘with those numbers. T$ isa NEXT 1 temporary string used during the switch round process. ‘Beginning of loop for 8 turns. ‘Clears screen 160 FOR T=1 TO 8 40170 CLS %*M40190 LET R=INT(RND#N+1) 190 PRINT "MONSTER COMING. ‘Chooses one of the monsters 200 PRINT “IT?S A ":M(R) and printsitsname. 210 PRINT “WHICH WEAPON ? (R,S OR T) “ ‘The computer uses the values 220 INPUT RS inRand RS to workouta skMA@250 LET W=CODE (RS) -544R ‘weapon number, W, which 240 LET W=W-3i (W>3)—34 (W>6) willbe 1, 20r3. IfWis2, the computer jumps to 300 tosay you've killed the monster. os 250 IF W=2 THEN GOTO 300 will print a letter (the false enemy think through the alphabet by that mi uget to. E.g. forM 4, you must type Q, Typing in a letter automatically trigg 16 See page 2 for meaning of eam*s How the program works cLs PRINT “ALIEN SNIPERS" PRINT Getsa difficulty number fr PRINT “DIFFICULTY (1-10)" you patsitin Dy and checkait INPUT D is within the correct limits. IF D<1 OR D>10 THEN GOTO 50 LET S=0 ‘Sets opening score to zero, FOR G=1 TO 10 Beginning ofloop which gives you 10 goes. LET L$=CHR$ (INT (RND# (26-D) +38) )——SelectsaletterbetweenA and the letter which is your difficulty number before the end ofthe alphabet, LET N=INT(RND#D+1) ‘Selects a number between 1 andD. cLs PRINT Prints the letter andthe PRINT L$,N number. FOR I=1 TO 20+D45 ; | LET I$=INKEV$ Checks if you are pressinga IF I$<>"" THEN GOTO 190 Rey eek ee Oe pom NEXT I GOTO 200 ‘If youdidn't press akey, computer jumps to line 200 which sends it back for another go. Checksityou the pressed right key and, ifso, increases HR (CODE (L$)+N) THEN LET S=S+1——yourscoreby 1, End of loop. Goes back for PRINT "YOU HIT "3S;"/10" ie poo eto rae Prints score after LO goes. The above listing will work ona ZX81.For other computers, make the changes below. @10, 110 HOME 410,110 PRINT CHR$ (147) 90 LET L$=CHR$ (INT (RND(0) # (26-D) +65)) a@70 LET L$=CHR$ (INT (RND(1)# (26-D) +65)) $90 LET L$=CHR$ (INT (RND #(26-D) +65)? mi00 LET NT (RND (0) $D+19 %4@100 LET N=INT(RND(1) #D+1) km4140 FOR TO 200+D8S0 @140 FOR TO 100#D450 @145 Is="" 150 LET IS=INKEY$(1) A150 GET I$ @150 IF PEEK(-16384)>127 THEN GET I¢ #640190 IF I$=CHR$(ASC(L$)+N) THEN LET S=S+1 Asteroid Belt You are ona trip through the Asteroid Belt. To avoid crashing intothe asteroids, you must destroy them and the force required for doing this depends on their size, Asteroids appear on your computer screen as groups of stars. To destroy them you must press the number key corresponding to the number of stars. Be prepared -—asteroids come at you thick and fast. Changing the speed of the game Line 180 (190 forthe BBC) controls how much time you have to pressakey. Change the last number in. 180, orthe number in brackets in the BBC line 190, toalowernumberto speedup the game. Puzzle corner , Can you adaptthe scoring system so that, foreach asteroid, you get the same number of points as there Trip into the Future Imagineyouareina ( — spaceship travelling iw neisiyasfastaslight/\| ~~ Strangely time is | nthica passing more slowly a inside your spaceship than outside. So, 2 having set off onalong, fast space trip, you can return to Earth further in the future than the clocks inside your ship indicate. Inthis game, your computer tells you how many years must elapse on Earth before you return. You thendecidethe length of your trip(in light years) and the speed of your ship(as a fraction of the speed of light) in order to achieve this. Take care not to travel too far too slowly or you will die of old age on the way. How the program works cis 20 PRINT “TRIP INTO THE FUTURE” Chooses a whole number wma@S0 LET T=INT(RND%100+25) between 25 and 124 forthe 40 PRINT “YOU WISH TO RETURN “;T years which must elapse 50 PRINT "YEARS IN THE FUTURE." before your return, and printsit. 60 PRINT 70 PRINT “SPEED OF SHIP (0-1)" Gets a speed from you and 80 INPUT V checks itis within the correct 90 IF V>=1 OR V<=0 THEN GOTO 70 Umits. 100 PRINT “DISTANCE OF TRIP" } a 110 INPUT D * ayes 120 LET T1=D/V See page 2 for meaning of @: Calculates the time taken outside the ship (i.e. on 130 LET T2=T1/SOR(1-V4V) 140 PRINT "YOU TOOK ";T1; "YEARS" 150 PRINT “AND ARRIVED ";T2; "YEARS" }-—Printsthese times. 160 PRINT "IN THE FUTURE." 170 IF T1>SO THEN GOTO 210 m= Checks if you tooklonger than your lifetime (50 years). Jumps toline 210if you did. 180 IF ABS(T-T2)<=5 THEN PRINT "YOU ARRIVED ON TIME"] Checksif 190 IF ABS(T-T2)>S THEN PRINT "NOT EVEN CLOSE" Meinl 200 STOP 5 years. 210 PRINT "YOU DIED ON THE Way" and prints 220 STOP amessage. Puzzle corner Can you work out how to change the program to dothe followingthings? The above listing will work on.a ZX81. For other computers, make the changes below. 1) Give a wider range of years which @10 HOME 410 PRINT CHR$(147) @30 LET T=INT(RND(0) #100+25) wae50 LET T=INT(RND(1)#100+25) within 5 years to within 2 years. 3)Shorten or lengthen your lifetime. must elapse before you return to Earth. 2) Increase the accuracy required from PRINT “DEATH VALLEY" LET S=0 LET M=200% PRINT "WIDTH?" INPUT W LET W=INT(W/2) LET L=10 LET Y= LET R=W Lepaces age Ofscreen Wat fax) tm ay How the program works Sets the number of goes used tozero forstart of game. ‘Mis the maximum number of goes allowed. Gets. a width number from you, dividesitby Zanduses INTtoremove any halves. L, YandRare the distances between walls and Speed Dart. Yantces Repsces fae ea gia eee ker. a Wat (Wat 1 Sa Sy 40100 LET D=INT (RNDS3-1) ————— Selects — 1, 0or +1 and putsit inD. 110 IF L+D20 THEN GOTO 100 120 130 140 LET R=R+D Checks L+Disn'tso bigor small that columns disappear off sides of screen. Changes spaces between columns accordingtothe value ofD. = =< 1 +D D +D skM4@145 SCROLL 150 LET N=L 160 GOSUB 1000 170 PRINT "I"3 180 LET N= Moves cursor L spaces across the screen and prints ‘1. (The semi-colon then stops the cursor going down to the next line.) Y ‘Moves cursor further ¥ 190 GOSUB 1000 ‘spacesand prints.* OO SAE STA ‘Moves cursor further R 210 LET N-R spaces and prints another!I. (Nosemi-colon this time, so 220 GOSUB 1000 ‘the cursor then goes downto PRINT “IE thenextline.) LET [SSI NKEYS ne Checks tosee if you are IF I$<>"Q" THEN GOTO 280 LET pressing akey. ‘Ifthe key you are pressing is “notQ, computer jumps to 280. Ifkey isQthen Yis decreased by one andR inereased by one so star moves left. Checks if key being pressed isP. pi sey tk pALN 30 LET M=INTCRNI #50410) #P 40 LET FP=INT(RND240+B80) SO LET CE=INT(RND440+80) 150 PRINT SOaPAANT, 170 PRINT 220 PRINT “MINE SELLING PRICI iW MUCH ORE JO SELL?" Asks how much ore you want 250 INPUT CS ‘to sell, puts it CS and checks 260 IF CSC THEN GOTO 240 you've got that much instore. 270 LET C=C-CS ‘Takes amount sold away from amountinstore. 280 LET M=M+CS#CP Works out how much ore sold 290 PRINT "HOW MANY MINES TO SELL?” See eee ce ee 300 INPUT LS Fe eee 310 IF LSL THEN GOTO 290 ‘Does the same process for 320 LET L=L-LS selling mines, 330 LET M=M+LSSLP 340 PRINT 350 PRINT “YOU HAVE + ‘Prints yournew money supply. 360 PRINT 370 PRINT “BUYING” Asks how 380 PRINT “HOW MUCH TO SPEND ON FOOD 7 (APPR. $100 EA.) “f—much you 390 INPUT FB wantto spendon food and puts this in FB. 400 IF FB120 THEN LET S=S+.1 according to how much you IF FB/P(80 THEN LET S=S-.2 spent on food. PRINT "HOW MANY MORE MINES TO BUY?" Asks how many mines you INPUT LB want to buy and checks you IF LBM THEN GOTO 440 canafford them. LET L=L+LB Increases number of minesif necessary. Adjusts your money again. IF S<.6 THEN GOTO 660 Checks on value of satisfaction factor. Ifthisis very low, computer jumps to 660toend the game. IF S>i.1 THEN LET CE=CE+INT(RNDS20+1)——IfS is high then amount produced permine is increased. .1fS low, amount produced is decreased. IF P/L<10 THEN GOTO 680————— thee are less than 10 people per mine, game is over. IF S¢.9 THEN LET CE=CE-INT(RND#20+1) IF S>1.1 THEN LET P=P+INT(RNDELO+1) More people arrive ifSishigh. IF S¢.9 THEN LET P=P-INT(RNDS10+1) People leave if is low. IF P<30 THEN GOTO 700 Ifthere areless than 30 IF RND>.01 THEN GOTO 590 ‘peonle Semen PRINT “RADIOACTIVE LEAK... Introduces small chance of LET P=INT(P/2) half the people being killed. IF CE<150 THEN GOTO 620 PRINT “MARKET GLUT - PRICE DROPS" iu torpaloe arenceeis LET CE=INT(CE/2> halved. LET vay¥e1 ‘Yearnumber increased by | andifit is less than 11, IF Y<11 THEN GOTO 70 4 PRINT "YOU SURVIVED YOUR TERN OF OFFICE" Computer goes backto90 for STOP : PRINT "THE PEOPLE REVOLTED" Prints ifthe computer STOP reaches this stage inthe PRINT “YOU'VE OVERWORKED EVERYONE" Program on your 10th go, STOP PRINT “NOT ENOUGH PEOPLE LEFT STOP Can you make the the money you have ended up with to thenew money supply for the next game? ey el-[ oa ate) You must make an urgent trip across the spiral arm of the Galaxy toa POG Cn tte ters Came ci rt tr such huge distances that for most of it you will be ina deep sleep, but before PAC soc hn Paseo eC Ca Ey sag much energy you want to allocate to the engines, life support system and CCE NCES SCE Crys oe oo When you wake up, it will give you a report on what happened during the trip and, if all went well, you will be orbiting the planet. You must now OCS south n Ce oem CRC ise e NCE NCCC Laie log to make a good landing on the planet. aCe otro CeO sae UC e tuto Cutten Pe ete cL tT aeid CLS 20 PRINT “SPACE RESCUE" Bem Ste 40 PRINT "DO YOU WANT INSTRUCTIONS? " Prob a emp ed *mae60 IF I$(1)= *m4070 LET bi lea ag we) cts ee cele led INT (RND#800+101) ees Teer ee) Teele aes DRO 4-17 kt Ad eed) 5 100 PRINT "THE PLANET IS "3D3;" UNITS AWAY" 110 PRINT “YOU HAVE ";E;" UNITS OF ENERGY" . 120 PRINT “AND A TIME LIMIT OF Orr eh coke 130 PRINT reas Ota cha Pease eae cree . 150 PRINT "TO ENGINES?" ad creme i. mae 170 PRINT "TO LIFE SUPPORT?" ct Tomei tan 190 PRINT "TO SHIELDS?" 200 INPUT S 210 IF P+L+S>E THEN GOTO 140 220 LET X=E-P-L-S : Paco e ay igtsic tOa By 5 . 240 LET T1=INT(D/V) 250 CLS / . 260 PRINT "YOUR VELOCITY IS 270 PRINT “YOU HAVE AN ETA OF ";Ti;" DAYS" PRINT iad TO INT(RND#5+6) *840300 IF RND>.S THEN GOTO 430 a PCT Meer sO ELIS) oa ra) 320 PRINT “ASTEROID bell is Poe Aiea #EAeS5O eer 350 *EA@S60 370 ctr 390 cir Peay 420 oo DN TMce core ete e 460 Py eL ett 490 4ags S00 505 rp ae) bse) roRie) Air ae) 0 S60 eran bot TO Setelty kai 1e) raseley sae) cate) cose) ate fobeley crt 670 ae cred cd 710 ree) rey ad - 740 LET S=S-20-INT(RND*40+1) GOTO 430 PRINT "COMPUTER BREAKDOWN - DELAY IN neem LET D=D+INT(RND*20+1) GOTO 430 PRINT "ENGINE TROUBLE - MUST SLOW DOWN" faa GOTO 430 PRINT "X-RAY DAMAGE - LIFE SUPPORT DAMAGED" LET L=L-20-INT (RND*40+1) FOR J=1 TO SO Som same | SE tet A io PRINT "ARRIVED IN "3;T1;" DAYS" IF ST THEN PRINT “YOU TOOK TOO LONG ABOUT: IT" IF _ST THEN STOP ‘ LET G=INT(RND*10+5) =a a cl ae IF G<12 THEN LET G$="MEDIUM" IF G<8 THEN LET G: LET A=INT(RND*10+5) [eae oP cl 7 Se Cts eS a IF A¢<8 THEN LET A‘ eae Pa setae , r as 4 RAO OM 8 Oe faceted ed PRINT "GRAVITY IS ";G6 7 a , . ae AMA : asta bs / an es RMT Mach mC 100 ist ea ae 2 PRINT “HOW MUCH ENERGY TO HEAT SHIELDS?" cata) . IF B+S>X THEN GOTO 680 (om) IF B>=G%10 THEN GOTO 770 Fee aan oad Le ee 27 CE eo) - Pee a ao a Pe NemceL (ee Le) ‘770 IF S>=Ak10 THEN GOTO 800 780 PRINT "YOU MADE A WONDERFUL SHOOTING STAR" . rem eLae MEL Le) oe +» 800 PRINT "YOU LANDED SUCCESSFULLY — WELL DONE" * 910 IF X-S-B>25 THEN GOTO 840 820 PRINT "PITY YOU DON’T HAVE ENOUGH" ass LM) A Sse SD ORAS a o 1000 PRINT a 1010 PRINT "YOU ARE ABOUT TO EMBARK ON A” 1020 PRINT "MISSION TO A DISTANT PLANET" 1030 PRINT “IN URGENT NEED OF MEDICAL" 1040 PRINT “SUPPLIES. YOU MUST FIRST READY" 1050 PRINT "YOUR SHIP FOR THE TRIP BY" O60 PRINT "ALLOCATING SOME OF THE SHIP’S" +1070 PRINT “ENERGY TO THE ENGINES, SHIELDS" . 1080 PRINT “AND LIFE-SUPPORT. YOU ARE" 1090 PRINT "THEN PUT TO SLEEP FOR THE MAIN" 1100, PRINT “PART OF THE TRIP, AFTER WHICH" Peet MERC te eC a pee OMe ae 1130 PRINT "THEN LAND ON THE PLANET 1140 PRINT i ae a *mae11S50 IF INKEY' THEN GOTO 1150 vt Seem eee 0 _ , : ‘The above listing will work on a ZX81.For 7 Cheeni cee nee Com ‘ Pee SR Cy na eS Crea) MS RES) : . @10, 250,470,730, 1160 HOME 410,250, 470,730,1160 PRINT CHR$ (147) i" Cie ie a ee Pe Od THEN GOSUB 1000 i *ma0310 ON INT(RND¥441) GOTO 320,350, 380,410 Or RS Breer} *430 FOR TO 1000 bse belt me ec as is e etc ee ed er " THEN GOTO 1150 maiis0 GET I$ : IF I$= hae ss Adding to the game This game is really made up of two parts. In the first part you set off onyour space journey with the aim of orbiting the planet and in the second you attempt to land on the planet. You could perhaps try adding a third part in which you make the treacherous crossing from the landing site tothe Intergalactic Red Cross H.Q. Touchdown WT ree eee ye tees sete yom eto ck tome Cesare cate ee an ene ere separate program for each one. Read the instructions on this page forhow Pe eo Ree Cte lns Oa Chest Pomerat RCE Aer Oh) a Ace space pilot, Captain Flash, is sitting next to you as you take the final part of your Advanced Spacecraft Handling Test (Part ITI). Your lightweight, two-man landing craft is rapidly approaching the Moon’s Pcs aoe tee rb oe ee aon a Cee Uae control the thrust, pressing A to increase it and D to decrease it*, watching Ba Coe eeu e Ck Ie begin to go back up again. Too little and you will make anew crater onthe Moon. Can youimpress Captain Flash with yourskill? BAC ort Cun cea Scene eet teeters Tg Ar eoerecrs CT MSS: Reta Promo 30 CLEAR 200 7 Sse ut ese ESE) Seer See ee aD cc Seen 34 M2$=" "+STRINGS (4,191) 35 MS$=CHRS (151) +CHRS (155) +9 THINGS PPebserie teeco ie Seese Crea ee) Cee mee) (et ete) eee me a) a ° Set mere et eer eee 50 Tee er ee a reece eat eee meray ea pUae eee ee Ce enaaal IF H¢=100 THEN 60 feet aera) canter) ro ect mee crt mrad fay ens Creer) Desa toe sre ) eR Oe Cee ees Cd ats ee es Pe Ores LCE DD aes COME Sa RET) Ole ee eee Ro ad ere} yan 100 Sana “LOST IN SPACE! !" at ORC oe Ct og PIERS se cd BO Weel) ea Po noae cs comes eee) nae meet) eet eta Zee To if tamed (ea te) ee mcrae) eae ed ao eet aera) eae) ao enter) ere mee earl oe ome eo eet eee) IF H1

You might also like