★ AMSTRAD CPC ★ GAMESLIST ★ RUNE-CASTER (c) COMPUTER GAMER ★

COMPUTER GAMER
★ 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 ★ 

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.
They were invented by the Shaman - a sort of Druid - who saw their shapes in patterns made by twigs and branches of trees. One of the major uses of the Runes was in telling the future. For this, the Runes were carved on blocks of wood and cast on a cloth.

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 includes full Instructions, it is intended as an amusing game - don't take the results seriously! Life for the Viking was mostly a grim, hard struggle, and the Runes tend to reflect this.

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, m is the scale, and ax/ay the data for the realative move or draw.
A large number of arrays are used as follows:-

  • ps (24,2) Runes can fall on a 8 by 8 grid This array gives the x, y coordinates for each square and its Importance
  • re (7,3) Data to draw the edges of a rune (8 lines)
  • rc (24.6.3) Date to draw the lines of each rune. (The number of lines varies - so seven lines - the maximum - has been used. For less lines, the data statements are ended with zeros
  • t (24,1) Old Norse and English titles of runes
  • w (24,2 ) Meanings of runes - upright, sideways or upside down
  • n (8) Which of 24 runes selected for each of 9 runes
  • m (8) Position on gird/importance selected for each of 9
  • d (8) Rune upright, sideways or down (1.0.-1) for each of 9
  • f (8) Rune face up or down for each of 9

Breakdown

  • 30-70 subroutines
  • 80-120 print title, set up
  • 130-170 choose runes
  • 180-230 casting the runes
  • 240-320 interpreting the runes
  • 330-370 data for symbols, title and bag picture
  • 380-470 data for rune border and rune drawings
  • 480 data positions and importance
  • 490-660 data rune names and meanings
  • 670-710 instructions
  • 720-730 fill out arrays (while instructions are read)

COMPUTER GAMER #17

RUNE-CASTER
(c) COMPUTER GAMER

AUTHOR: DAVID MUIR

★ YEAR: 1986
★ LANGUAGE:
★ GENRE: BASIC

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Rune-Caster    (Computer  Gamer)    LISTING    ENGLISHDATE: 2016-02-10
DL: 119 fois
TYPE: PDF
SIZE: 3520Ko
NOTE: 4 pages/PDFlib v1.6

Je participe au site:
» Newfile(s) upload/Envoye de fichier(s)

QUE DIT LA LOI FRANÇAISE:

L'alinéa 8 de l'article L122-5 du Code de la propriété intellectuelle explique que « Lorsque l'œuvre a été divulguée, l'auteur ne peut interdire la reproduction d'une œuvre et sa représentation effectuées à des fins de conservation ou destinées à préserver les conditions de sa consultation à des fins de recherche ou détudes privées par des particuliers, dans les locaux de l'établissement et sur des terminaux dédiés par des bibliothèques accessibles au public, par des musées ou par des services d'archives, sous réserve que ceux-ci ne recherchent aucun avantage économique ou commercial ». Pas de problème donc pour nous!

CPCrulez[Content Management System] v8.7-desktop/cache
Page créée en 089 millisecondes et consultée 866 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.