www.jupiter-ace.co.uk
|
Previous Page > Listings Index > Meteor - PCWeekly 20 March 1983. |
|
Meteor Popular Computing Weekly 24-30 March 1983, page 19.
|
Meteor
on Ace
You are in a Space Ship where you have accidentally plunged into a meteor storm and as the Space Ship Commander you have to navigate through the storm.
The ship can withstand the impact of two meteorites and is destroyed by the third. A score is then displayed on the screen with random beeps from the computer.
The program can be run in fast or slow mode and the speed can be adjusted by altering the
|
Beep in the world Game. The word Point can be useful in other programs requiring two numbers on the stack and replaces it by the ascii value of the character occupying that square.
The program is started by entering the word Game. The spaceship is moved from side to side using the 5 and 8 keys. After completion of the game press Break to stop the Bleeps. To play again enter Game.
If the program does not work and the ship does not move correctly, the error will be in the words Ship and Move. If the
|
UFO's do not move up the screen, you will most probably have left the CR's off the end of the word UFO.
The game requires a random number generator. A routine is included from the
Ace manual. The words Seed, Seedon, Rnd and Rand are used.
First set up the following characters:
: GR 8 * 11263 + DUP 8 + DO I C! -1 + LOOP ;
: SHIP 40 124 84 124 254 186 146 0 1 GR ; : METEOR 28 62 127 255 255 254 124 56 2 GR ; This program should be tested, saved and verified, then use Forget GR to allow sufficient memory for the main program.
|
Meteor
by G E Richards |
||
|