Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_56.ADF » U/PATTERN

U/PATTERN

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_56.ADF
Filename: U/PATTERN
Read OK:
File size: 0951 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

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

File contents
   10REM Pattern Pairs
   20REM Copyright (C) G. Ludinski 1983
   30DIM X(4,3),Y(4,3),C(4)
   40MODE6:VDU23;8202;0;0;0;19,7,0;0;:PROCins
   50MODE5:VDU23;8202;0;0;0;0;
   60NU=0:CR=0:TIME=0
   70VDU19,1,0;0;19,2,0;0;19,3,0;0;:CLS
   80NU=NU+1
   90PT=0:PC=0
  100REM
  110REM DRAW FRAMEWORK
  120REM
  130GCOL0,2:COLOUR3
  140MOVE426,255:DRAW426,1023
  150MOVE852,255:DRAW852,1023
  160MOVE0,255:DRAW1279,255
  170MOVE0,510:DRAW1279,510
  180MOVE0,765:DRAW1279,765
  190REM
  200REM GENERATE SHAPES
  210REM
  220W1=RND(9)
  230W2=RND(9):IF W2=W1 THEN 230
  240W$=STR$(W1)+STR$(W2)
  250W1$=STR$(W2)+STR$(W1)
  260FORI=1TO4
  270  C(I)=INT(RND(1)*3+1)
  280  FORJ=1TO3
  290    X(I,J)=INT(RND(1)*320+30)
  300    Y(I,J)=INT(RND(1)*160+30)
  310  NEXTJ
  320NEXTI
  330REM
  340REM DRAW PATTERNS
  350REM
  360FORJ=765TO255STEP-255
  370  FORI=0TO852STEP426
  380    PROC_PATTERN(I,J)
  390  NEXTI
  400NEXTJ
  410REM
  420REM QUESTION
  430REM
  440PRINTTAB(1,25)"Which two patterns     are the same":COLOUR1:PRINTTAB(6,27)"?";:VDU19,1,1;0;19,2,3;0;19,3,7;0;
  450I$="":I=0:IC=0
  460I1$=INKEY$(0):IF I1$="" OR I1$<"1" OR I1$>"9" THEN 460
  470PRINTI1$;:IF IC=0 THEN PRINT" and ";
  480IF IC=0 THEN IC=IC+1:I$=I$+I1$:GOTO460
  490I$=I$+I1$
  500IF I$=W$ OR I$=W1$ THEN COLOUR2:PRINT''" Yes, you're right!":SOUND1,-15,101,30:CR=CR+1:GOTO520
  510VDU5:MOVE296,92:GCOL0,3:PRINT"No, ";LEFT$(W$,1);" and ";RIGHT$(W$,1):SOUND1,-15,73,10:SOUND1,-15,69,5:VDU4
  520PRINTTAB(5,31)"More (Y/N)";
  530I=GET
  540IFI=89ORI=121 THEN 70
  550REM
  560REM SCORE SHEET
  570REM
  580MODE6:VDU23;8202;0;0;0;19,7,0;0;
  590PRINT'SPC(13)"Pattern Pairs"
  600FORI=1TO9:PRINT:NEXTI
  610PRINT'"Problems completed = ";NU
  620TM=INT(TIME/100)
  630PRINT'"Problems correct = ";CR
  640PRINT'"Time taken = ";TM;" secs"
  650IF CR<>0 THEN PRINT'"Time/problem = ";INT(TM/CR);" secs"
  660VDU19,7,7;0;:END
  670:
  680DEFPROC_PATTERN(XD,YD)
  690PT=PT+1
  700PRINTTAB(((20*XD)/1279)+1,31-(32*YD)/1023);PT
  710IF PT=VAL(RIGHT$(W$,1)) OR PT=VAL(LEFT$(W$,1)) THEN H1=80:H2=80:H3=80:GOTO730
  720PC=PC+1:H1=PC*10:H2=PC*10:H3=PC*10
  730FORL=1TO4
  740  CL=RND(3):IF PT=VAL(RIGHT$(W$,1)) OR PT=VAL(LEFT$(W$,1)) THEN CL=C(L)
  750  GCOL0,CL
  760  MOVE (X(L,1)+XD+H1),(Y(L,1)+YD+H1)
  770  MOVE (X(L,2)+XD+H2),(Y(L,2)+YD+H1)
  780  PLOT 85,(X(L,3)+XD+H3),(Y(L,3)+YD-INT(H1/2))
  790NEXTL
  800ENDPROC
  810:
  820DEFPROCins
  830PRINTSPC(13);"PATTERN PAIRS"'SPC(9)"By Genevieve Ludinski"'
  840PRINT''"IN this program, nine patterns are"'"displayed on the screen. Your task is toidentify the two patterns which match"'"and input the corresponding numbers."
  850PRINT''"Numbers do not need to be in chrono-    logical order and correct answers are   rewarded with a high-pitched note."
  860PRINT''"You can also see a score sheet of your  progress by choosing <N> in response to the 'More (Y/N)' prompt which appears   after each completed guess."
  870VDU19,0,4;0;19,7,7;0;
  880PRINTTAB(14,24)"PRESS SPACE";:*FX21
  890REPEATUNTILGET=32
  900ENDPROC

