★ AMSTRAD CPC ★ GAMESLIST ★ APHABET TRAIN (c) AMSTRAD SEMANAL/COMPUTING WITH THE AMSTRAD ★ |
Computing with the Amstrad |
YOUNGSTERS just learning to read will have great fun with this educational game. Without realising it, they'll be improving their shape recognition and spelling while pretending to be a crane driver loading lorries. A word is displayed at the bottom of the screen and just above there is a train loaded with all the letters of the alphabet. At the top of the screen is a crane and on the right is an empty lorry. The object of the game is to use the crane to pick the letters of the word, in the right order, off the train and to transfer them to the waiting lorry. When the last letter has been placed on the lorry it drives off. The old word is then replaced by a new one, and the lorry reverses on to the screen after dumping its load. The crane controls are very simple, so even toddlers can play. The train can be moved left and right using the left and right cursor keys and the letter directly below the crane can be picked up by pressing the cursor down key. If you have a joystick then this can be used instead. The most important part of the program is the subroutine to select a word and the list of words themselves. This is at the end of the program. The first data statement contains the number of words. You can have as many as you want, just place the number there. The rest of the data statements contain the words. These can be any words up to five letters long. If they are longer they won't fit on the back of the truck. If you don't like our selection simply type in your own. There is no need to have lower case letters if you don't want them. Line 410 initialises the string. As you can see from the listing, characters 97 to 122 are used. These are the lower case alphabetic characters. In fact any 26 consecutive characters could be substituted. You could even define your own. If you are typing the program into a CPC664 you'll need to increase the volume parameter of the sound commands or it will be too quiet. CWTA |
|
|
Page créée en 661 millisecondes et consultée 1079 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. |