Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_52.ADF » U/HEXAGON

U/HEXAGON

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_52.ADF
Filename: U/HEXAGON
Read OK:
File size: 0C75 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There are 5 duplicate copies of this file in the archive:

File contents
   10REM HEXAGON PUZZLE
   20REM COPYRIGHT (C) G.LUDINSKI 1983
   30MODE6:VDU23;8202;0;0;0;19,7,0;0;:PROCins
   40MODE4:VDU23;8202;0;0;0;
   50DIM S(8),IP$(255)
   60VDU23,224,0,1,2,4,136,80,32,0
   70TE=0:CR=0:TIME=0
   80CLS
   90TE=TE+1
  100IF TE=11 OR TIME >=20000 THEN GOTO 670
  110REM
  120REM WORK OUT SEQUENCE
  130REM
  140S(1)=0
  150S(2)=INT(RND(1)*9+1)
  160IC=INT(RND(1)*4+1)
  170W=INT(RND(1)*5)
  180FOR I=3 TO 8
  190  IF W=0 THEN S(I)=2*S(I-1)-S(I-2)+IC:MS$="The interval increases by "+STR$(IC)+" each time"
  200  IF W=1 THEN S(I)=S(I-1)-S(I-2)+IC:MS$="Each number is the sum of the previous  two plus "+STR$(IC)
  210  IF W=2 THEN S(I)=S(2)^(I-1):MS$="Each number is "+STR$(S(2))+" to the power of 2,3,4, 5,6 and 7"
  220  IF W=3 AND I > 5 THEN S(3)=S(2):S(4)=IC:S(5)=INT((S(2)+IC)/2):S(I)=S(2)*S(I-3):MS$="Each number is "+STR$(S(2))+" times the number       opposite it"
  230  IF W=4 AND I > 5 THEN S(3)=S(2):S(4)=IC:S(5)=INT((S(2)+IC)/2):S(I)=IC*S(11-I):MS$="The numbers on the left hand side of thewheel are "+STR$(IC)+" times the numbers on the    right hand side"
  240NEXTI
  250FORI=1TO13:PRINT:NEXTI
  260REM
  270REM DISPLAY NUMBER WHEEL
  280REM
  290X1=640:Y1=704
  300X2=X1+259.81:Y2=Y1+150:Y3=Y1-150:X3=X1-259.81
  310MOVE X1,Y1+300
  320DRAW X2,Y2
  330DRAW X2,Y3
  340DRAW X1,Y1-300
  350DRAW X3,Y3
  360DRAW X3,Y2
  370DRAW X1,Y1+300
  380DRAW X1,Y1-300
  390MOVE X2,Y2:DRAW X3,Y3
  400MOVE X2,Y3:DRAW X3,Y2
  410IF S(8) > 26 THEN LE=0:PRINTTAB(21,5);S(3):PRINTTAB(23,10);S(4):PRINTTAB(21,14);S(5):PRINTTAB(14,14);S(6):PRINTTAB(12,10);S(7)
  420IF S(8) <= 26 THEN LE=1:PRINTTAB(21,5);CHR$(64+S(3)):PRINTTAB(23,10);CHR$(64+S(4)):PRINTTAB(21,14);CHR$(64+S(5)):PRINTTAB(18,14);CHR$(64+S(6)):PRINTTAB(16,10);CHR$(64+S(7))
  430REM
  440REM INPUT ANSWER
  450REM
  460IX=1
  470IP$(IX)=INKEY$(10):IF IP$(IX)="" THEN PRINTTAB(0,1);INT(TIME/100):GOTO 470
  480PRINTTAB(IX+13,5);IP$(IX);:IX=IX+1:IP$(IX)=GET$:IF IP$(IX) <> CHR$(13) THEN GOTO 480
  490I$="":FOR I=1 TO IX-1:I$=I$+IP$(I):NEXTI
  500REM
  510REM CHECK ANSWER
  520REM
  530*FX 15,1
  540IF LE=0 AND ABS(VAL(I$) - S(8)) <= LEN(I$)/2 THEN COLOUR1:VDU8:PRINTTAB(19,5);CHR$(224):CR=CR+1:COLOUR3:GOTO 610
  550IF LE=1 AND (I$=CHR$(64+S(8)) OR I$=CHR$(65+S(8))) THEN COLOUR1:VDU8:PRINTTAB(19,5);CHR$(224):CR=CR+1:COLOUR3:GOTO610
  560PRINTTAB(0,21)"No, the answer = ";
  570IF LE=0 THEN PRINT S(8)
  580IF LE=1 THEN PRINT CHR$(64+S(8))
  590IF LE=1 THEN PRINT'"Replace each letter by its position     number e.g. 1 for A, 2 for B etc."
  600PRINT:PRINT MS$
  610PRINTTAB(0,30)"Press <RETURN> to continue"
  620REPEATUNTILGET=13
  630GOTO80
  640REM
  650REM SCORE SHEET
  660REM
  670CLS:PRINT
  680PRINT"Number of puzzles completed = ";TE
  690PRINT'"Number correct = ";CR
  700PRINT'"Time taken = ";INT(TIME/100);" seconds"
  710IQ=INT(CR*100/5.3)
  720PRINT'"Your IQ level (numeracy) = ";IQ
  730PRINT
  740IF CR >= 7 THEN PRINT"This is classed as SUPERIOR (upper 10%)":GOTO770
  750IF CR = 6 THEN PRINT"This is classed as GOOD (upper 20%)":GOTO770
  760IF CR = 5 THEN PRINT"This is classed as FAIR (upper 60%)"
  770END
  780DEFPROCins
  790PRINTSPC(12);"HEXAGON PUZZLE"'SPC(10);"Genevieve Ludinski"'
  800PRINT'"YOU are really up against the clock on"'"this one as you must solve as many"'"puzzles as possible, in just 200"'"seconds. A series of numbers or letters"'"will be positioned around five of the"
  810PRINT"sides of a hexagon and you will be askedto provide the missing letter or number.The relationship between the numbers or"'"letters may be with their corresponding"'"number or letter on the opposite side of";
  820PRINT"the hexagon, or it may follow in"'"sequence from an adjacent number."''"The choice is yours!"
  830PRINT'"How to play"
  840PRINT"Key in the number, or letter, of your"'"choice and press <RETURN>."
  850VDU19,0,4;0;19,7,7;0;
  860PRINTTAB(13,24)"PRESS SPACE!";:*FX21
  870REPEATUNTILGET=32
  880ENDPROC