� Pattern Pairs
$� Copyright (C) G. Ludinski 1983
� X(4,3),Y(4,3),C(4)
($�6:�23;8202;0;0;0;19,7,0;0;:�ins
2�5:�23;8202;0;0;0;0;
<NU=0:CR=0:�=0
F"�19,1,0;0;19,2,0;0;19,3,0;0;:�
PNU=NU+1
Z
PT=0:PC=0
d�
n� DRAW FRAMEWORK
x�
��0,2:�3
��426,255:�426,1023
��852,255:�852,1023
��0,255:�1279,255
��0,510:�1279,510
��0,765:�1279,765
��
�� GENERATE SHAPES
��
�W1=�(9)
�W2=�(9):� W2=W1 � �df@
�W$=�(W1)+�(W2)
�W1$=�(W2)+�(W1)

�I=1�4
  C(I)=�(�(1)*3+1)
  �J=1�3
"    X(I,J)=�(�(1)*320+30)
,    Y(I,J)=�(�(1)*160+30)
6  �J
@�I
J�
T� DRAW PATTERNS
^�
h�J=765�255�-255
r  �I=0�852�426
|    �_PATTERN(I,J)
�  �I
��J
��
�� QUESTION
��
�\�1,25)"Which two patterns     are the same":�1:�6,27)"?";:�19,1,1;0;19,2,3;0;19,3,7;0;
�I$="":I=0:IC=0
�0I1$=�(0):� I1$="" � I1$<"1" � I1$>"9" � �dLA
��I1$;:� IC=0 � �" and ";
�$� IC=0 � IC=IC+1:I$=I$+I1$:�dLA
�
I$=I$+I1$
�N� I$=W$ � I$=W1$ � �2:�''" Yes, you're right!":�1,-15,101,30:CR=CR+1:�THB
�M�5:�296,92:�0,3:�"No, ";�W$,1);" and ";�W$,1):�1,-15,73,10:�1,-15,69,5:�4
�5,31)"More (Y/N)";
I=�
�I=89�I=121 � �DF@
&�
0� SCORE SHEET
:�
D�6:�23;8202;0;0;0;19,7,0;0;
N�'�(13)"Pattern Pairs"
X�I=1�9:�:�I
b �'"Problems completed = ";NU
lTM=�(�/100)
v�'"Problems correct = ";CR
� �'"Time taken = ";TM;" secs"
�2� CR<>0 � �'"Time/problem = ";�(TM/CR);" secs"
��19,7,7;0;:�
�:
���_PATTERN(XD,YD)
�PT=PT+1
�*�((20*XD)/1279)+1,31-(32*YD)/1023);PT
�;� PT=�(�W$,1)) � PT=�(�W$,1)) � H1=80:H2=80:H3=80:�dZB
�&PC=PC+1:H1=PC*10:H2=PC*10:H3=PC*10
�
�L=1�4
�5  CL=�(3):� PT=�(�W$,1)) � PT=�(�W$,1)) � CL=C(L)
�  �0,CL
�%  � (X(L,1)+XD+H1),(Y(L,1)+YD+H1)
%  � (X(L,2)+XD+H2),(Y(L,2)+YD+H1)
-  � 85,(X(L,3)+XD+H3),(Y(L,3)+YD-�(H1/2))
�L
 �
