Click Here To Go To The Database Publications Archive



-
%SHOW_TITLE%

Cover Art






GOLF

Tee-off for a day on the links, but be prepared for a rough time

GOLF Fancy a day on the links? You don't have to go further than your Electron with this version of Golf by Roland Waddilove.

See how many shots it takes you to get round the course. There are bunkers, lakes and lots of rough all waiting for you to tee off.

It's easy to play - all the instructions are in the game. You can go round the course by yourself or have up to four companions playing against you.

So type it in and drive off. But be prepared for a rough time if your game is under par.

Variables
players Number of players
holed() Stores whether a player has holed his ball or not
shots() How many shots each player has made
position() x,y coordinates of each player's position
in-hazard() Stores whether a player is in a hazard or not
hole Number of hole
n,i,j Used in loops
x%,y%,nx%,ny% Temporary x,y coordinates of player's position
direction% Which way the ball is to be hit, 1-8
distance% How far the ball is to be hit, 1-200
lost-ball Whether a ball is lost or not

Improvements/Modifications
Alter the number of holes played, or add a new procedure PROCnumber-of-holes to ask how many holes you want to play.

Ask whether you want to play again when the game is over. See whether you can print a flag next to each player's ball when it is his turn, to show where it is.

Procedures
PROCinitialise Defines the characters used in the program, and the envelope used. Switched off the cursor keys, auto repeat and ESCAPE. Redefines the BREAK key.
PROCinstructions Prints the instructions and shows the characters used
PROCset-variables Turns off the cursor, defines a graphics window for the course and sets colours 9-13 to flashing black and white so the ball can be seen on any background. Inputs the number of players and sets up the arrays used
PROCdraw-hole Calls PROCcourse to colour the course green, PROCtrees to draw the trees and PROCfairway to draw the fairway which is made up of small yellow triangles. There is a 1 in 5 chance of calling PROClake to draw a lake. Prints the hole and the flag.
PROCplay-hole Sets the start position() for all the playerrs, that are not in the hole or in a hazard so hole()=FALSE. For each player PROCshot is called if not in the hole until all the players are in the hole.
PROCshot Calls PROCinput-direction, PROCinput-distance, PROCcalculate-point to find where the ball lands and PROChit-ball to draw a line to the new position
PROCinput-direction Must be 1-8
PROCinput-distance If in-hazard() then the distance is random up to what you type in
PROCcalculate-point On direction% GOTO is used to select the correct calculation to work out the ball's new position
PROChit-ball Draws a line to the new position and calls PROCcheck-position to find out where the ball has landed
PROCscores Prints out each player's score
PROCgame-over Restores the auto-repeat, cursor keys and ESCAPE

GUESS THE WORD

By Pete Davidson

GUESS THE WORD In GUESS THE WORD, your Electron will think of a word and it's then up to you to guess what it is.

You start with a score of 10. If you have no idea what the word is, pressing RETURN will display another one of its letters, but loses you points.

You don't lose points for wrong guesses, but you do for guesses that are the wrong length.

You're not stuck with the words we give you. You can put your own in the DATA lines at the end of the program.

But remember that the computer will automatically take the first third of the list as easy, the next third as medium and the last third as hard.

If you want mroe than 100 words total, you must also change the DIM in line 250.

Variables
A$ Answer to questions
A% Average score
C% Choice
D Dummy
G$ Your guess
G% Number of tries
L$ Letter being given to you
N% Number of words
P% Position of letter in W$
R$ Letters remaining
R% Running total score
S% Score
T% Tab position
W$(I%) Array of words
W$ Selected word
 
Procedures
PROCINSTRUCT Prints out the instructions
PROCINIT Initialises the variables and reads in the words
PROCSELECT You enter your option (easy, medium, hard) and this procedure selects a word from the appropriate third of the data. It then prints the correct number of dashes on the screen
PROCENTER Takes in your guess of the word
PROCLETTER Selects a letter (if requested) and prints it in the appropriate position
PROCCHECK Checks your guess against the selected word
PROCDISPLAY Prints your score and average at the top of the screen
PROCSCORE Prints out the score details at the end of the game

SOLITAIRE

SOLITAIRE SOLITAIRE is the Electron version of the age-old game of logic and patience.

Run the program and your screen will display the solitaire board and its pegs. Just tell the Electron which peg you want to move - the instructions are in the game - and it wll do it for you.

It will also tell you if you try an illegal move.

And if you decide you can't solve the puzzle, just press ESCAPE and your micro will tell you how you've performed.

It's not hard to play but it is hard to solve. And you'll find it both amusing and addictive.

Electron SOLITAIRE will still be testing your brian long after you've grown tired of blasting aliens.

Cover Art Language(s): English
Compatibility: Acorn Electron
Release: Magazine available via High Street/Mail Order
Original Release Date: 1st Jul 1984
Links: Everygamegoing,

Cover Art