Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_56.ADF » V/+BTEAS5
V/+BTEAS5
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: | V/+BTEAS5 |
Read OK: | ✔ |
File size: | 0E8A bytes |
Load address: | 56204556 |
Exec address: | 54422B2E |
Duplicates
There are 2 duplicate copies of this file in the archive:
- AEW website » eug » eug_3_5_discs_Eug-56_A-EUG56.adf » V/+BTEAS5
- AEW website » eug » eug_5_25_discs_Eug-56_D-EUG56.dsd » V.+BTEAS5
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_56.ADF » V/+BTEAS5
File contents
BRAINTEASERS By G. Ludinski IN part number five of our BRAINTEASERS serial, we present two tests of memory not dissimilar to the popular newspaper Spot the Difference activity. As always, brief instructions are given on screen before each of the puzzles commences and technical information detailing how the program actually works, plus suggested improvements, follow in this text file. The full collection of BRAINTEASERS is also reviewed in the Reviews section of this issue. ODD ONE OUT NINE patterns are displayed on the screen and you are given only a few seconds to compare them and identify the odd one out. A score sheet will be displayed, showing the number of puzzles com- pleted, number correct and the time and average time taken. How to play EACH of the patterns on the screen will be identified by a number, and you must key in the appropriate number as your guess. If you get the answer wrong, you will be told the correct answer to the accompaniment of a rather low pitched little tune. Get it right, however, and you will hear a pleasant little tune. After each attempt you will be asked if you wish more (Y for Yes) or wish to stop (N for No). Remember to press <RETURN>. Programming hints THE filled in triangles are drawn by MOVEing to one point, then MOVEing to another point, then drawing a line to a third point using PLOT 85, and this fills in the space between the first point and the line between the second and third points. This is done in the procedure PROC_PATTERN. The pattern is transferred across and down the screen by adding the appropriate XD or YD ot both, depending on the position of the screen. You could put some more triangles into each pattern by increasing the maximum value of L in procedure PROC_PATTERN. You would also have to reDIMension arrays X,Y and C in line 30. Also the maximum value of I should be increased in line 230. PATTERN PAIRS IF you enjoyed ODD ONE OUT in this series, then you will find this following puzzle just as interesting. There are nine patterns displayed on the screen, in a range of colours, and you have to nominate the pair you believe are a match. How to play IDENTIFY your pair, note the numbers alongside and key in your answer. You don't have to key in your answer in strict chronological order; just punch in your numbers and wait. Correct responses will be rewarded with a pleasant little high pitched tune, but wrong answers will be faced with a low pitched little durge. To continue, type Y at the "More?" prompt. On pressing N, a score sheet will be displayed showing your tries, results, time and average time per problem. Programming hints EACH of the pattens is slightly different except for the matching pair. This is done by adding a mixture of H1, H2 and H3 to the corners of the triangles in procedure PROC_PATTERN and H1, H2 and H3 will be different for each pattern except the two that are the same. If you wish to increase the number of patterns which are the same, then a W3 should be assigned. W3 should be a random number between 1 and 9 inclusive and you should check that it is not equal to W1 or W2. Then change W$ and W1$ and assign four more values, say W2$, W3$, W4$ and W5$ with the string of W1, W2 and W3 arranged in all possible different ways. Then check for PT to be equal to W1, W2 or W3 in line 720 in procedure PROC_PATTERN to see whether the pattern to be drawn is one of the three identical ones. Change the input lines 440 to 510 to allow a third number to be keyed in and then check for the six possible values W$, W1$ to W5$. Genevieve Ludinski, EUG #56
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 42 52 41 | BRA| 00000020 49 4e 54 45 41 53 45 52 53 0d 20 20 20 20 20 20 |INTEASERS. | 00000030 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000040 20 20 20 20 20 20 42 79 20 47 2e 20 4c 75 64 69 | By G. Ludi| 00000050 6e 73 6b 69 0d 0d 49 4e 20 70 61 72 74 20 6e 75 |nski..IN part nu| 00000060 6d 62 65 72 20 66 69 76 65 20 6f 66 20 6f 75 72 |mber five of our| 00000070 20 42 52 41 49 4e 54 45 41 53 45 52 53 20 73 65 | BRAINTEASERS se| 00000080 72 69 61 6c 2c 20 77 65 20 70 72 65 73 65 6e 74 |rial, we present| 00000090 20 74 77 6f 20 74 65 73 74 73 20 6f 66 0d 6d 65 | two tests of.me| 000000a0 6d 6f 72 79 20 6e 6f 74 20 64 69 73 73 69 6d 69 |mory not dissimi| 000000b0 6c 61 72 20 74 6f 20 74 68 65 20 70 6f 70 75 6c |lar to the popul| 000000c0 61 72 20 6e 65 77 73 70 61 70 65 72 20 53 70 6f |ar newspaper Spo| 000000d0 74 20 74 68 65 20 44 69 66 66 65 72 65 6e 63 65 |t the Difference| 000000e0 20 0d 61 63 74 69 76 69 74 79 2e 20 41 73 20 61 | .activity. As a| 000000f0 6c 77 61 79 73 2c 20 62 72 69 65 66 20 69 6e 73 |lways, brief ins| 00000100 74 72 75 63 74 69 6f 6e 73 20 61 72 65 20 67 69 |tructions are gi| 00000110 76 65 6e 20 6f 6e 20 73 63 72 65 65 6e 20 62 65 |ven on screen be| 00000120 66 6f 72 65 20 65 61 63 68 0d 6f 66 20 74 68 65 |fore each.of the| 00000130 20 70 75 7a 7a 6c 65 73 20 63 6f 6d 6d 65 6e 63 | puzzles commenc| 00000140 65 73 20 61 6e 64 20 74 65 63 68 6e 69 63 61 6c |es and technical| 00000150 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 64 65 74 | information det| 00000160 61 69 6c 69 6e 67 20 68 6f 77 20 74 68 65 0d 70 |ailing how the.p| 00000170 72 6f 67 72 61 6d 20 61 63 74 75 61 6c 6c 79 20 |rogram actually | 00000180 77 6f 72 6b 73 2c 20 70 6c 75 73 20 73 75 67 67 |works, plus sugg| 00000190 65 73 74 65 64 20 69 6d 70 72 6f 76 65 6d 65 6e |ested improvemen| 000001a0 74 73 2c 20 66 6f 6c 6c 6f 77 20 69 6e 20 74 68 |ts, follow in th| 000001b0 69 73 0d 74 65 78 74 20 66 69 6c 65 2e 20 54 68 |is.text file. Th| 000001c0 65 20 66 75 6c 6c 20 63 6f 6c 6c 65 63 74 69 6f |e full collectio| 000001d0 6e 20 6f 66 20 42 52 41 49 4e 54 45 41 53 45 52 |n of BRAINTEASER| 000001e0 53 20 69 73 20 61 6c 73 6f 20 72 65 76 69 65 77 |S is also review| 000001f0 65 64 20 69 6e 20 74 68 65 0d 52 65 76 69 65 77 |ed in the.Review| 00000200 73 20 73 65 63 74 69 6f 6e 20 6f 66 20 74 68 69 |s section of thi| 00000210 73 20 69 73 73 75 65 2e 0d 0d 4f 44 44 20 4f 4e |s issue...ODD ON| 00000220 45 20 4f 55 54 0d 4e 49 4e 45 20 70 61 74 74 65 |E OUT.NINE patte| 00000230 72 6e 73 20 61 72 65 20 64 69 73 70 6c 61 79 65 |rns are displaye| 00000240 64 20 6f 6e 20 74 68 65 20 73 63 72 65 65 6e 20 |d on the screen | 00000250 61 6e 64 20 79 6f 75 20 61 72 65 20 67 69 76 65 |and you are give| 00000260 6e 20 6f 6e 6c 79 20 61 20 66 65 77 0d 73 65 63 |n only a few.sec| 00000270 6f 6e 64 73 20 74 6f 20 63 6f 6d 70 61 72 65 20 |onds to compare | 00000280 74 68 65 6d 20 61 6e 64 20 69 64 65 6e 74 69 66 |them and identif| 00000290 79 20 74 68 65 20 6f 64 64 20 6f 6e 65 20 6f 75 |y the odd one ou| 000002a0 74 2e 0d 20 20 20 41 20 73 63 6f 72 65 20 73 68 |t.. A score sh| 000002b0 65 65 74 20 77 69 6c 6c 20 62 65 20 64 69 73 70 |eet will be disp| 000002c0 6c 61 79 65 64 2c 20 73 68 6f 77 69 6e 67 20 74 |layed, showing t| 000002d0 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 70 75 7a |he number of puz| 000002e0 7a 6c 65 73 20 63 6f 6d 2d 0d 70 6c 65 74 65 64 |zles com-.pleted| 000002f0 2c 20 6e 75 6d 62 65 72 20 63 6f 72 72 65 63 74 |, number correct| 00000300 20 61 6e 64 20 74 68 65 20 74 69 6d 65 20 61 6e | and the time an| 00000310 64 20 61 76 65 72 61 67 65 20 74 69 6d 65 20 74 |d average time t| 00000320 61 6b 65 6e 2e 0d 0d 48 6f 77 20 74 6f 20 70 6c |aken...How to pl| 00000330 61 79 0d 45 41 43 48 20 6f 66 20 74 68 65 20 70 |ay.EACH of the p| 00000340 61 74 74 65 72 6e 73 20 6f 6e 20 74 68 65 20 73 |atterns on the s| 00000350 63 72 65 65 6e 20 77 69 6c 6c 20 62 65 20 69 64 |creen will be id| 00000360 65 6e 74 69 66 69 65 64 20 62 79 20 61 20 6e 75 |entified by a nu| 00000370 6d 62 65 72 2c 20 61 6e 64 0d 79 6f 75 20 6d 75 |mber, and.you mu| 00000380 73 74 20 6b 65 79 20 69 6e 20 74 68 65 20 61 70 |st key in the ap| 00000390 70 72 6f 70 72 69 61 74 65 20 6e 75 6d 62 65 72 |propriate number| 000003a0 20 61 73 20 79 6f 75 72 20 67 75 65 73 73 2e 0d | as your guess..| 000003b0 20 20 20 49 66 20 79 6f 75 20 67 65 74 20 74 68 | If you get th| 000003c0 65 20 61 6e 73 77 65 72 20 77 72 6f 6e 67 2c 20 |e answer wrong, | 000003d0 79 6f 75 20 77 69 6c 6c 20 62 65 20 74 6f 6c 64 |you will be told| 000003e0 20 74 68 65 20 63 6f 72 72 65 63 74 20 61 6e 73 | the correct ans| 000003f0 77 65 72 20 74 6f 0d 74 68 65 20 61 63 63 6f 6d |wer to.the accom| 00000400 70 61 6e 69 6d 65 6e 74 20 6f 66 20 61 20 72 61 |paniment of a ra| 00000410 74 68 65 72 20 6c 6f 77 20 70 69 74 63 68 65 64 |ther low pitched| 00000420 20 6c 69 74 74 6c 65 20 74 75 6e 65 2e 20 47 65 | little tune. Ge| 00000430 74 20 69 74 20 72 69 67 68 74 2c 0d 68 6f 77 65 |t it right,.howe| 00000440 76 65 72 2c 20 61 6e 64 20 79 6f 75 20 77 69 6c |ver, and you wil| 00000450 6c 20 68 65 61 72 20 61 20 70 6c 65 61 73 61 6e |l hear a pleasan| 00000460 74 20 6c 69 74 74 6c 65 20 74 75 6e 65 2e 0d 20 |t little tune.. | 00000470 20 20 41 66 74 65 72 20 65 61 63 68 20 61 74 74 | After each att| 00000480 65 6d 70 74 20 79 6f 75 20 77 69 6c 6c 20 62 65 |empt you will be| 00000490 20 61 73 6b 65 64 20 69 66 20 79 6f 75 20 77 69 | asked if you wi| 000004a0 73 68 20 6d 6f 72 65 20 28 59 20 66 6f 72 20 59 |sh more (Y for Y| 000004b0 65 73 29 20 6f 72 0d 77 69 73 68 20 74 6f 20 73 |es) or.wish to s| 000004c0 74 6f 70 20 28 4e 20 66 6f 72 20 4e 6f 29 2e 0d |top (N for No)..| 000004d0 20 20 20 52 65 6d 65 6d 62 65 72 20 74 6f 20 70 | Remember to p| 000004e0 72 65 73 73 20 3c 52 45 54 55 52 4e 3e 2e 0d 0d |ress <RETURN>...| 000004f0 50 72 6f 67 72 61 6d 6d 69 6e 67 20 68 69 6e 74 |Programming hint| 00000500 73 0d 54 48 45 20 66 69 6c 6c 65 64 20 69 6e 20 |s.THE filled in | 00000510 74 72 69 61 6e 67 6c 65 73 20 61 72 65 20 64 72 |triangles are dr| 00000520 61 77 6e 20 62 79 20 4d 4f 56 45 69 6e 67 20 74 |awn by MOVEing t| 00000530 6f 20 6f 6e 65 20 70 6f 69 6e 74 2c 20 74 68 65 |o one point, the| 00000540 6e 20 4d 4f 56 45 69 6e 67 0d 74 6f 20 61 6e 6f |n MOVEing.to ano| 00000550 74 68 65 72 20 70 6f 69 6e 74 2c 20 74 68 65 6e |ther point, then| 00000560 20 64 72 61 77 69 6e 67 20 61 20 6c 69 6e 65 20 | drawing a line | 00000570 74 6f 20 61 20 74 68 69 72 64 20 70 6f 69 6e 74 |to a third point| 00000580 20 75 73 69 6e 67 20 50 4c 4f 54 20 38 35 2c 20 | using PLOT 85, | 00000590 0d 61 6e 64 20 74 68 69 73 20 66 69 6c 6c 73 20 |.and this fills | 000005a0 69 6e 20 74 68 65 20 73 70 61 63 65 20 62 65 74 |in the space bet| 000005b0 77 65 65 6e 20 74 68 65 20 66 69 72 73 74 20 70 |ween the first p| 000005c0 6f 69 6e 74 20 61 6e 64 20 74 68 65 20 6c 69 6e |oint and the lin| 000005d0 65 20 62 65 74 77 65 65 6e 0d 74 68 65 20 73 65 |e between.the se| 000005e0 63 6f 6e 64 20 61 6e 64 20 74 68 69 72 64 20 70 |cond and third p| 000005f0 6f 69 6e 74 73 2e 20 54 68 69 73 20 69 73 20 64 |oints. This is d| 00000600 6f 6e 65 20 69 6e 20 74 68 65 20 70 72 6f 63 65 |one in the proce| 00000610 64 75 72 65 20 50 52 4f 43 5f 50 41 54 54 45 52 |dure PROC_PATTER| 00000620 4e 2e 0d 54 68 65 20 70 61 74 74 65 72 6e 20 69 |N..The pattern i| 00000630 73 20 74 72 61 6e 73 66 65 72 72 65 64 20 61 63 |s transferred ac| 00000640 72 6f 73 73 20 61 6e 64 20 64 6f 77 6e 20 74 68 |ross and down th| 00000650 65 20 73 63 72 65 65 6e 20 62 79 20 61 64 64 69 |e screen by addi| 00000660 6e 67 20 74 68 65 20 0d 61 70 70 72 6f 70 72 69 |ng the .appropri| 00000670 61 74 65 20 58 44 20 6f 72 20 59 44 20 6f 74 20 |ate XD or YD ot | 00000680 62 6f 74 68 2c 20 64 65 70 65 6e 64 69 6e 67 20 |both, depending | 00000690 6f 6e 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 |on the position | 000006a0 6f 66 20 74 68 65 20 73 63 72 65 65 6e 2e 0d 20 |of the screen.. | 000006b0 20 20 59 6f 75 20 63 6f 75 6c 64 20 70 75 74 20 | You could put | 000006c0 73 6f 6d 65 20 6d 6f 72 65 20 74 72 69 61 6e 67 |some more triang| 000006d0 6c 65 73 20 69 6e 74 6f 20 65 61 63 68 20 70 61 |les into each pa| 000006e0 74 74 65 72 6e 20 62 79 20 69 6e 63 72 65 61 73 |ttern by increas| 000006f0 69 6e 67 20 74 68 65 0d 6d 61 78 69 6d 75 6d 20 |ing the.maximum | 00000700 76 61 6c 75 65 20 6f 66 20 4c 20 69 6e 20 70 72 |value of L in pr| 00000710 6f 63 65 64 75 72 65 20 50 52 4f 43 5f 50 41 54 |ocedure PROC_PAT| 00000720 54 45 52 4e 2e 20 59 6f 75 20 77 6f 75 6c 64 20 |TERN. You would | 00000730 61 6c 73 6f 20 68 61 76 65 20 74 6f 20 0d 72 65 |also have to .re| 00000740 44 49 4d 65 6e 73 69 6f 6e 20 61 72 72 61 79 73 |DIMension arrays| 00000750 20 58 2c 59 20 61 6e 64 20 43 20 69 6e 20 6c 69 | X,Y and C in li| 00000760 6e 65 20 33 30 2e 20 41 6c 73 6f 20 74 68 65 20 |ne 30. Also the | 00000770 6d 61 78 69 6d 75 6d 20 76 61 6c 75 65 20 6f 66 |maximum value of| 00000780 20 49 0d 73 68 6f 75 6c 64 20 62 65 20 69 6e 63 | I.should be inc| 00000790 72 65 61 73 65 64 20 69 6e 20 6c 69 6e 65 20 32 |reased in line 2| 000007a0 33 30 2e 0d 0d 50 41 54 54 45 52 4e 20 50 41 49 |30...PATTERN PAI| 000007b0 52 53 0d 49 46 20 79 6f 75 20 65 6e 6a 6f 79 65 |RS.IF you enjoye| 000007c0 64 20 4f 44 44 20 4f 4e 45 20 4f 55 54 20 69 6e |d ODD ONE OUT in| 000007d0 20 74 68 69 73 20 73 65 72 69 65 73 2c 20 74 68 | this series, th| 000007e0 65 6e 20 79 6f 75 20 77 69 6c 6c 20 66 69 6e 64 |en you will find| 000007f0 20 74 68 69 73 20 0d 66 6f 6c 6c 6f 77 69 6e 67 | this .following| 00000800 20 70 75 7a 7a 6c 65 20 6a 75 73 74 20 61 73 20 | puzzle just as | 00000810 69 6e 74 65 72 65 73 74 69 6e 67 2e 0d 20 20 20 |interesting.. | 00000820 54 68 65 72 65 20 61 72 65 20 6e 69 6e 65 20 70 |There are nine p| 00000830 61 74 74 65 72 6e 73 20 64 69 73 70 6c 61 79 65 |atterns displaye| 00000840 64 20 6f 6e 20 74 68 65 20 73 63 72 65 65 6e 2c |d on the screen,| 00000850 20 69 6e 20 61 20 72 61 6e 67 65 20 6f 66 20 0d | in a range of .| 00000860 63 6f 6c 6f 75 72 73 2c 20 61 6e 64 20 79 6f 75 |colours, and you| 00000870 20 68 61 76 65 20 74 6f 20 6e 6f 6d 69 6e 61 74 | have to nominat| 00000880 65 20 74 68 65 20 70 61 69 72 20 79 6f 75 20 62 |e the pair you b| 00000890 65 6c 69 65 76 65 20 61 72 65 20 61 20 6d 61 74 |elieve are a mat| 000008a0 63 68 2e 0d 20 20 0d 48 6f 77 20 74 6f 20 70 6c |ch.. .How to pl| 000008b0 61 79 0d 49 44 45 4e 54 49 46 59 20 79 6f 75 72 |ay.IDENTIFY your| 000008c0 20 70 61 69 72 2c 20 6e 6f 74 65 20 74 68 65 20 | pair, note the | 000008d0 6e 75 6d 62 65 72 73 20 61 6c 6f 6e 67 73 69 64 |numbers alongsid| 000008e0 65 20 61 6e 64 20 6b 65 79 20 69 6e 20 79 6f 75 |e and key in you| 000008f0 72 20 61 6e 73 77 65 72 2e 0d 59 6f 75 20 64 6f |r answer..You do| 00000900 6e 27 74 20 68 61 76 65 20 74 6f 20 6b 65 79 20 |n't have to key | 00000910 69 6e 20 79 6f 75 72 20 61 6e 73 77 65 72 20 69 |in your answer i| 00000920 6e 20 73 74 72 69 63 74 20 63 68 72 6f 6e 6f 6c |n strict chronol| 00000930 6f 67 69 63 61 6c 20 6f 72 64 65 72 3b 20 6a 75 |ogical order; ju| 00000940 73 74 0d 70 75 6e 63 68 20 69 6e 20 79 6f 75 72 |st.punch in your| 00000950 20 6e 75 6d 62 65 72 73 20 61 6e 64 20 77 61 69 | numbers and wai| 00000960 74 2e 20 43 6f 72 72 65 63 74 20 72 65 73 70 6f |t. Correct respo| 00000970 6e 73 65 73 20 77 69 6c 6c 20 62 65 20 72 65 77 |nses will be rew| 00000980 61 72 64 65 64 20 77 69 74 68 0d 61 20 70 6c 65 |arded with.a ple| 00000990 61 73 61 6e 74 20 6c 69 74 74 6c 65 20 68 69 67 |asant little hig| 000009a0 68 20 70 69 74 63 68 65 64 20 74 75 6e 65 2c 20 |h pitched tune, | 000009b0 62 75 74 20 77 72 6f 6e 67 20 61 6e 73 77 65 72 |but wrong answer| 000009c0 73 20 77 69 6c 6c 20 62 65 20 66 61 63 65 64 20 |s will be faced | 000009d0 0d 77 69 74 68 20 61 20 6c 6f 77 20 70 69 74 63 |.with a low pitc| 000009e0 68 65 64 20 6c 69 74 74 6c 65 20 64 75 72 67 65 |hed little durge| 000009f0 2e 0d 20 20 20 54 6f 20 63 6f 6e 74 69 6e 75 65 |.. To continue| 00000a00 2c 20 74 79 70 65 20 59 20 61 74 20 74 68 65 20 |, type Y at the | 00000a10 22 4d 6f 72 65 3f 22 20 70 72 6f 6d 70 74 2e 20 |"More?" prompt. | 00000a20 4f 6e 20 70 72 65 73 73 69 6e 67 20 4e 2c 20 61 |On pressing N, a| 00000a30 20 73 63 6f 72 65 0d 73 68 65 65 74 20 77 69 6c | score.sheet wil| 00000a40 6c 20 62 65 20 64 69 73 70 6c 61 79 65 64 20 73 |l be displayed s| 00000a50 68 6f 77 69 6e 67 20 79 6f 75 72 20 74 72 69 65 |howing your trie| 00000a60 73 2c 20 72 65 73 75 6c 74 73 2c 20 74 69 6d 65 |s, results, time| 00000a70 20 61 6e 64 20 61 76 65 72 61 67 65 0d 74 69 6d | and average.tim| 00000a80 65 20 70 65 72 20 70 72 6f 62 6c 65 6d 2e 0d 0d |e per problem...| 00000a90 50 72 6f 67 72 61 6d 6d 69 6e 67 20 68 69 6e 74 |Programming hint| 00000aa0 73 0d 45 41 43 48 20 6f 66 20 74 68 65 20 70 61 |s.EACH of the pa| 00000ab0 74 74 65 6e 73 20 69 73 20 73 6c 69 67 68 74 6c |ttens is slightl| 00000ac0 79 20 64 69 66 66 65 72 65 6e 74 20 65 78 63 65 |y different exce| 00000ad0 70 74 20 66 6f 72 20 74 68 65 20 6d 61 74 63 68 |pt for the match| 00000ae0 69 6e 67 20 70 61 69 72 2e 0d 54 68 69 73 20 69 |ing pair..This i| 00000af0 73 20 64 6f 6e 65 20 62 79 20 61 64 64 69 6e 67 |s done by adding| 00000b00 20 61 20 6d 69 78 74 75 72 65 20 6f 66 20 48 31 | a mixture of H1| 00000b10 2c 20 48 32 20 61 6e 64 20 48 33 20 74 6f 20 74 |, H2 and H3 to t| 00000b20 68 65 20 63 6f 72 6e 65 72 73 20 6f 66 20 74 68 |he corners of th| 00000b30 65 0d 74 72 69 61 6e 67 6c 65 73 20 69 6e 20 70 |e.triangles in p| 00000b40 72 6f 63 65 64 75 72 65 20 50 52 4f 43 5f 50 41 |rocedure PROC_PA| 00000b50 54 54 45 52 4e 20 61 6e 64 20 48 31 2c 20 48 32 |TTERN and H1, H2| 00000b60 20 61 6e 64 20 48 33 20 77 69 6c 6c 20 62 65 20 | and H3 will be | 00000b70 64 69 66 66 65 72 65 6e 74 0d 66 6f 72 20 65 61 |different.for ea| 00000b80 63 68 20 70 61 74 74 65 72 6e 20 65 78 63 65 70 |ch pattern excep| 00000b90 74 20 74 68 65 20 74 77 6f 20 74 68 61 74 20 61 |t the two that a| 00000ba0 72 65 20 74 68 65 20 73 61 6d 65 2e 0d 20 20 20 |re the same.. | 00000bb0 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 69 |If you wish to i| 00000bc0 6e 63 72 65 61 73 65 20 74 68 65 20 6e 75 6d 62 |ncrease the numb| 00000bd0 65 72 20 6f 66 20 70 61 74 74 65 72 6e 73 20 77 |er of patterns w| 00000be0 68 69 63 68 20 61 72 65 20 74 68 65 20 73 61 6d |hich are the sam| 00000bf0 65 2c 0d 74 68 65 6e 20 61 20 57 33 20 73 68 6f |e,.then a W3 sho| 00000c00 75 6c 64 20 62 65 20 61 73 73 69 67 6e 65 64 2e |uld be assigned.| 00000c10 20 57 33 20 73 68 6f 75 6c 64 20 62 65 20 61 20 | W3 should be a | 00000c20 72 61 6e 64 6f 6d 20 6e 75 6d 62 65 72 20 62 65 |random number be| 00000c30 74 77 65 65 6e 20 31 20 61 6e 64 0d 39 20 69 6e |tween 1 and.9 in| 00000c40 63 6c 75 73 69 76 65 20 61 6e 64 20 79 6f 75 20 |clusive and you | 00000c50 73 68 6f 75 6c 64 20 63 68 65 63 6b 20 74 68 61 |should check tha| 00000c60 74 20 69 74 20 69 73 20 6e 6f 74 20 65 71 75 61 |t it is not equa| 00000c70 6c 20 74 6f 20 57 31 20 6f 72 20 57 32 2e 20 54 |l to W1 or W2. T| 00000c80 68 65 6e 0d 63 68 61 6e 67 65 20 57 24 20 61 6e |hen.change W$ an| 00000c90 64 20 57 31 24 20 61 6e 64 20 61 73 73 69 67 6e |d W1$ and assign| 00000ca0 20 66 6f 75 72 20 6d 6f 72 65 20 76 61 6c 75 65 | four more value| 00000cb0 73 2c 20 73 61 79 20 57 32 24 2c 20 57 33 24 2c |s, say W2$, W3$,| 00000cc0 20 57 34 24 20 61 6e 64 20 57 35 24 0d 77 69 74 | W4$ and W5$.wit| 00000cd0 68 20 74 68 65 20 73 74 72 69 6e 67 20 6f 66 20 |h the string of | 00000ce0 57 31 2c 20 57 32 20 61 6e 64 20 57 33 20 61 72 |W1, W2 and W3 ar| 00000cf0 72 61 6e 67 65 64 20 69 6e 20 61 6c 6c 20 70 6f |ranged in all po| 00000d00 73 73 69 62 6c 65 20 64 69 66 66 65 72 65 6e 74 |ssible different| 00000d10 0d 77 61 79 73 2e 0d 20 20 20 54 68 65 6e 20 63 |.ways.. Then c| 00000d20 68 65 63 6b 20 66 6f 72 20 50 54 20 74 6f 20 62 |heck for PT to b| 00000d30 65 20 65 71 75 61 6c 20 74 6f 20 57 31 2c 20 57 |e equal to W1, W| 00000d40 32 20 6f 72 20 57 33 20 69 6e 20 6c 69 6e 65 20 |2 or W3 in line | 00000d50 37 32 30 20 69 6e 20 0d 70 72 6f 63 65 64 75 72 |720 in .procedur| 00000d60 65 20 50 52 4f 43 5f 50 41 54 54 45 52 4e 20 74 |e PROC_PATTERN t| 00000d70 6f 20 73 65 65 20 77 68 65 74 68 65 72 20 74 68 |o see whether th| 00000d80 65 20 70 61 74 74 65 72 6e 20 74 6f 20 62 65 20 |e pattern to be | 00000d90 64 72 61 77 6e 20 69 73 20 6f 6e 65 20 6f 66 0d |drawn is one of.| 00000da0 74 68 65 20 74 68 72 65 65 20 69 64 65 6e 74 69 |the three identi| 00000db0 63 61 6c 20 6f 6e 65 73 2e 0d 20 20 20 43 68 61 |cal ones.. Cha| 00000dc0 6e 67 65 20 74 68 65 20 69 6e 70 75 74 20 6c 69 |nge the input li| 00000dd0 6e 65 73 20 34 34 30 20 74 6f 20 35 31 30 20 74 |nes 440 to 510 t| 00000de0 6f 20 61 6c 6c 6f 77 20 61 20 74 68 69 72 64 20 |o allow a third | 00000df0 6e 75 6d 62 65 72 20 74 6f 20 62 65 20 6b 65 79 |number to be key| 00000e00 65 64 0d 69 6e 20 61 6e 64 20 74 68 65 6e 20 63 |ed.in and then c| 00000e10 68 65 63 6b 20 66 6f 72 20 74 68 65 20 73 69 78 |heck for the six| 00000e20 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 | possible values| 00000e30 20 57 24 2c 20 57 31 24 20 74 6f 20 57 35 24 2e | W$, W1$ to W5$.| 00000e40 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |. | 00000e50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 | Ge| 00000e70 6e 65 76 69 65 76 65 20 4c 75 64 69 6e 73 6b 69 |nevieve Ludinski| 00000e80 2c 20 45 55 47 20 23 35 36 0d |, EUG #56.| 00000e8a