*:
4	��ins
>7�(13);"PATTERN PAIRS"'�(9)"By Genevieve Ludinski"'
H��''"IN this program, nine patterns are"'"displayed on the screen. Your task is toidentify the two patterns which match"'"and input the corresponding numbers."
R{�''"Numbers do not need to be in chrono-    logical order and correct answers are   rewarded with a high-pitched note."
\��''"You can also see a score sheet of your  progress by choosing <N> in response to the 'More (Y/N)' prompt which appears   after each completed guess."
f�19,0,4;0;19,7,7;0;
p �14,24)"PRESS SPACE";:*FX21
z
���=32
��
�
00000000  0d 00 0a 13 f4 20 50 61  74 74 65 72 6e 20 50 61  |..... Pattern Pa|
00000010  69 72 73 0d 00 14 24 f4  20 43 6f 70 79 72 69 67  |irs...$. Copyrig|
00000020  68 74 20 28 43 29 20 47  2e 20 4c 75 64 69 6e 73  |ht (C) G. Ludins|
00000030  6b 69 20 31 39 38 33 0d  00 1e 18 de 20 58 28 34  |ki 1983..... X(4|
00000040  2c 33 29 2c 59 28 34 2c  33 29 2c 43 28 34 29 0d  |,3),Y(4,3),C(4).|
00000050  00 28 24 eb 36 3a ef 32  33 3b 38 32 30 32 3b 30  |.($.6:.23;8202;0|
00000060  3b 30 3b 30 3b 31 39 2c  37 2c 30 3b 30 3b 3a f2  |;0;0;19,7,0;0;:.|
00000070  69 6e 73 0d 00 32 18 eb  35 3a ef 32 33 3b 38 32  |ins..2..5:.23;82|
00000080  30 32 3b 30 3b 30 3b 30  3b 30 3b 0d 00 3c 11 4e  |02;0;0;0;0;..<.N|
00000090  55 3d 30 3a 43 52 3d 30  3a d1 3d 30 0d 00 46 22  |U=0:CR=0:.=0..F"|
000000a0  ef 31 39 2c 31 2c 30 3b  30 3b 31 39 2c 32 2c 30  |.19,1,0;0;19,2,0|
000000b0  3b 30 3b 31 39 2c 33 2c  30 3b 30 3b 3a db 0d 00  |;0;19,3,0;0;:...|
000000c0  50 0b 4e 55 3d 4e 55 2b  31 0d 00 5a 0d 50 54 3d  |P.NU=NU+1..Z.PT=|
000000d0  30 3a 50 43 3d 30 0d 00  64 05 f4 0d 00 6e 14 f4  |0:PC=0..d....n..|
000000e0  20 44 52 41 57 20 46 52  41 4d 45 57 4f 52 4b 0d  | DRAW FRAMEWORK.|
000000f0  00 78 05 f4 0d 00 82 0b  e6 30 2c 32 3a fb 33 0d  |.x.......0,2:.3.|
00000100  00 8c 16 ec 34 32 36 2c  32 35 35 3a df 34 32 36  |....426,255:.426|
00000110  2c 31 30 32 33 0d 00 96  16 ec 38 35 32 2c 32 35  |,1023.....852,25|
00000120  35 3a df 38 35 32 2c 31  30 32 33 0d 00 a0 14 ec  |5:.852,1023.....|
00000130  30 2c 32 35 35 3a df 31  32 37 39 2c 32 35 35 0d  |0,255:.1279,255.|
00000140  00 aa 14 ec 30 2c 35 31  30 3a df 31 32 37 39 2c  |....0,510:.1279,|
00000150  35 31 30 0d 00 b4 14 ec  30 2c 37 36 35 3a df 31  |510.....0,765:.1|
00000160  32 37 39 2c 37 36 35 0d  00 be 05 f4 0d 00 c8 15  |279,765.........|
00000170  f4 20 47 45 4e 45 52 41  54 45 20 53 48 41 50 45  |. GENERATE SHAPE|
00000180  53 0d 00 d2 05 f4 0d 00  dc 0b 57 31 3d b3 28 39  |S.........W1=.(9|
00000190  29 0d 00 e6 1a 57 32 3d  b3 28 39 29 3a e7 20 57  |)....W2=.(9):. W|
000001a0  32 3d 57 31 20 8c 20 8d  64 66 40 0d 00 f0 12 57  |2=W1 . .df@....W|
000001b0  24 3d c3 28 57 31 29 2b  c3 28 57 32 29 0d 00 fa  |$=.(W1)+.(W2)...|
000001c0  13 57 31 24 3d c3 28 57  32 29 2b c3 28 57 31 29  |.W1$=.(W2)+.(W1)|
000001d0  0d 01 04 0a e3 49 3d 31  b8 34 0d 01 0e 16 20 20  |.....I=1.4....  |
000001e0  43 28 49 29 3d a8 28 b3  28 31 29 2a 33 2b 31 29  |C(I)=.(.(1)*3+1)|
000001f0  0d 01 18 0c 20 20 e3 4a  3d 31 b8 33 0d 01 22 1d  |....  .J=1.3..".|
00000200  20 20 20 20 58 28 49 2c  4a 29 3d a8 28 b3 28 31  |    X(I,J)=.(.(1|
00000210  29 2a 33 32 30 2b 33 30  29 0d 01 2c 1d 20 20 20  |)*320+30)..,.   |
00000220  20 59 28 49 2c 4a 29 3d  a8 28 b3 28 31 29 2a 31  | Y(I,J)=.(.(1)*1|
00000230  36 30 2b 33 30 29 0d 01  36 08 20 20 ed 4a 0d 01  |60+30)..6.  .J..|
00000240  40 06 ed 49 0d 01 4a 05  f4 0d 01 54 13 f4 20 44  |@..I..J....T.. D|
00000250  52 41 57 20 50 41 54 54  45 52 4e 53 0d 01 5e 05  |RAW PATTERNS..^.|
00000260  f4 0d 01 68 13 e3 4a 3d  37 36 35 b8 32 35 35 88  |...h..J=765.255.|
00000270  2d 32 35 35 0d 01 72 12  20 20 e3 49 3d 30 b8 38  |-255..r.  .I=0.8|
00000280  35 32 88 34 32 36 0d 01  7c 16 20 20 20 20 f2 5f  |52.426..|.    ._|
00000290  50 41 54 54 45 52 4e 28  49 2c 4a 29 0d 01 86 08  |PATTERN(I,J)....|
000002a0  20 20 ed 49 0d 01 90 06  ed 4a 0d 01 9a 05 f4 0d  |  .I.....J......|
000002b0  01 a4 0e f4 20 51 55 45  53 54 49 4f 4e 0d 01 ae  |.... QUESTION...|
000002c0  05 f4 0d 01 b8 5c f1 8a  31 2c 32 35 29 22 57 68  |.....\..1,25)"Wh|
000002d0  69 63 68 20 74 77 6f 20  70 61 74 74 65 72 6e 73  |ich two patterns|
000002e0  20 20 20 20 20 61 72 65  20 74 68 65 20 73 61 6d  |     are the sam|
000002f0  65 22 3a fb 31 3a f1 8a  36 2c 32 37 29 22 3f 22  |e":.1:..6,27)"?"|
00000300  3b 3a ef 31 39 2c 31 2c  31 3b 30 3b 31 39 2c 32  |;:.19,1,1;0;19,2|
00000310  2c 33 3b 30 3b 31 39 2c  33 2c 37 3b 30 3b 0d 01  |,3;0;19,3,7;0;..|
00000320  c2 12 49 24 3d 22 22 3a  49 3d 30 3a 49 43 3d 30  |..I$="":I=0:IC=0|
00000330  0d 01 cc 30 49 31 24 3d  bf 28 30 29 3a e7 20 49  |...0I1$=.(0):. I|
00000340  31 24 3d 22 22 20 84 20  49 31 24 3c 22 31 22 20  |1$="" . I1$<"1" |
00000350  84 20 49 31 24 3e 22 39  22 20 8c 20 8d 64 4c 41  |. I1$>"9" . .dLA|
00000360  0d 01 d6 1c f1 49 31 24  3b 3a e7 20 49 43 3d 30  |.....I1$;:. IC=0|
00000370  20 8c 20 f1 22 20 61 6e  64 20 22 3b 0d 01 e0 24  | . ." and ";...$|
00000380  e7 20 49 43 3d 30 20 8c  20 49 43 3d 49 43 2b 31  |. IC=0 . IC=IC+1|
00000390  3a 49 24 3d 49 24 2b 49  31 24 3a e5 8d 64 4c 41  |:I$=I$+I1$:..dLA|
000003a0  0d 01 ea 0d 49 24 3d 49  24 2b 49 31 24 0d 01 f4  |....I$=I$+I1$...|
000003b0  4e e7 20 49 24 3d 57 24  20 84 20 49 24 3d 57 31  |N. I$=W$ . I$=W1|
000003c0  24 20 8c 20 fb 32 3a f1  27 27 22 20 59 65 73 2c  |$ . .2:.''" Yes,|
000003d0  20 79 6f 75 27 72 65 20  72 69 67 68 74 21 22 3a  | you're right!":|
000003e0  d4 31 2c 2d 31 35 2c 31  30 31 2c 33 30 3a 43 52  |.1,-15,101,30:CR|
000003f0  3d 43 52 2b 31 3a e5 8d  54 48 42 0d 01 fe 4d ef  |=CR+1:..THB...M.|
00000400  35 3a ec 32 39 36 2c 39  32 3a e6 30 2c 33 3a f1  |5:.296,92:.0,3:.|
00000410  22 4e 6f 2c 20 22 3b c0  57 24 2c 31 29 3b 22 20  |"No, ";.W$,1);" |
00000420  61 6e 64 20 22 3b c2 57  24 2c 31 29 3a d4 31 2c  |and ";.W$,1):.1,|
00000430  2d 31 35 2c 37 33 2c 31  30 3a d4 31 2c 2d 31 35  |-15,73,10:.1,-15|
00000440  2c 36 39 2c 35 3a ef 34  0d 02 08 18 f1 8a 35 2c  |,69,5:.4......5,|
00000450  33 31 29 22 4d 6f 72 65  20 28 59 2f 4e 29 22 3b  |31)"More (Y/N)";|
00000460  0d 02 12 07 49 3d a5 0d  02 1c 16 e7 49 3d 38 39  |....I=......I=89|
00000470  84 49 3d 31 32 31 20 8c  20 8d 44 46 40 0d 02 26  |.I=121 . .DF@..&|
00000480  05 f4 0d 02 30 11 f4 20  53 43 4f 52 45 20 53 48  |....0.. SCORE SH|
00000490  45 45 54 0d 02 3a 05 f4  0d 02 44 1f eb 36 3a ef  |EET..:....D..6:.|
000004a0  32 33 3b 38 32 30 32 3b  30 3b 30 3b 30 3b 31 39  |23;8202;0;0;0;19|
000004b0  2c 37 2c 30 3b 30 3b 0d  02 4e 1a f1 27 89 28 31  |,7,0;0;..N..'.(1|
000004c0  33 29 22 50 61 74 74 65  72 6e 20 50 61 69 72 73  |3)"Pattern Pairs|
000004d0  22 0d 02 58 0f e3 49 3d  31 b8 39 3a f1 3a ed 49  |"..X..I=1.9:.:.I|
000004e0  0d 02 62 20 f1 27 22 50  72 6f 62 6c 65 6d 73 20  |..b .'"Problems |
000004f0  63 6f 6d 70 6c 65 74 65  64 20 3d 20 22 3b 4e 55  |completed = ";NU|
00000500  0d 02 6c 0f 54 4d 3d a8  28 91 2f 31 30 30 29 0d  |..l.TM=.(./100).|
00000510  02 76 1e f1 27 22 50 72  6f 62 6c 65 6d 73 20 63  |.v..'"Problems c|
00000520  6f 72 72 65 63 74 20 3d  20 22 3b 43 52 0d 02 80  |orrect = ";CR...|
00000530  20 f1 27 22 54 69 6d 65  20 74 61 6b 65 6e 20 3d  | .'"Time taken =|
00000540  20 22 3b 54 4d 3b 22 20  73 65 63 73 22 0d 02 8a  | ";TM;" secs"...|
00000550  32 e7 20 43 52 3c 3e 30  20 8c 20 f1 27 22 54 69  |2. CR<>0 . .'"Ti|
00000560  6d 65 2f 70 72 6f 62 6c  65 6d 20 3d 20 22 3b a8  |me/problem = ";.|
00000570  28 54 4d 2f 43 52 29 3b  22 20 73 65 63 73 22 0d  |(TM/CR);" secs".|
00000580  02 94 10 ef 31 39 2c 37  2c 37 3b 30 3b 3a e0 0d  |....19,7,7;0;:..|
00000590  02 9e 05 3a 0d 02 a8 15  dd f2 5f 50 41 54 54 45  |...:......_PATTE|
000005a0  52 4e 28 58 44 2c 59 44  29 0d 02 b2 0b 50 54 3d  |RN(XD,YD)....PT=|
000005b0  50 54 2b 31 0d 02 bc 2a  f1 8a 28 28 32 30 2a 58  |PT+1...*..((20*X|
000005c0  44 29 2f 31 32 37 39 29  2b 31 2c 33 31 2d 28 33  |D)/1279)+1,31-(3|
000005d0  32 2a 59 44 29 2f 31 30  32 33 29 3b 50 54 0d 02  |2*YD)/1023);PT..|
000005e0  c6 3b e7 20 50 54 3d bb  28 c2 57 24 2c 31 29 29  |.;. PT=.(.W$,1))|
000005f0  20 84 20 50 54 3d bb 28  c0 57 24 2c 31 29 29 20  | . PT=.(.W$,1)) |
00000600  8c 20 48 31 3d 38 30 3a  48 32 3d 38 30 3a 48 33  |. H1=80:H2=80:H3|
00000610  3d 38 30 3a e5 8d 64 5a  42 0d 02 d0 26 50 43 3d  |=80:..dZB...&PC=|
00000620  50 43 2b 31 3a 48 31 3d  50 43 2a 31 30 3a 48 32  |PC+1:H1=PC*10:H2|
00000630  3d 50 43 2a 31 30 3a 48  33 3d 50 43 2a 31 30 0d  |=PC*10:H3=PC*10.|
00000640  02 da 0a e3 4c 3d 31 b8  34 0d 02 e4 35 20 20 43  |....L=1.4...5  C|
00000650  4c 3d b3 28 33 29 3a e7  20 50 54 3d bb 28 c2 57  |L=.(3):. PT=.(.W|
00000660  24 2c 31 29 29 20 84 20  50 54 3d bb 28 c0 57 24  |$,1)) . PT=.(.W$|
00000670  2c 31 29 29 20 8c 20 43  4c 3d 43 28 4c 29 0d 02  |,1)) . CL=C(L)..|
00000680  ee 0b 20 20 e6 30 2c 43  4c 0d 02 f8 25 20 20 ec  |..  .0,CL...%  .|
00000690  20 28 58 28 4c 2c 31 29  2b 58 44 2b 48 31 29 2c  | (X(L,1)+XD+H1),|
000006a0  28 59 28 4c 2c 31 29 2b  59 44 2b 48 31 29 0d 03  |(Y(L,1)+YD+H1)..|
000006b0  02 25 20 20 ec 20 28 58  28 4c 2c 32 29 2b 58 44  |.%  . (X(L,2)+XD|
000006c0  2b 48 32 29 2c 28 59 28  4c 2c 32 29 2b 59 44 2b  |+H2),(Y(L,2)+YD+|
000006d0  48 31 29 0d 03 0c 2d 20  20 f0 20 38 35 2c 28 58  |H1)...-  . 85,(X|
000006e0  28 4c 2c 33 29 2b 58 44  2b 48 33 29 2c 28 59 28  |(L,3)+XD+H3),(Y(|
000006f0  4c 2c 33 29 2b 59 44 2d  a8 28 48 31 2f 32 29 29  |L,3)+YD-.(H1/2))|
00000700  0d 03 16 06 ed 4c 0d 03  20 05 e1 0d 03 2a 05 3a  |.....L.. ....*.:|
00000710  0d 03 34 09 dd f2 69 6e  73 0d 03 3e 37 f1 89 28  |..4...ins..>7..(|
00000720  31 33 29 3b 22 50 41 54  54 45 52 4e 20 50 41 49  |13);"PATTERN PAI|
00000730  52 53 22 27 89 28 39 29  22 42 79 20 47 65 6e 65  |RS"'.(9)"By Gene|
00000740  76 69 65 76 65 20 4c 75  64 69 6e 73 6b 69 22 27  |vieve Ludinski"'|
00000750  0d 03 48 a2 f1 27 27 22  49 4e 20 74 68 69 73 20  |..H..''"IN this |
00000760  70 72 6f 67 72 61 6d 2c  20 6e 69 6e 65 20 70 61  |program, nine pa|
00000770  74 74 65 72 6e 73 20 61  72 65 22 27 22 64 69 73  |tterns are"'"dis|
00000780  70 6c 61 79 65 64 20 6f  6e 20 74 68 65 20 73 63  |played on the sc|
00000790  72 65 65 6e 2e 20 59 6f  75 72 20 74 61 73 6b 20  |reen. Your task |
000007a0  69 73 20 74 6f 69 64 65  6e 74 69 66 79 20 74 68  |is toidentify th|
000007b0  65 20 74 77 6f 20 70 61  74 74 65 72 6e 73 20 77  |e two patterns w|
000007c0  68 69 63 68 20 6d 61 74  63 68 22 27 22 61 6e 64  |hich match"'"and|
000007d0  20 69 6e 70 75 74 20 74  68 65 20 63 6f 72 72 65  | input the corre|
000007e0  73 70 6f 6e 64 69 6e 67  20 6e 75 6d 62 65 72 73  |sponding numbers|
000007f0  2e 22 0d 03 52 7b f1 27  27 22 4e 75 6d 62 65 72  |."..R{.''"Number|
00000800  73 20 64 6f 20 6e 6f 74  20 6e 65 65 64 20 74 6f  |s do not need to|
00000810  20 62 65 20 69 6e 20 63  68 72 6f 6e 6f 2d 20 20  | be in chrono-  |
00000820  20 20 6c 6f 67 69 63 61  6c 20 6f 72 64 65 72 20  |  logical order |
00000830  61 6e 64 20 63 6f 72 72  65 63 74 20 61 6e 73 77  |and correct answ|
00000840  65 72 73 20 61 72 65 20  20 20 72 65 77 61 72 64  |ers are   reward|
00000850  65 64 20 77 69 74 68 20  61 20 68 69 67 68 2d 70  |ed with a high-p|
00000860  69 74 63 68 65 64 20 6e  6f 74 65 2e 22 0d 03 5c  |itched note."..\|
00000870  9c f1 27 27 22 59 6f 75  20 63 61 6e 20 61 6c 73  |..''"You can als|
00000880  6f 20 73 65 65 20 61 20  73 63 6f 72 65 20 73 68  |o see a score sh|
00000890  65 65 74 20 6f 66 20 79  6f 75 72 20 20 70 72 6f  |eet of your  pro|
000008a0  67 72 65 73 73 20 62 79  20 63 68 6f 6f 73 69 6e  |gress by choosin|
000008b0  67 20 3c 4e 3e 20 69 6e  20 72 65 73 70 6f 6e 73  |g <N> in respons|
000008c0  65 20 74 6f 20 74 68 65  20 27 4d 6f 72 65 20 28  |e to the 'More (|
000008d0  59 2f 4e 29 27 20 70 72  6f 6d 70 74 20 77 68 69  |Y/N)' prompt whi|
000008e0  63 68 20 61 70 70 65 61  72 73 20 20 20 61 66 74  |ch appears   aft|
000008f0  65 72 20 65 61 63 68 20  63 6f 6d 70 6c 65 74 65  |er each complete|
00000900  64 20 67 75 65 73 73 2e  22 0d 03 66 17 ef 31 39  |d guess."..f..19|
00000910  2c 30 2c 34 3b 30 3b 31  39 2c 37 2c 37 3b 30 3b  |,0,4;0;19,7,7;0;|
00000920  0d 03 70 20 f1 8a 31 34  2c 32 34 29 22 50 52 45  |..p ..14,24)"PRE|
00000930  53 53 20 53 50 41 43 45  22 3b 3a 2a 46 58 32 31  |SS SPACE";:*FX21|
00000940  0d 03 7a 0a f5 fd a5 3d  33 32 0d 03 84 05 e1 0d  |..z....=32......|
00000950  ff                                                |.|
00000951
U/PATTERN.m0
U/PATTERN.m1
U/PATTERN.m2
U/PATTERN.m4
U/PATTERN.m5