»Pec/i 'a/j. YOUR BEST BUYER'S GUIDE TOSOFTWARE Feburary/March 1985 £195 'LADDERS AND 'PLATFORMS-A STEP 'BY STEP GUIDE DEADLY OR DANGEROUS YOU MASTER ACORNSOFT'S !TE TODAY, 5? =7 ?
(SPECTRUM ADVENTURE! ITS A full adventure specially written for zxc by Alan Davis, author of Temptation> ? ra* x 'it. Software's 'The Journey Anyone familiar with that marvellous program "The Hobbit" will be aware of the features that set it apart from traditional adventure games. Even setting aside the graphics, and the fact that it is based upon a masterpiece of imaginative fiction, one finds a curious vitality in the game due to the independence of the characters in it, and one's ability to communicate with them. " Dungeon" is an attempt to introduce (in a limited way) independent action into a short text adventure. The game is written entirely in BASIC, but in practice has a fairly respectable response time largely because the vocabulary is fairly small, but also because the most commonly used subroutines are places early in the program. The most imoortant of these are described below. Movement routine (Lines 200-290). Permitted moves are stored in the array r( 13,6) — 13 locations, and 6 possible directions of movement. Lines 205 to230 check the legitimacy of a move and execute it, The following lines print the description of the new location, any visible objects, and the new set of permitted movements. Decode input routine (lines 500-540). This decodes the input string z$ into a maximum of four separate words and stores these as the strings a$ , b$ , c$ , and d$ . Four word decoding is necessary for instructions such as "tell jailer drop spoon", or "give spoon to jailer". Main input routine (lines 100-190). The input is tested against the program's vocabulary. Note that the vocabulary is listed in data statements: verbs at line 25, portable objects at line 30, characters at line 35, and nonportable objects at line 4 0. a$ is tested against the verbs, and b$ against the nouns, and the appropriate subroutine called for that verb (line 1 60). If a$ = "tell", and b$ corresponds to a character present at that location, then the strings c$ and d$ are called and the test procedure repeated on the character's behalf. Independent action routine (lines 700-900) Lines 700 to 722 select a character at random and check to determine whether he is in the present location. (This is in fact done twice in order to make action more likely.) The following lines then select the appropriate action, governed mostly by the RND function, but also in some cases by the charm of the player, or the strength of the character. Charm and strength The player's strength is registered in the variable t, and the strength of the 3 characters in the array t(3). His charm varies from one character to another, and is held in the array k(3). Note the effect of this on the likelihood of a character co-operating with the player (line 330, called at line 1117). The game You may tell the characters to do anything you can do, except move between locations. The hobbit will in any case tend to follow you around, once released. The jailer moves of his own accord between the dungeons and the guardroom. There are a number of ways of increasing a character's affection for you you could, for example, give him
- Page 1 and 2:
Special New Supplement ^ ^ ^ ^ The
- Page 3 and 4:
THE FASTEST WAY TO GET THE BEST PRO
- Page 5 and 6:
3MW ZX Coin puling is published bi-
- Page 7 and 8:
How to play Valhalla Dear Sirs, t l
- Page 9 and 10:
Bugs Dear ZX Computing My children
- Page 11 and 12:
S$ Mid$ (S$, 7,4) becomes: LET S$ =
- Page 13 and 14:
4-00 FOR - = i "0 INT ( RND»7 4-£
- Page 15 and 16:
and 'new paragraph' in the text so
- Page 17 and 18:
POWERFUL AND INEXPENSIVE BUSINESS S
- Page 19 and 20:
PASS ALL THE QUESTIONS AND DISCOVER
- Page 21 and 22:
one to review it right away! Our co
- Page 23 and 24:
"nn 1 COMMM JOYSTICKS MMM The Cheet
- Page 25 and 26: 1010 PRINT "INPUT THE LENGTH 1020 I
- Page 27 and 28: Meet the Gang! IsT EVER MULTI-ROLE
- Page 29 and 30: had a vague idea that professional
- Page 31 and 32: PAUL MCCARTNEY'S When the ^ music s
- Page 33 and 34: This message is transmitted in stan
- Page 35 and 36: SPECTRUM UTILITY A PRESENT FROM UNC
- Page 37 and 38: (S^ JZ i f ratte A b faa 32256 7E00
- Page 39 and 40: 3606,0: POKE 2360-', 60: STOP LET y
- Page 41 and 42: REWRITE THE HIGH SCORE TABLES So, y
- Page 43 and 44: 300-360 400-420 500-520 600-640 650
- Page 45 and 46: 312 IF PT1 A—1 THEN PRINT * VERY
- Page 47 and 48: 1266 GO SUB 90 1267 FOR A=2 TO 5: P
- Page 49 and 50: 1550 PRINT AT 5,2;"1";TAB 9; "2"; T
- Page 51 and 52: Well take you beyond the Spectrum.
- Page 53 and 54: ething • congame, :US Ex a God le
- Page 55 and 56: mm e. Ca^® ROCKET MAN LOOK! NOW TH
- Page 57 and 58: twenty entrants who make up the mos
- Page 59 and 60: •'LEVELS not iust revision but al
- Page 61 and 62: Educational Software are at: 20 Bea
- Page 63 and 64: , >. 5 OR ATTR =62 THEN LE T it=ltM
- Page 65 and 66: • 8115 DATA 24,24,24,60,126,126,2
- Page 67 and 68: 985 SPECIAL FEATURE come on in Prog
- Page 69 and 70: TT You are Captain of the Earthship
- Page 71 and 72: HOPE YOU HNYT A NOTE OF ^HE" R.E YW
- Page 73 and 74: ZX PROGRAMMING CREATING AN ADVENTUR
- Page 75: FIGURE 5. ZX8 7 VERB SET UP 8000 DI
- Page 79 and 80: 145 IF b»( TO 3>=n«( TO 3) THEN G
- Page 81 and 82: 5 URN 1199 REM ** GET 1200 IF tell
- Page 83 and 84: ND x 3 2350 2332 10 THEN 7 THEN SPE
- Page 85 and 86: he path, to"*"prepare your peopl e
- Page 87 and 88: 5 furolrj * C/e Of Bain raor t e Fa
- Page 89 and 90: tions. Last time, I described the s
- Page 91 and 92: Fig. 2. Demonstration of Z80 Arithm
- Page 93 and 94: ZX PROGRAMMING The hexloader places
- Page 95 and 96: The Collins Collection Collins have
- Page 97 and 98: 5 of saving the creatures on this p
- Page 99 and 100: varying degrees of Artificial Intel
- Page 101 and 102: • GENERAL ARTICLE SCREEN MACHINE
- Page 103 and 104: n. et or 985 cancelled by bad weath
- Page 105 and 106: variable string A$, the last two di
- Page 107 and 108: SHARP'S INVADES ENGLAND! WAR in the
- Page 109 and 110: VK R v . m > FX:;,* N ' 4 - 4 i A'*
- Page 111 and 112: Alphabetical order Dear David, I ha
- Page 113 and 114: SK1 • connected. When you are sat
- Page 115 and 116: [SOFTWARE REVIEWS! An extended sect
- Page 117 and 118: the program come in the form of a f
- Page 119 and 120: SPECTRUM GAME PATIENCE V — PAIRS
- Page 121 and 122: 1630 FOR N- ; PAPER 6 i 1640 640 IF
- Page 123 and 124: Getting a program typed in is often
- Page 125 and 126: [PROGRAMMING TIPS) ZX81 Spectrum Co
- Page 127 and 128:
up with codes 63 and 64 the same as
- Page 129 and 130:
Lineage: 40p per word. F^ 1 mSmm Se
- Page 131:
NAVIGATOR Shy. StAil and InMligmt-P