★ AMSTRAD CPC ★ GAMESLIST ★ PALINDROMIC (BACK TO FRONT) PUZZLE (COMPUTING WITH THE AMSTRAD) (c) COMPUTING WITH THE AMSTRAD ★

Computing with the Amstrad
★ 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 ★ 

SOLUTIONS ('86/12)

The winning solution to the prize puzzle in the September 1986 issue of Computing with the Amstred was sent in by Geoffrey Franklin of Alvechurch, Birmingham.

He solved it using graph paper, producing the diagram shown in Figure III - the micro was only used to check that the result worked with the published program.

Geoffrey's prize is a copy of Grasp, a graphical package to display and help solve equations.
Solving the dropping bricks problem in the November 1986 issue of Computing with the Amstrad believe it or not is ALL that sequential computers do.

It is called a Turing machine after the British mathematician Alan Mathieson Turing who invented it in the 1930s.

It was a pure "thought" machine and yet it revealed certain fundamental limitations on what any computer (or human) can calculate. Certain problems, although they must have an answer, are non-computable.

Probably the most famous of these problems is to decide whether or not a given Turing machine (or program) will stop.

A subset of this problem is to find, for a given number of cards, the stopping program that leaves the most bricks in the rooms.

This is called the Busy Beaver problem and, although studied for
more than 20 years, the answer for five or more cards is still unknown.

In order to explain and clarify the problem, I have written Program II which accepts any five card set of instructions.

The rooms are in the array R with P as the pointer to the current room. Note that there are a generous 700 rooms and P starts in room 20.

Line 110 does all the work. From the data it gets the next three instructions which tell it to:

(1) Drop a brick or dear the room f5 or 0 in R(P)).

(2) Move East or West fadd 1 or-1 to P).

(3) Get the next three data items and count moves until ON ERROR.

If you run this program you should find that it takes about 23 minutes to make 134,467 moves, which leave 501 "bricks" or 5s in the array R.

PALINDROMIC (BACK TO FRONT) PUZZLE (COMPUTING WITH THE AMSTRAD)
(c) COMPUTING WITH THE AMSTRAD

Author(s): ???

★ YEAR: 1986
★ LANGUAGE:
★ GENRE: BASIC , 1K
★ LiCENCE: LISTING
★ COLLECTIONS: COMPUTING WITH THE AMSTRAD 1986 , COMPUTING WITH THE AMSTRAD 1986

 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» Palindromic  (Back  to  Front)  Puzzle    (Computing  with  the  Amstrad)    ENGLISHDATE: 2020-07-25
DL: 133
TYPE: ZIP
SiZE: 4Ko
NOTE: 40 Cyls
.HFE: Χ

Je participe au site:
» Vous avez des infos personnel ?
» 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/c
Page créée en 376 millisecondes et consultée 461 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.