� HEXAGON PUZZLE
#� COPYRIGHT (C) G.LUDINSKI 1983
$�6:�23;8202;0;0;0;19,7,0;0;:�ins
(�4:�23;8202;0;0;0;
2� S(8),IP$(255)
<�23,224,0,1,2,4,136,80,32,0
FTE=0:CR=0:�=0
P�
ZTE=TE+1
d � TE=11 � � >=20000 � � �t^B
n�
x� WORK OUT SEQUENCE
��
�
S(1)=0
�S(2)=�(�(1)*9+1)
�IC=�(�(1)*4+1)
�W=�(�(1)*5)
�
� I=3 � 8
�Y  � W=0 � S(I)=2*S(I-1)-S(I-2)+IC:MS$="The interval increases by "+�(IC)+" each time"
�a  � W=1 � S(I)=S(I-1)-S(I-2)+IC:MS$="Each number is the sum of the previous  two plus "+�(IC)
�_  � W=2 � S(I)=S(2)^(I-1):MS$="Each number is "+�(S(2))+" to the power of 2,3,4, 5,6 and 7"
ܐ  � W=3 � I > 5 � S(3)=S(2):S(4)=IC:S(5)=�((S(2)+IC)/2):S(I)=S(2)*S(I-3):MS$="Each number is "+�(S(2))+" times the number       opposite it"
�  � W=4 � I > 5 � S(3)=S(2):S(4)=IC:S(5)=�((S(2)+IC)/2):S(I)=IC*S(11-I):MS$="The numbers on the left hand side of thewheel are "+�(IC)+" times the numbers on the    right hand side"
��I
��I=1�13:�:�I
�
� DISPLAY NUMBER WHEEL
�
"X1=640:Y1=704
,1X2=X1+259.81:Y2=Y1+150:Y3=Y1-150:X3=X1-259.81
6� X1,Y1+300
@� X2,Y2
J� X2,Y3
T� X1,Y1-300
^� X3,Y3
h� X3,Y2
r� X1,Y1+300
|� X1,Y1-300
�� X2,Y2:� X3,Y3
�� X2,Y3:� X3,Y2
�[� S(8) > 26 � LE=0:�21,5);S(3):�23,10);S(4):�21,14);S(5):�14,14);S(6):�12,10);S(7)
�z� S(8) <= 26 � LE=1:�21,5);�(64+S(3)):�23,10);�(64+S(4)):�21,14);�(64+S(5)):�18,14);�(64+S(6)):�16,10);�(64+S(7))
��
�� INPUT ANSWER
��
�IX=1
�7IP$(IX)=�(10):� IP$(IX)="" � �0,1);�(�/100):� �dVA
�E�IX+13,5);IP$(IX);:IX=IX+1:IP$(IX)=�:� IP$(IX) <> �(13) � � �d`A
�&I$="":� I=1 � IX-1:I$=I$+IP$(I):�I
��
�� CHECK ANSWER
�
*FX 15,1
P� LE=0 � �(�(I$) - S(8)) <= �(I$)/2 � �1:�8:�19,5);�(224):CR=CR+1:�3:� �DbB
&T� LE=1 � (I$=�(64+S(8)) � I$=�(65+S(8))) � �1:�8:�19,5);�(224):CR=CR+1:�3:�DbB
0�0,21)"No, the answer = ";
:� LE=0 � � S(8)
D� LE=1 � � �(64+S(8))
NZ� LE=1 � �'"Replace each letter by its position     number e.g. 1 for A, 2 for B etc."
X�:� MS$
b'�0,30)"Press <RETURN> to continue"
l
���=13
v	�DP@
��
�� SCORE SHEET
��
��:�
�(�"Number of puzzles completed = ";TE
��'"Number correct = ";CR
�)�'"Time taken = ";�(�/100);" seconds"
�IQ=�(CR*100/5.3)
�&�'"Your IQ level (numeracy) = ";IQ
��
�@� CR >= 7 � �"This is classed as SUPERIOR (upper 10%)":�TBC
�;� CR = 6 � �"This is classed as GOOD (upper 20%)":�TBC
�5� CR = 5 � �"This is classed as FAIR (upper 60%)"
�
	��ins
7�(12);"HEXAGON PUZZLE"'�(10);"Genevieve Ludinski"'
 ��'"YOU are really up against the clock on"'"this one as you must solve as many"'"puzzles as possible, in just 200"'"seconds. A series of numbers or letters"'"will be positioned around five of the"
*��"sides of a hexagon and you will be askedto provide the missing letter or number.The relationship between the numbers or"'"letters may be with their corresponding"'"number or letter on the opposite side of";
4c�"the hexagon, or it may follow in"'"sequence from an adjacent number."''"The choice is yours!"
>�'"How to play"
HI�"Key in the number, or letter, of your"'"choice and press <RETURN>."
R�19,0,4;0;19,7,7;0;
\!�13,24)"PRESS SPACE!";:*FX21
f
���=32
p�
�
00000000  0d 00 0a 14 f4 20 48 45  58 41 47 4f 4e 20 50 55  |..... HEXAGON PU|
00000010  5a 5a 4c 45 0d 00 14 23  f4 20 43 4f 50 59 52 49  |ZZLE...#. COPYRI|
00000020  47 48 54 20 28 43 29 20  47 2e 4c 55 44 49 4e 53  |GHT (C) G.LUDINS|
00000030  4b 49 20 31 39 38 33 0d  00 1e 24 eb 36 3a ef 32  |KI 1983...$.6:.2|
00000040  33 3b 38 32 30 32 3b 30  3b 30 3b 30 3b 31 39 2c  |3;8202;0;0;0;19,|
00000050  37 2c 30 3b 30 3b 3a f2  69 6e 73 0d 00 28 16 eb  |7,0;0;:.ins..(..|
00000060  34 3a ef 32 33 3b 38 32  30 32 3b 30 3b 30 3b 30  |4:.23;8202;0;0;0|
00000070  3b 0d 00 32 13 de 20 53  28 38 29 2c 49 50 24 28  |;..2.. S(8),IP$(|
00000080  32 35 35 29 0d 00 3c 1f  ef 32 33 2c 32 32 34 2c  |255)..<..23,224,|
00000090  30 2c 31 2c 32 2c 34 2c  31 33 36 2c 38 30 2c 33  |0,1,2,4,136,80,3|
000000a0  32 2c 30 0d 00 46 11 54  45 3d 30 3a 43 52 3d 30  |2,0..F.TE=0:CR=0|
000000b0  3a d1 3d 30 0d 00 50 05  db 0d 00 5a 0b 54 45 3d  |:.=0..P....Z.TE=|
000000c0  54 45 2b 31 0d 00 64 20  e7 20 54 45 3d 31 31 20  |TE+1..d . TE=11 |
000000d0  84 20 91 20 3e 3d 32 30  30 30 30 20 8c 20 e5 20  |. . >=20000 . . |
000000e0  8d 74 5e 42 0d 00 6e 05  f4 0d 00 78 17 f4 20 57  |.t^B..n....x.. W|
000000f0  4f 52 4b 20 4f 55 54 20  53 45 51 55 45 4e 43 45  |ORK OUT SEQUENCE|
00000100  0d 00 82 05 f4 0d 00 8c  0a 53 28 31 29 3d 30 0d  |.........S(1)=0.|
00000110  00 96 14 53 28 32 29 3d  a8 28 b3 28 31 29 2a 39  |...S(2)=.(.(1)*9|
00000120  2b 31 29 0d 00 a0 12 49  43 3d a8 28 b3 28 31 29  |+1)....IC=.(.(1)|
00000130  2a 34 2b 31 29 0d 00 aa  0f 57 3d a8 28 b3 28 31  |*4+1)....W=.(.(1|
00000140  29 2a 35 29 0d 00 b4 0d  e3 20 49 3d 33 20 b8 20  |)*5)..... I=3 . |
00000150  38 0d 00 be 59 20 20 e7  20 57 3d 30 20 8c 20 53  |8...Y  . W=0 . S|
00000160  28 49 29 3d 32 2a 53 28  49 2d 31 29 2d 53 28 49  |(I)=2*S(I-1)-S(I|
00000170  2d 32 29 2b 49 43 3a 4d  53 24 3d 22 54 68 65 20  |-2)+IC:MS$="The |
00000180  69 6e 74 65 72 76 61 6c  20 69 6e 63 72 65 61 73  |interval increas|
00000190  65 73 20 62 79 20 22 2b  c3 28 49 43 29 2b 22 20  |es by "+.(IC)+" |
000001a0  65 61 63 68 20 74 69 6d  65 22 0d 00 c8 61 20 20  |each time"...a  |
000001b0  e7 20 57 3d 31 20 8c 20  53 28 49 29 3d 53 28 49  |. W=1 . S(I)=S(I|
000001c0  2d 31 29 2d 53 28 49 2d  32 29 2b 49 43 3a 4d 53  |-1)-S(I-2)+IC:MS|
000001d0  24 3d 22 45 61 63 68 20  6e 75 6d 62 65 72 20 69  |$="Each number i|
000001e0  73 20 74 68 65 20 73 75  6d 20 6f 66 20 74 68 65  |s the sum of the|
000001f0  20 70 72 65 76 69 6f 75  73 20 20 74 77 6f 20 70  | previous  two p|
00000200  6c 75 73 20 22 2b c3 28  49 43 29 0d 00 d2 5f 20  |lus "+.(IC)..._ |
00000210  20 e7 20 57 3d 32 20 8c  20 53 28 49 29 3d 53 28  | . W=2 . S(I)=S(|
00000220  32 29 5e 28 49 2d 31 29  3a 4d 53 24 3d 22 45 61  |2)^(I-1):MS$="Ea|
00000230  63 68 20 6e 75 6d 62 65  72 20 69 73 20 22 2b c3  |ch number is "+.|
00000240  28 53 28 32 29 29 2b 22  20 74 6f 20 74 68 65 20  |(S(2))+" to the |
00000250  70 6f 77 65 72 20 6f 66  20 32 2c 33 2c 34 2c 20  |power of 2,3,4, |
00000260  35 2c 36 20 61 6e 64 20  37 22 0d 00 dc 90 20 20  |5,6 and 7"....  |
00000270  e7 20 57 3d 33 20 80 20  49 20 3e 20 35 20 8c 20  |. W=3 . I > 5 . |
00000280  53 28 33 29 3d 53 28 32  29 3a 53 28 34 29 3d 49  |S(3)=S(2):S(4)=I|
00000290  43 3a 53 28 35 29 3d a8  28 28 53 28 32 29 2b 49  |C:S(5)=.((S(2)+I|
000002a0  43 29 2f 32 29 3a 53 28  49 29 3d 53 28 32 29 2a  |C)/2):S(I)=S(2)*|
000002b0  53 28 49 2d 33 29 3a 4d  53 24 3d 22 45 61 63 68  |S(I-3):MS$="Each|
000002c0  20 6e 75 6d 62 65 72 20  69 73 20 22 2b c3 28 53  | number is "+.(S|
000002d0  28 32 29 29 2b 22 20 74  69 6d 65 73 20 74 68 65  |(2))+" times the|
000002e0  20 6e 75 6d 62 65 72 20  20 20 20 20 20 20 6f 70  | number       op|
000002f0  70 6f 73 69 74 65 20 69  74 22 0d 00 e6 b9 20 20  |posite it"....  |
00000300  e7 20 57 3d 34 20 80 20  49 20 3e 20 35 20 8c 20  |. W=4 . I > 5 . |
00000310  53 28 33 29 3d 53 28 32  29 3a 53 28 34 29 3d 49  |S(3)=S(2):S(4)=I|
00000320  43 3a 53 28 35 29 3d a8  28 28 53 28 32 29 2b 49  |C:S(5)=.((S(2)+I|
00000330  43 29 2f 32 29 3a 53 28  49 29 3d 49 43 2a 53 28  |C)/2):S(I)=IC*S(|
00000340  31 31 2d 49 29 3a 4d 53  24 3d 22 54 68 65 20 6e  |11-I):MS$="The n|
00000350  75 6d 62 65 72 73 20 6f  6e 20 74 68 65 20 6c 65  |umbers on the le|
00000360  66 74 20 68 61 6e 64 20  73 69 64 65 20 6f 66 20  |ft hand side of |
00000370  74 68 65 77 68 65 65 6c  20 61 72 65 20 22 2b c3  |thewheel are "+.|
00000380  28 49 43 29 2b 22 20 74  69 6d 65 73 20 74 68 65  |(IC)+" times the|
00000390  20 6e 75 6d 62 65 72 73  20 6f 6e 20 74 68 65 20  | numbers on the |
000003a0  20 20 20 72 69 67 68 74  20 68 61 6e 64 20 73 69  |   right hand si|
000003b0  64 65 22 0d 00 f0 06 ed  49 0d 00 fa 10 e3 49 3d  |de".....I.....I=|
000003c0  31 b8 31 33 3a f1 3a ed  49 0d 01 04 05 f4 0d 01  |1.13:.:.I.......|
000003d0  0e 1a f4 20 44 49 53 50  4c 41 59 20 4e 55 4d 42  |... DISPLAY NUMB|
000003e0  45 52 20 57 48 45 45 4c  0d 01 18 05 f4 0d 01 22  |ER WHEEL......."|
000003f0  11 58 31 3d 36 34 30 3a  59 31 3d 37 30 34 0d 01  |.X1=640:Y1=704..|
00000400  2c 31 58 32 3d 58 31 2b  32 35 39 2e 38 31 3a 59  |,1X2=X1+259.81:Y|
00000410  32 3d 59 31 2b 31 35 30  3a 59 33 3d 59 31 2d 31  |2=Y1+150:Y3=Y1-1|
00000420  35 30 3a 58 33 3d 58 31  2d 32 35 39 2e 38 31 0d  |50:X3=X1-259.81.|
00000430  01 36 0f ec 20 58 31 2c  59 31 2b 33 30 30 0d 01  |.6.. X1,Y1+300..|
00000440  40 0b df 20 58 32 2c 59  32 0d 01 4a 0b df 20 58  |@.. X2,Y2..J.. X|
00000450  32 2c 59 33 0d 01 54 0f  df 20 58 31 2c 59 31 2d  |2,Y3..T.. X1,Y1-|
00000460  33 30 30 0d 01 5e 0b df  20 58 33 2c 59 33 0d 01  |300..^.. X3,Y3..|
00000470  68 0b df 20 58 33 2c 59  32 0d 01 72 0f df 20 58  |h.. X3,Y2..r.. X|
00000480  31 2c 59 31 2b 33 30 30  0d 01 7c 0f df 20 58 31  |1,Y1+300..|.. X1|
00000490  2c 59 31 2d 33 30 30 0d  01 86 13 ec 20 58 32 2c  |,Y1-300..... X2,|
000004a0  59 32 3a df 20 58 33 2c  59 33 0d 01 90 13 ec 20  |Y2:. X3,Y3..... |
000004b0  58 32 2c 59 33 3a df 20  58 33 2c 59 32 0d 01 9a  |X2,Y3:. X3,Y2...|
000004c0  5b e7 20 53 28 38 29 20  3e 20 32 36 20 8c 20 4c  |[. S(8) > 26 . L|
000004d0  45 3d 30 3a f1 8a 32 31  2c 35 29 3b 53 28 33 29  |E=0:..21,5);S(3)|
000004e0  3a f1 8a 32 33 2c 31 30  29 3b 53 28 34 29 3a f1  |:..23,10);S(4):.|
000004f0  8a 32 31 2c 31 34 29 3b  53 28 35 29 3a f1 8a 31  |.21,14);S(5):..1|
00000500  34 2c 31 34 29 3b 53 28  36 29 3a f1 8a 31 32 2c  |4,14);S(6):..12,|
00000510  31 30 29 3b 53 28 37 29  0d 01 a4 7a e7 20 53 28  |10);S(7)...z. S(|
00000520  38 29 20 3c 3d 20 32 36  20 8c 20 4c 45 3d 31 3a  |8) <= 26 . LE=1:|
00000530  f1 8a 32 31 2c 35 29 3b  bd 28 36 34 2b 53 28 33  |..21,5);.(64+S(3|
00000540  29 29 3a f1 8a 32 33 2c  31 30 29 3b bd 28 36 34  |)):..23,10);.(64|
00000550  2b 53 28 34 29 29 3a f1  8a 32 31 2c 31 34 29 3b  |+S(4)):..21,14);|
00000560  bd 28 36 34 2b 53 28 35  29 29 3a f1 8a 31 38 2c  |.(64+S(5)):..18,|
00000570  31 34 29 3b bd 28 36 34  2b 53 28 36 29 29 3a f1  |14);.(64+S(6)):.|
00000580  8a 31 36 2c 31 30 29 3b  bd 28 36 34 2b 53 28 37  |.16,10);.(64+S(7|
00000590  29 29 0d 01 ae 05 f4 0d  01 b8 12 f4 20 49 4e 50  |)).......... INP|
000005a0  55 54 20 41 4e 53 57 45  52 0d 01 c2 05 f4 0d 01  |UT ANSWER.......|
000005b0  cc 08 49 58 3d 31 0d 01  d6 37 49 50 24 28 49 58  |..IX=1...7IP$(IX|
000005c0  29 3d bf 28 31 30 29 3a  e7 20 49 50 24 28 49 58  |)=.(10):. IP$(IX|
000005d0  29 3d 22 22 20 8c 20 f1  8a 30 2c 31 29 3b a8 28  |)="" . ..0,1);.(|
000005e0  91 2f 31 30 30 29 3a e5  20 8d 64 56 41 0d 01 e0  |./100):. .dVA...|
000005f0  45 f1 8a 49 58 2b 31 33  2c 35 29 3b 49 50 24 28  |E..IX+13,5);IP$(|
00000600  49 58 29 3b 3a 49 58 3d  49 58 2b 31 3a 49 50 24  |IX);:IX=IX+1:IP$|
00000610  28 49 58 29 3d be 3a e7  20 49 50 24 28 49 58 29  |(IX)=.:. IP$(IX)|
00000620  20 3c 3e 20 bd 28 31 33  29 20 8c 20 e5 20 8d 64  | <> .(13) . . .d|
00000630  60 41 0d 01 ea 26 49 24  3d 22 22 3a e3 20 49 3d  |`A...&I$="":. I=|
00000640  31 20 b8 20 49 58 2d 31  3a 49 24 3d 49 24 2b 49  |1 . IX-1:I$=I$+I|
00000650  50 24 28 49 29 3a ed 49  0d 01 f4 05 f4 0d 01 fe  |P$(I):.I........|
00000660  12 f4 20 43 48 45 43 4b  20 41 4e 53 57 45 52 0d  |.. CHECK ANSWER.|
00000670  02 08 05 f4 0d 02 12 0c  2a 46 58 20 31 35 2c 31  |........*FX 15,1|
00000680  0d 02 1c 50 e7 20 4c 45  3d 30 20 80 20 94 28 bb  |...P. LE=0 . .(.|
00000690  28 49 24 29 20 2d 20 53  28 38 29 29 20 3c 3d 20  |(I$) - S(8)) <= |
000006a0  a9 28 49 24 29 2f 32 20  8c 20 fb 31 3a ef 38 3a  |.(I$)/2 . .1:.8:|
000006b0  f1 8a 31 39 2c 35 29 3b  bd 28 32 32 34 29 3a 43  |..19,5);.(224):C|
000006c0  52 3d 43 52 2b 31 3a fb  33 3a e5 20 8d 44 62 42  |R=CR+1:.3:. .DbB|
000006d0  0d 02 26 54 e7 20 4c 45  3d 31 20 80 20 28 49 24  |..&T. LE=1 . (I$|
000006e0  3d bd 28 36 34 2b 53 28  38 29 29 20 84 20 49 24  |=.(64+S(8)) . I$|
000006f0  3d bd 28 36 35 2b 53 28  38 29 29 29 20 8c 20 fb  |=.(65+S(8))) . .|
00000700  31 3a ef 38 3a f1 8a 31  39 2c 35 29 3b bd 28 32  |1:.8:..19,5);.(2|
00000710  32 34 29 3a 43 52 3d 43  52 2b 31 3a fb 33 3a e5  |24):CR=CR+1:.3:.|
00000720  8d 44 62 42 0d 02 30 1f  f1 8a 30 2c 32 31 29 22  |.DbB..0...0,21)"|
00000730  4e 6f 2c 20 74 68 65 20  61 6e 73 77 65 72 20 3d  |No, the answer =|
00000740  20 22 3b 0d 02 3a 13 e7  20 4c 45 3d 30 20 8c 20  | ";..:.. LE=0 . |
00000750  f1 20 53 28 38 29 0d 02  44 19 e7 20 4c 45 3d 31  |. S(8)..D.. LE=1|
00000760  20 8c 20 f1 20 bd 28 36  34 2b 53 28 38 29 29 0d  | . . .(64+S(8)).|
00000770  02 4e 5a e7 20 4c 45 3d  31 20 8c 20 f1 27 22 52  |.NZ. LE=1 . .'"R|
00000780  65 70 6c 61 63 65 20 65  61 63 68 20 6c 65 74 74  |eplace each lett|
00000790  65 72 20 62 79 20 69 74  73 20 70 6f 73 69 74 69  |er by its positi|
000007a0  6f 6e 20 20 20 20 20 6e  75 6d 62 65 72 20 65 2e  |on     number e.|
000007b0  67 2e 20 31 20 66 6f 72  20 41 2c 20 32 20 66 6f  |g. 1 for A, 2 fo|
000007c0  72 20 42 20 65 74 63 2e  22 0d 02 58 0b f1 3a f1  |r B etc."..X..:.|
000007d0  20 4d 53 24 0d 02 62 27  f1 8a 30 2c 33 30 29 22  | MS$..b'..0,30)"|
000007e0  50 72 65 73 73 20 3c 52  45 54 55 52 4e 3e 20 74  |Press <RETURN> t|
000007f0  6f 20 63 6f 6e 74 69 6e  75 65 22 0d 02 6c 0a f5  |o continue"..l..|
00000800  fd a5 3d 31 33 0d 02 76  09 e5 8d 44 50 40 0d 02  |..=13..v...DP@..|
00000810  80 05 f4 0d 02 8a 11 f4  20 53 43 4f 52 45 20 53  |........ SCORE S|
00000820  48 45 45 54 0d 02 94 05  f4 0d 02 9e 07 db 3a f1  |HEET..........:.|
00000830  0d 02 a8 28 f1 22 4e 75  6d 62 65 72 20 6f 66 20  |...(."Number of |
00000840  70 75 7a 7a 6c 65 73 20  63 6f 6d 70 6c 65 74 65  |puzzles complete|
00000850  64 20 3d 20 22 3b 54 45  0d 02 b2 1c f1 27 22 4e  |d = ";TE.....'"N|
00000860  75 6d 62 65 72 20 63 6f  72 72 65 63 74 20 3d 20  |umber correct = |
00000870  22 3b 43 52 0d 02 bc 29  f1 27 22 54 69 6d 65 20  |";CR...).'"Time |
00000880  74 61 6b 65 6e 20 3d 20  22 3b a8 28 91 2f 31 30  |taken = ";.(./10|
00000890  30 29 3b 22 20 73 65 63  6f 6e 64 73 22 0d 02 c6  |0);" seconds"...|
000008a0  14 49 51 3d a8 28 43 52  2a 31 30 30 2f 35 2e 33  |.IQ=.(CR*100/5.3|
000008b0  29 0d 02 d0 26 f1 27 22  59 6f 75 72 20 49 51 20  |)...&.'"Your IQ |
000008c0  6c 65 76 65 6c 20 28 6e  75 6d 65 72 61 63 79 29  |level (numeracy)|
000008d0  20 3d 20 22 3b 49 51 0d  02 da 05 f1 0d 02 e4 40  | = ";IQ........@|
000008e0  e7 20 43 52 20 3e 3d 20  37 20 8c 20 f1 22 54 68  |. CR >= 7 . ."Th|
000008f0  69 73 20 69 73 20 63 6c  61 73 73 65 64 20 61 73  |is is classed as|
00000900  20 53 55 50 45 52 49 4f  52 20 28 75 70 70 65 72  | SUPERIOR (upper|
00000910  20 31 30 25 29 22 3a e5  8d 54 42 43 0d 02 ee 3b  | 10%)":..TBC...;|
00000920  e7 20 43 52 20 3d 20 36  20 8c 20 f1 22 54 68 69  |. CR = 6 . ."Thi|
00000930  73 20 69 73 20 63 6c 61  73 73 65 64 20 61 73 20  |s is classed as |
00000940  47 4f 4f 44 20 28 75 70  70 65 72 20 32 30 25 29  |GOOD (upper 20%)|
00000950  22 3a e5 8d 54 42 43 0d  02 f8 35 e7 20 43 52 20  |":..TBC...5. CR |
00000960  3d 20 35 20 8c 20 f1 22  54 68 69 73 20 69 73 20  |= 5 . ."This is |
00000970  63 6c 61 73 73 65 64 20  61 73 20 46 41 49 52 20  |classed as FAIR |
00000980  28 75 70 70 65 72 20 36  30 25 29 22 0d 03 02 05  |(upper 60%)"....|
00000990  e0 0d 03 0c 09 dd f2 69  6e 73 0d 03 16 37 f1 89  |.......ins...7..|
000009a0  28 31 32 29 3b 22 48 45  58 41 47 4f 4e 20 50 55  |(12);"HEXAGON PU|
000009b0  5a 5a 4c 45 22 27 89 28  31 30 29 3b 22 47 65 6e  |ZZLE"'.(10);"Gen|
000009c0  65 76 69 65 76 65 20 4c  75 64 69 6e 73 6b 69 22  |evieve Ludinski"|
000009d0  27 0d 03 20 c8 f1 27 22  59 4f 55 20 61 72 65 20  |'.. ..'"YOU are |
000009e0  72 65 61 6c 6c 79 20 75  70 20 61 67 61 69 6e 73  |really up agains|
000009f0  74 20 74 68 65 20 63 6c  6f 63 6b 20 6f 6e 22 27  |t the clock on"'|
00000a00  22 74 68 69 73 20 6f 6e  65 20 61 73 20 79 6f 75  |"this one as you|
00000a10  20 6d 75 73 74 20 73 6f  6c 76 65 20 61 73 20 6d  | must solve as m|
00000a20  61 6e 79 22 27 22 70 75  7a 7a 6c 65 73 20 61 73  |any"'"puzzles as|
00000a30  20 70 6f 73 73 69 62 6c  65 2c 20 69 6e 20 6a 75  | possible, in ju|
00000a40  73 74 20 32 30 30 22 27  22 73 65 63 6f 6e 64 73  |st 200"'"seconds|
00000a50  2e 20 41 20 73 65 72 69  65 73 20 6f 66 20 6e 75  |. A series of nu|
00000a60  6d 62 65 72 73 20 6f 72  20 6c 65 74 74 65 72 73  |mbers or letters|
00000a70  22 27 22 77 69 6c 6c 20  62 65 20 70 6f 73 69 74  |"'"will be posit|
00000a80  69 6f 6e 65 64 20 61 72  6f 75 6e 64 20 66 69 76  |ioned around fiv|
00000a90  65 20 6f 66 20 74 68 65  22 0d 03 2a d4 f1 22 73  |e of the"..*.."s|
00000aa0  69 64 65 73 20 6f 66 20  61 20 68 65 78 61 67 6f  |ides of a hexago|
00000ab0  6e 20 61 6e 64 20 79 6f  75 20 77 69 6c 6c 20 62  |n and you will b|
00000ac0  65 20 61 73 6b 65 64 74  6f 20 70 72 6f 76 69 64  |e askedto provid|
00000ad0  65 20 74 68 65 20 6d 69  73 73 69 6e 67 20 6c 65  |e the missing le|
00000ae0  74 74 65 72 20 6f 72 20  6e 75 6d 62 65 72 2e 54  |tter or number.T|
00000af0  68 65 20 72 65 6c 61 74  69 6f 6e 73 68 69 70 20  |he relationship |
00000b00  62 65 74 77 65 65 6e 20  74 68 65 20 6e 75 6d 62  |between the numb|
00000b10  65 72 73 20 6f 72 22 27  22 6c 65 74 74 65 72 73  |ers or"'"letters|
00000b20  20 6d 61 79 20 62 65 20  77 69 74 68 20 74 68 65  | may be with the|
00000b30  69 72 20 63 6f 72 72 65  73 70 6f 6e 64 69 6e 67  |ir corresponding|
00000b40  22 27 22 6e 75 6d 62 65  72 20 6f 72 20 6c 65 74  |"'"number or let|
00000b50  74 65 72 20 6f 6e 20 74  68 65 20 6f 70 70 6f 73  |ter on the oppos|
00000b60  69 74 65 20 73 69 64 65  20 6f 66 22 3b 0d 03 34  |ite side of";..4|
00000b70  63 f1 22 74 68 65 20 68  65 78 61 67 6f 6e 2c 20  |c."the hexagon, |
00000b80  6f 72 20 69 74 20 6d 61  79 20 66 6f 6c 6c 6f 77  |or it may follow|
00000b90  20 69 6e 22 27 22 73 65  71 75 65 6e 63 65 20 66  | in"'"sequence f|
00000ba0  72 6f 6d 20 61 6e 20 61  64 6a 61 63 65 6e 74 20  |rom an adjacent |
00000bb0  6e 75 6d 62 65 72 2e 22  27 27 22 54 68 65 20 63  |number."''"The c|
00000bc0  68 6f 69 63 65 20 69 73  20 79 6f 75 72 73 21 22  |hoice is yours!"|
00000bd0  0d 03 3e 13 f1 27 22 48  6f 77 20 74 6f 20 70 6c  |..>..'"How to pl|
00000be0  61 79 22 0d 03 48 49 f1  22 4b 65 79 20 69 6e 20  |ay"..HI."Key in |
00000bf0  74 68 65 20 6e 75 6d 62  65 72 2c 20 6f 72 20 6c  |the number, or l|
00000c00  65 74 74 65 72 2c 20 6f  66 20 79 6f 75 72 22 27  |etter, of your"'|
00000c10  22 63 68 6f 69 63 65 20  61 6e 64 20 70 72 65 73  |"choice and pres|
00000c20  73 20 3c 52 45 54 55 52  4e 3e 2e 22 0d 03 52 17  |s <RETURN>."..R.|
00000c30  ef 31 39 2c 30 2c 34 3b  30 3b 31 39 2c 37 2c 37  |.19,0,4;0;19,7,7|
00000c40  3b 30 3b 0d 03 5c 21 f1  8a 31 33 2c 32 34 29 22  |;0;..\!..13,24)"|
00000c50  50 52 45 53 53 20 53 50  41 43 45 21 22 3b 3a 2a  |PRESS SPACE!";:*|
00000c60  46 58 32 31 0d 03 66 0a  f5 fd a5 3d 33 32 0d 03  |FX21..f....=32..|
00000c70  70 05 e1 0d ff                                    |p....|
00000c75
U/HEXAGON.m0
U/HEXAGON.m1
U/HEXAGON.m2
U/HEXAGON.m4
U/HEXAGON.m5