|★ AMSTRAD CPC ★ GAMESLIST ★ THE DIZZY STARLINE AND THE GOWONG COMPUTER (c) COMPUTING WITH THE AMSTRAD ★|
|Computing With The Amstrad|
You are the captain of a Dizzy Starline cargoship and your company - verging on bankruptcy as usual - has told you to sell your cargo to salvage the firm's finances.
Your cargo of Gowong personal computers have to be sold in each of the 49 sectors in quadrant 10 of the galaxy.
Unfortunately, due to a few defects in manufacture, the Gowong computers, on the orders of the Galactic Trade Federation, are being withdrawn from sale in 49 galactic days.
These same defects make it inadvisable to return to a sector after selling your cargo there.
You have contracts in four of the sectors and must deliver in these sectors on a particular day, not before and not after.
Each hyperspace jump between sectors takes one galactic day. However your starship, manufactured by a subsidiary of the Gowong Company, has a minor defect in its hyperspace drive and can only make jumps similar to a knight's move in chess.
So your task is to work out a route that will visit each of the 49 sectors once and only once and also meet your delivery dates.
To help you, Arnold, the ship's computer, will display a grid map of the quadrant showing your firm delivery dates, your spaceship and a trail of planets to show you which sectors you have visited.
He will also give you full instructions on how to use the map, the nature of the problem and keep track of your moves to stop you if you get stuck, fail to meet a delivery date or try to make an invalid move.
Arnold - who is not manufactured by the Gowong Computer Company-will also, if asked, show you his solution to the problem. See if you can prove your human supremacy and find a different solution.
The program is heavily structured with one main section, the Calling Menu, from line 270-480. This displays the four options available, calls the selected option and ends each game.
The subroutine game loop from line 700 to 780 controls the flow of each game and is clearly REMmed. hopefully making the program logic easy to follow.
All arithmetic is integer, so I've taken the opportunity to use the DEFINT function in line 130, forcing string variables using the $ symbol.
CPCrulez[Content Management System] v8.7-desktop/cache
L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.