★ AMSTRAD CPC ★ GAMESLIST ★ FRUIT MACHINE (HOME COMPUTING WEEKLY) (c) HOME COMPUTING WEEKLY ★

Home Computing Weekly
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

Richard Kemley's fruit machine game is fust like the real thing — but you don't lose any money

This is a fruit machine simulation, with most of the features you would expect of an arcade fruit machine, except the cally-doh payout. There is a list of the keys here, which are hopefully quite sensible.

Hints on conversion

If you have cither a good grasp of Amstrad BASIC or an Amstrad manual then conversion should be simple enough. Otherwise rewriting the program yourself would be a far more educational and rewarding task. It isn't too difficult a program to write anyway, but if you get stuck, you can always refer to the appropriate segment of my program.

Remember to use the modular approach to programming. The best method is to first of all write down all the subroutines you think you will need, and make these into REM statements using sensible line numbers. For example, you could take my list of subroutines on this page and type them in. When you list the program you should have just a list of REMs. Then write the BASIC for these subroutines.

When you have done this for all the REMs, write a control routine at the beginning which calls up all the subroutines (in the right order, remember).

Using this method, debugging is amazingly simple. Use BREAKPOINTS, which are STOP statements placed strategically in a program.

For example, if you have an error but don't know where it is in the program, then place a STOP statement somewhere in your control routine, then RUN the program. If the error hasn't cropped up by the time the
program STOPs, then the error comes after the STOP statement, otherwise it comes before it. Then you can place another STOP somewhere else, thus homing in on the error.

This way you can easily isolate the faulty subroutine and fix it. This is much better than having to wade through lines of garbage programming, as I like to call it.

Home Computing Weekly #119

FRUIT MACHINE (HOME COMPUTING WEEKLY)
(c) HOME COMPUTING WEEKLY

AUTHOR: Richard Kemley

★ YEAR: 1985
★ LANGUAGE:
★ GENRE: INGAME MODE 1 , OTHER GAME , FRUIT MACHINE , BASIC
★ LiCENCE: LISTING

 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listings:
» Fruit  Machine    (Home  Computing  Weekly)    LISTING    ENGLISHDATE: 2016-10-22
DL: 239
TYPE: PDF
SiZE: 1554Ko
NOTE: Uploaded by hERMOL ; 8 pages/PDFlib v1.6

» Fruit  Machine    (Home  Computing  Weekly)    LISTING    ENGLISHDATE: 2016-10-23
DL: 242
TYPE: text
SiZE: 20Ko
NOTE: Uploaded by CPCLOV ;

Je participe au site:
» Vous avez des infos personnel, des fichiers que nous ne possédons pas concernent ce jeu ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop
Page créée en 214 millisecondes et consultée 823 fois

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.