Home » Archimedes archive » Archimedes World » AW-1992-12.adf » AWDec92 » !AWDec92/Goodies/CodeBreak/!Help
!AWDec92/Goodies/CodeBreak/!Help
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 » Archimedes archive » Archimedes World » AW-1992-12.adf » AWDec92 |
Filename: | !AWDec92/Goodies/CodeBreak/!Help |
Read OK: | ✔ |
File size: | 06A0 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Code Breaker ============== By Mark Mahieu (C) Archimedes World 1992 Code Breaker is a simple but addictive logic game. The computer will choose four pegs from the eight different coloured pegs available and arrange them in a random order. The computer may choose two or more pegs of the same colour. Your objective is to work out the sequence of pegs in twelve attempts or less by picking four and placing them in the peg holes in the current row. This is achieved by selecting one of the pegs from the side of the board and clicking over the hole which you want to contain that particular coloured peg. If you change your mind about a peg, simply replace it with a different one. When you are satisfied with your choice click on OK and the computer will tell you how you did by placing small black and white pegs in the holes beside your combination. A black means that one of your pegs is the correct colour and is in the correct hole, a white means that one of your pegs is the correct colour but in the wrong hole and an empty hole means that one of your pegs is the wrong colour. Clicking menu over the main game window will bring up a menu with 'Info', 'Reveal' and 'New Game' options. Choosing 'Reveal' will end the game and reveal the correct combination. Clicking on 'New Game' resets the board for another game. Should you for some strange reason wish to quit Code Breaker the 'Quit' option may be found on the icon bar menu.
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 0a 20 20 20 20 20 20 20 | . | 00000020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000030 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | . | 00000040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000050 43 6f 64 65 20 42 72 65 61 6b 65 72 20 0a 20 20 |Code Breaker . | 00000060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000070 20 20 20 20 20 20 20 20 20 20 20 3d 3d 3d 3d 3d | =====| 00000080 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 20 20 20 20 20 20 |=========. | 00000090 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000a0 20 20 20 20 20 20 20 42 79 20 4d 61 72 6b 20 4d | By Mark M| 000000b0 61 68 69 65 75 0a 20 20 20 20 20 20 20 20 20 20 |ahieu. | 000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000d0 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 | . | 000000e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000f0 28 43 29 20 41 72 63 68 69 6d 65 64 65 73 20 57 |(C) Archimedes W| 00000100 6f 72 6c 64 20 31 39 39 32 20 20 20 20 20 20 20 |orld 1992 | 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a | .| 00000130 0a 20 20 43 6f 64 65 20 42 72 65 61 6b 65 72 20 |. Code Breaker | 00000140 69 73 20 61 20 73 69 6d 70 6c 65 20 62 75 74 20 |is a simple but | 00000150 61 64 64 69 63 74 69 76 65 20 6c 6f 67 69 63 20 |addictive logic | 00000160 67 61 6d 65 2e 20 54 68 65 20 63 6f 6d 70 75 74 |game. The comput| 00000170 65 72 20 77 69 6c 6c 0a 63 68 6f 6f 73 65 20 66 |er will.choose f| 00000180 6f 75 72 20 70 65 67 73 20 66 72 6f 6d 20 74 68 |our pegs from th| 00000190 65 20 65 69 67 68 74 20 64 69 66 66 65 72 65 6e |e eight differen| 000001a0 74 20 63 6f 6c 6f 75 72 65 64 20 70 65 67 73 20 |t coloured pegs | 000001b0 61 76 61 69 6c 61 62 6c 65 20 61 6e 64 0a 61 72 |available and.ar| 000001c0 72 61 6e 67 65 20 74 68 65 6d 20 69 6e 20 61 20 |range them in a | 000001d0 72 61 6e 64 6f 6d 20 20 6f 72 64 65 72 2e 20 20 |random order. | 000001e0 54 68 65 20 63 6f 6d 70 75 74 65 72 20 6d 61 79 |The computer may| 000001f0 20 63 68 6f 6f 73 65 20 74 77 6f 20 6f 72 20 6d | choose two or m| 00000200 6f 72 65 0a 70 65 67 73 20 6f 66 20 74 68 65 20 |ore.pegs of the | 00000210 73 61 6d 65 20 63 6f 6c 6f 75 72 2e 20 20 59 6f |same colour. Yo| 00000220 75 72 20 6f 62 6a 65 63 74 69 76 65 20 69 73 20 |ur objective is | 00000230 74 6f 20 77 6f 72 6b 20 6f 75 74 20 74 68 65 20 |to work out the | 00000240 73 65 71 75 65 6e 63 65 0a 6f 66 20 70 65 67 73 |sequence.of pegs| 00000250 20 69 6e 20 74 77 65 6c 76 65 20 61 74 74 65 6d | in twelve attem| 00000260 70 74 73 20 6f 72 20 6c 65 73 73 20 62 79 20 70 |pts or less by p| 00000270 69 63 6b 69 6e 67 20 66 6f 75 72 20 61 6e 64 20 |icking four and | 00000280 70 6c 61 63 69 6e 67 20 74 68 65 6d 20 69 6e 0a |placing them in.| 00000290 74 68 65 20 70 65 67 20 68 6f 6c 65 73 20 69 6e |the peg holes in| 000002a0 20 74 68 65 20 63 75 72 72 65 6e 74 20 20 72 6f | the current ro| 000002b0 77 2e 20 20 54 68 69 73 20 69 73 20 61 63 68 69 |w. This is achi| 000002c0 65 76 65 64 20 62 79 20 73 65 6c 65 63 74 69 6e |eved by selectin| 000002d0 67 20 6f 6e 65 0a 6f 66 20 74 68 65 20 70 65 67 |g one.of the peg| 000002e0 73 20 66 72 6f 6d 20 74 68 65 20 73 69 64 65 20 |s from the side | 000002f0 6f 66 20 74 68 65 20 62 6f 61 72 64 20 61 6e 64 |of the board and| 00000300 20 63 6c 69 63 6b 69 6e 67 20 6f 76 65 72 20 74 | clicking over t| 00000310 68 65 20 68 6f 6c 65 0a 77 68 69 63 68 20 79 6f |he hole.which yo| 00000320 75 20 77 61 6e 74 20 74 6f 20 63 6f 6e 74 61 69 |u want to contai| 00000330 6e 20 74 68 61 74 20 70 61 72 74 69 63 75 6c 61 |n that particula| 00000340 72 20 63 6f 6c 6f 75 72 65 64 20 70 65 67 2e 20 |r coloured peg. | 00000350 20 49 66 20 79 6f 75 20 63 68 61 6e 67 65 0a 79 | If you change.y| 00000360 6f 75 72 20 6d 69 6e 64 20 61 62 6f 75 74 20 61 |our mind about a| 00000370 20 70 65 67 2c 20 73 69 6d 70 6c 79 20 72 65 70 | peg, simply rep| 00000380 6c 61 63 65 20 69 74 20 77 69 74 68 20 61 20 64 |lace it with a d| 00000390 69 66 66 65 72 65 6e 74 20 6f 6e 65 2e 0a 0a 20 |ifferent one... | 000003a0 20 57 68 65 6e 20 79 6f 75 20 61 72 65 20 73 61 | When you are sa| 000003b0 74 69 73 66 69 65 64 20 77 69 74 68 20 79 6f 75 |tisfied with you| 000003c0 72 20 63 68 6f 69 63 65 20 63 6c 69 63 6b 20 6f |r choice click o| 000003d0 6e 20 4f 4b 20 61 6e 64 20 74 68 65 20 63 6f 6d |n OK and the com| 000003e0 70 75 74 65 72 0a 77 69 6c 6c 20 74 65 6c 6c 20 |puter.will tell | 000003f0 79 6f 75 20 68 6f 77 20 79 6f 75 20 64 69 64 20 |you how you did | 00000400 62 79 20 70 6c 61 63 69 6e 67 20 73 6d 61 6c 6c |by placing small| 00000410 20 62 6c 61 63 6b 20 61 6e 64 20 77 68 69 74 65 | black and white| 00000420 20 70 65 67 73 20 69 6e 20 74 68 65 0a 68 6f 6c | pegs in the.hol| 00000430 65 73 20 62 65 73 69 64 65 20 79 6f 75 72 20 63 |es beside your c| 00000440 6f 6d 62 69 6e 61 74 69 6f 6e 2e 20 20 41 20 62 |ombination. A b| 00000450 6c 61 63 6b 20 6d 65 61 6e 73 20 74 68 61 74 20 |lack means that | 00000460 6f 6e 65 20 6f 66 20 79 6f 75 72 20 70 65 67 73 |one of your pegs| 00000470 20 69 73 0a 74 68 65 20 63 6f 72 72 65 63 74 20 | is.the correct | 00000480 63 6f 6c 6f 75 72 20 61 6e 64 20 69 73 20 69 6e |colour and is in| 00000490 20 74 68 65 20 63 6f 72 72 65 63 74 20 68 6f 6c | the correct hol| 000004a0 65 2c 20 61 20 77 68 69 74 65 20 6d 65 61 6e 73 |e, a white means| 000004b0 20 74 68 61 74 20 6f 6e 65 0a 6f 66 20 79 6f 75 | that one.of you| 000004c0 72 20 70 65 67 73 20 69 73 20 74 68 65 20 63 6f |r pegs is the co| 000004d0 72 72 65 63 74 20 63 6f 6c 6f 75 72 20 62 75 74 |rrect colour but| 000004e0 20 69 6e 20 74 68 65 20 77 72 6f 6e 67 20 68 6f | in the wrong ho| 000004f0 6c 65 20 61 6e 64 20 61 6e 20 65 6d 70 74 79 0a |le and an empty.| 00000500 68 6f 6c 65 20 6d 65 61 6e 73 20 74 68 61 74 20 |hole means that | 00000510 6f 6e 65 20 6f 66 20 79 6f 75 72 20 70 65 67 73 |one of your pegs| 00000520 20 69 73 20 74 68 65 20 77 72 6f 6e 67 20 63 6f | is the wrong co| 00000530 6c 6f 75 72 2e 20 20 0a 20 20 0a 20 20 43 6c 69 |lour. . . Cli| 00000540 63 6b 69 6e 67 20 6d 65 6e 75 20 6f 76 65 72 20 |cking menu over | 00000550 74 68 65 20 6d 61 69 6e 20 67 61 6d 65 20 77 69 |the main game wi| 00000560 6e 64 6f 77 20 77 69 6c 6c 20 62 72 69 6e 67 20 |ndow will bring | 00000570 75 70 20 61 20 6d 65 6e 75 20 77 69 74 68 0a 27 |up a menu with.'| 00000580 49 6e 66 6f 27 2c 20 27 52 65 76 65 61 6c 27 20 |Info', 'Reveal' | 00000590 61 6e 64 20 27 4e 65 77 20 47 61 6d 65 27 20 6f |and 'New Game' o| 000005a0 70 74 69 6f 6e 73 2e 20 20 43 68 6f 6f 73 69 6e |ptions. Choosin| 000005b0 67 20 27 52 65 76 65 61 6c 27 20 77 69 6c 6c 20 |g 'Reveal' will | 000005c0 65 6e 64 0a 74 68 65 20 67 61 6d 65 20 61 6e 64 |end.the game and| 000005d0 20 72 65 76 65 61 6c 20 74 68 65 20 63 6f 72 72 | reveal the corr| 000005e0 65 63 74 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 2e |ect combination.| 000005f0 20 20 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 27 4e | Clicking on 'N| 00000600 65 77 20 47 61 6d 65 27 0a 72 65 73 65 74 73 20 |ew Game'.resets | 00000610 74 68 65 20 62 6f 61 72 64 20 66 6f 72 20 61 6e |the board for an| 00000620 6f 74 68 65 72 20 67 61 6d 65 2e 20 20 53 68 6f |other game. Sho| 00000630 75 6c 64 20 79 6f 75 20 66 6f 72 20 73 6f 6d 65 |uld you for some| 00000640 20 73 74 72 61 6e 67 65 20 72 65 61 73 6f 6e 0a | strange reason.| 00000650 77 69 73 68 20 74 6f 20 71 75 69 74 20 43 6f 64 |wish to quit Cod| 00000660 65 20 42 72 65 61 6b 65 72 20 74 68 65 20 27 51 |e Breaker the 'Q| 00000670 75 69 74 27 20 6f 70 74 69 6f 6e 20 6d 61 79 20 |uit' option may | 00000680 62 65 20 66 6f 75 6e 64 20 6f 6e 20 74 68 65 20 |be found on the | 00000690 69 63 6f 6e 0a 62 61 72 20 6d 65 6e 75 2e 20 0a |icon.bar menu. .| 000006a0