When the program is run you will see a large clock, a mouse, a piece of cheese, a window for questions and answers and a fruit machine-type object with a lever: this the right/wrong machine. Next, you see in the window the question "What is the Time?". You will have noticed that the clock has acquired a pair of hands and using these as a guide you must answer the question. Numbers should be entered as figures rather than words: Quarter, Half, Past and To must be typed fully; O'Clock must be typed fully with an apostrophe (Shift 7) after the 'O' ; and there must be a space between each word or number. After an answer is entered, the lever on the right/wrong machine is pulled. If the answer is right the face at the end of the lever smiles and mouse moves one pace towards the cheese, otherwise the exact opposite happens. When the cheese is reached, a score and assessment is given. Program notes
- 80-130 Define characters.
- 170-200 Draw clock as 2 concentric circles.
- 220-230 Print numbers.
- 250-260 Print mouse and cheese.
- 290 Define Windows.
- 310-320 Draw right/wrong machine.
- 340-390 Select random time, draw hands.
- 410-450 Work out correct string for answer.
- 470-480 Asks time.
- 820-540 Activate machine.
- 560-620 Checks whether answer is correct.
- 640-660 Tune.
- 680-740 Prints score and assessment.
- 750-760 Error detected.
PopularComputingWeekly860109 ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop Page créée en 002 millisecondes et consultée 1568 foisL'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. |
|
|