★ AMSTRAD CPC ★ GAMESLIST ★ RUNE-CASTER (c) COMPUTER GAMER ★ |
COMPUTER GAMER |
Many computer adventures contain references to 'Runes'as does the classic Tolkien book 'The Lord of the Rings'. But what were the Runes? They were the written language of the Icelandic and Northern European peoples - including the Vikings. They look nothing like the letters of our alphabet which are of Arabic origin. My program simulates a fortune-telling method that might have been used by a Shaman The 25 Runes are kept in a bag and 9 drawn out at random These are then æthrown' one at a time onto the cloth. Finally, information on how it interpret each Rune is displayed; this depends on the Rune, the way it falls, position and relation to other Runes. The program To keep the program to a reasonable length, I have removed al REM statements and shortened all variable names to 2 characters maximum. The most interesting part of the program is the drawing of the runes at different angles in the plane of the paper. Data for drawing each rune upright is held amongst the data statements. Data for each line consists of 4 parts - Move relative x1,y1: Draw relative x2,y2. “Move relative” is actually equivalent to a “Draw relative” command using an invisible ink. So both commands can be thought of as drawing lines. These lines are manipulated by the Defined Functions in line 80 according to the angle the tune is to be turned through. (This is why relative rather than absolute commands are used). In the Defined function statements - an is the angle in degrees, in is the scale, and ax/ay the data for the realative move or draw.
Breakdown
COMPUTER GAMER #17 |
|
|
Page créée en 256 millisecondes et consultée 1369 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. |