Home » CEEFAX disks » telesoftware2.adl » 26_09_87/SOL1

26_09_87/SOL1

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 » CEEFAX disks » telesoftware2.adl
Filename: 26_09_87/SOL1
Read OK:
File size: 0BBA bytes
Load address: 1900
Exec address: 8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10 REM"�SOLITAIR TITLE PAGE 1�"
   20 REM"�ROB ANDERSON 1986�"
   30:
   40 ONERRORPROCerror
   50 PROCprepare
   60 MODE7:PROCsetscreen
   70 PROCinstructions
   80 END
   90:
  100 DEFPROCerror
  110 IFERR<>17RUN
  120 CHAIN"SOL2"
  130 ENDPROC
  140:
  150 DEFPROCprepare
  160 VDU23,128,255,255,255,255,252,248,240,240;23,129,255,255,255,255,63,31,15,15;23,130,240,240,248,252,255,255,255,255;23,131,15,15,31,63,255,255,255,255;23,132,0,0,0,3,7,15,31,31;23,133,0,0,0,192,224,240,248,248
  170 VDU23,134,31,31,15,7,3,0,0,0;23,135,248,248,240,224,192,0,0,0;19,3,2;0;19,2,2;0;19,1,2;0;23,136,16,32,96,255,96,32,16,0;23,137,8,4,6,255,6,4,8,0;23,138,8,28,62,73,8,8,8,8;23,139,8,8,8,8,73,62,28,8;23,140,0,0,0,1,1,1,1,31
  180 VDU23,141,0,0,0,128,128,128,128,248;23,142,31,1,1,1,1,0,0,0;23,143,248,128,128,128,128,0,0,0;23,144,255,255,224,192,192,192,192,192;23,145,255,255,7,3,3,3,3,3;23,146,192,192,192,192,192,224,255,255;23,147,3,3,3,3,3,7,255,255
  190 VDU23,148,0,60,126,126,126,126,60,0;23,149,60,66,129,129,129,129,66,60
  200 ENDPROC
  210:
  220 DEFPROCsetscreen
  230 FORA%=0TO3:PRINTTAB(0,A%);"�";CHR$157;TAB(39);"�":NEXT
  240 PRINTTAB(11,0);CHR$146;"ppppppppppppp"
  250 PROCdouble("�SOLITAIR�",12,1)
  260 PRINTTAB(11,3);CHR$146;"`````````````"
  270 FORA%=4TO23:PRINTTAB(0,A%);"�";CHR$157;" ";CHR$156;TAB(36,A%);"�";CHR$157;" ";CHR$156;:NEXT
  280 PRINTTAB(3,22);"�";CHR$157;TAB(3,23);"�";CHR$157
  290 PRINTTAB(7,22)"�ESCAPE -�load the game."
  300 PRINTTAB(4,23)"�RETURN -�scroll instructions."
  310 VDU28,4,20,35,5
  320 ENDPROC
  330:
  340 DEFPROCinstructions
  350 REPEAT
  360 PROCdouble("�SOLITAIR�",8,14)
  370 PRINT'''TAB(5)"� A GAME OF LOGIC�"''TAB(6)"�IMPLEMENTED BY�"''TAB(7)"�ROB ANDERSON.�"''''TAB(6)"�COPYRIGHT  1986�"''
  380 REPEATUNTILGET=13
  390 PROCdouble("�INSTRUCTIONS�",6,14)
  400 PRINT''"� The object of the game of�"'"�solitair is to remove in play  �all the pegs from the playing  �board except the last one which�must finish in the centre hole."
  410 PRINT"� To do this you firstly chose a�peg with which you are to make �the move (the source peg), and �then hop it over another peg"
  420 PRINT"�into a vacant hole (the"'"�destination hole).�"
  430 REPEATUNTILGET=13
  440 PROCdouble("�INSTRUCTIONS - con't�",2,14)
  450 PRINT''"� The peg that has just been"'"�hopped over is then taken from �the playing board, thus"'"�resulting in a depletion in the�number of pegs remaining, until�eventually there is only one   �peg left, which must end up in"
  460 PRINT"�the centre of the board.�"''''
  470 REPEATUNTILGET=13
  480 PROCdouble("�INSTRUCTIONS - con't�",2,14)
  490 PRINT''"� Jumps over pegs may only take �place either horizontally or"'"�vertically, but the program"'"�does reject all illegal moves,"'"�so it is suggested that the"'"�best way to learn the rules"'"�is to�simply play the game."
  500 PRINT''''
  510 REPEATUNTILGET=13
  520 PROCdouble("�GAME TECHNIQUE�",7,14)
  530 PRINT''"� If you manage to leave about 3�pegs left after playing the"'"�game, you are doing well, but"'"�getting only one peg left in"'"�the centre is hard."
  540 PRINT'"� A good hint is not to leave"'"�any pegs around the outside of �the board, and also remember"'"�that the last peg has to fit in�the middle, so move your pegs"'"�with this is mind."
  550 REPEATUNTILGET=13
  560 *FX21,0
  570 UNTILFALSE
  580 ENDPROC
  590:
  600:
  610 DEFPROCdouble(A$,A,B)
  620 PRINT''
  630 FORC=0TO1:PRINTTAB(A,B+C);CHR$141;A$;CHR$140;:NEXT
  640 ENDPROC

 �"�SOLITAIR TITLE PAGE 1�"
 �"�ROB ANDERSON 1986�"
:
(
 ��error
2
 �prepare
< �7:�setscreen
F �instructions
P �
Z:
d ��error
n �<>17�
x �"SOL2"
� �
�:
� ��prepare
�� �23,128,255,255,255,255,252,248,240,240;23,129,255,255,255,255,63,31,15,15;23,130,240,240,248,252,255,255,255,255;23,131,15,15,31,63,255,255,255,255;23,132,0,0,0,3,7,15,31,31;23,133,0,0,0,192,224,240,248,248
�� �23,134,31,31,15,7,3,0,0,0;23,135,248,248,240,224,192,0,0,0;19,3,2;0;19,2,2;0;19,1,2;0;23,136,16,32,96,255,96,32,16,0;23,137,8,4,6,255,6,4,8,0;23,138,8,28,62,73,8,8,8,8;23,139,8,8,8,8,73,62,28,8;23,140,0,0,0,1,1,1,1,31
�� �23,141,0,0,0,128,128,128,128,248;23,142,31,1,1,1,1,0,0,0;23,143,248,128,128,128,128,0,0,0;23,144,255,255,224,192,192,192,192,192;23,145,255,255,7,3,3,3,3,3;23,146,192,192,192,192,192,224,255,255;23,147,3,3,3,3,3,7,255,255
�I �23,148,0,60,126,126,126,126,60,0;23,149,60,66,129,129,129,129,66,60
� �
�:
� ��setscreen
�( �A%=0�3:�0,A%);"�";�157;�39);"�":�
�! �11,0);�146;"ppppppppppppp"
� �double("�SOLITAIR�",12,1)
! �11,3);�146;"`````````````"
D �A%=4�23:�0,A%);"�";�157;" ";�156;�36,A%);"�";�157;" ";�156;:�
% �3,22);"�";�157;�3,23);"�";�157
"& �7,22)"�ESCAPE -�load the game."
,, �4,23)"�RETURN -�scroll instructions."
6 �28,4,20,35,5
@ �
J:
T ��instructions
^ �
h �double("�SOLITAIR�",8,14)
ri �'''�5)"� A GAME OF LOGIC�"''�6)"�IMPLEMENTED BY�"''�7)"�ROB ANDERSON.�"''''�6)"�COPYRIGHT  1986�"''
| ���=13
�# �double("�INSTRUCTIONS�",6,14)
�� �''"� The object of the game of�"'"�solitair is to remove in play  �all the pegs from the playing  �board except the last one which�must finish in the centre hole."
�� �"� To do this you firstly chose a�peg with which you are to make �the move (the source peg), and �then hop it over another peg"
�7 �"�into a vacant hole (the"'"�destination hole).�"
� ���=13
�+ �double("�INSTRUCTIONS - con't�",2,14)
�� �''"� The peg that has just been"'"�hopped over is then taken from �the playing board, thus"'"�resulting in a depletion in the�number of pegs remaining, until�eventually there is only one   �peg left, which must end up in"
�& �"�the centre of the board.�"''''
� ���=13
�+ �double("�INSTRUCTIONS - con't�",2,14)
�� �''"� Jumps over pegs may only take �place either horizontally or"'"�vertically, but the program"'"�does reject all illegal moves,"'"�so it is suggested that the"'"�best way to learn the rules"'"�is to�simply play the game."
�
 �''''
� ���=13
% �double("�GAME TECHNIQUE�",7,14)
� �''"� If you manage to leave about 3�pegs left after playing the"'"�game, you are doing well, but"'"�getting only one peg left in"'"�the centre is hard."
� �'"� A good hint is not to leave"'"�any pegs around the outside of �the board, and also remember"'"�that the last peg has to fit in�the middle, so move your pegs"'"�with this is mind."
& ���=13
0 *FX21,0
: ��
D �
N:
X:
b ��double(A$,A,B)
l �''
v$ �C=0�1:�A,B+C);�141;A$;�140;:�
� �
�
00000000  0d 00 0a 1f 20 f4 22 81  53 4f 4c 49 54 41 49 52  |.... .".SOLITAIR|
00000010  20 54 49 54 4c 45 20 50  41 47 45 20 31 87 22 0d  | TITLE PAGE 1.".|
00000020  00 14 1b 20 f4 22 82 52  4f 42 20 41 4e 44 45 52  |... .".ROB ANDER|
00000030  53 4f 4e 20 31 39 38 36  87 22 0d 00 1e 05 3a 0d  |SON 1986."....:.|
00000040  00 28 0d 20 ee 85 f2 65  72 72 6f 72 0d 00 32 0d  |.(. ...error..2.|
00000050  20 f2 70 72 65 70 61 72  65 0d 00 3c 12 20 eb 37  | .prepare..<. .7|
00000060  3a f2 73 65 74 73 63 72  65 65 6e 0d 00 46 12 20  |:.setscreen..F. |
00000070  f2 69 6e 73 74 72 75 63  74 69 6f 6e 73 0d 00 50  |.instructions..P|
00000080  06 20 e0 0d 00 5a 05 3a  0d 00 64 0c 20 dd f2 65  |. ...Z.:..d. ..e|
00000090  72 72 6f 72 0d 00 6e 0c  20 e7 9f 3c 3e 31 37 f9  |rror..n. ..<>17.|
000000a0  0d 00 78 0c 20 d7 22 53  4f 4c 32 22 0d 00 82 06  |..x. ."SOL2"....|
000000b0  20 e1 0d 00 8c 05 3a 0d  00 96 0e 20 dd f2 70 72  | .....:.... ..pr|
000000c0  65 70 61 72 65 0d 00 a0  d4 20 ef 32 33 2c 31 32  |epare.... .23,12|
000000d0  38 2c 32 35 35 2c 32 35  35 2c 32 35 35 2c 32 35  |8,255,255,255,25|
000000e0  35 2c 32 35 32 2c 32 34  38 2c 32 34 30 2c 32 34  |5,252,248,240,24|
000000f0  30 3b 32 33 2c 31 32 39  2c 32 35 35 2c 32 35 35  |0;23,129,255,255|
00000100  2c 32 35 35 2c 32 35 35  2c 36 33 2c 33 31 2c 31  |,255,255,63,31,1|
00000110  35 2c 31 35 3b 32 33 2c  31 33 30 2c 32 34 30 2c  |5,15;23,130,240,|
00000120  32 34 30 2c 32 34 38 2c  32 35 32 2c 32 35 35 2c  |240,248,252,255,|
00000130  32 35 35 2c 32 35 35 2c  32 35 35 3b 32 33 2c 31  |255,255,255;23,1|
00000140  33 31 2c 31 35 2c 31 35  2c 33 31 2c 36 33 2c 32  |31,15,15,31,63,2|
00000150  35 35 2c 32 35 35 2c 32  35 35 2c 32 35 35 3b 32  |55,255,255,255;2|
00000160  33 2c 31 33 32 2c 30 2c  30 2c 30 2c 33 2c 37 2c  |3,132,0,0,0,3,7,|
00000170  31 35 2c 33 31 2c 33 31  3b 32 33 2c 31 33 33 2c  |15,31,31;23,133,|
00000180  30 2c 30 2c 30 2c 31 39  32 2c 32 32 34 2c 32 34  |0,0,0,192,224,24|
00000190  30 2c 32 34 38 2c 32 34  38 0d 00 aa df 20 ef 32  |0,248,248.... .2|
000001a0  33 2c 31 33 34 2c 33 31  2c 33 31 2c 31 35 2c 37  |3,134,31,31,15,7|
000001b0  2c 33 2c 30 2c 30 2c 30  3b 32 33 2c 31 33 35 2c  |,3,0,0,0;23,135,|
000001c0  32 34 38 2c 32 34 38 2c  32 34 30 2c 32 32 34 2c  |248,248,240,224,|
000001d0  31 39 32 2c 30 2c 30 2c  30 3b 31 39 2c 33 2c 32  |192,0,0,0;19,3,2|
000001e0  3b 30 3b 31 39 2c 32 2c  32 3b 30 3b 31 39 2c 31  |;0;19,2,2;0;19,1|
000001f0  2c 32 3b 30 3b 32 33 2c  31 33 36 2c 31 36 2c 33  |,2;0;23,136,16,3|
00000200  32 2c 39 36 2c 32 35 35  2c 39 36 2c 33 32 2c 31  |2,96,255,96,32,1|
00000210  36 2c 30 3b 32 33 2c 31  33 37 2c 38 2c 34 2c 36  |6,0;23,137,8,4,6|
00000220  2c 32 35 35 2c 36 2c 34  2c 38 2c 30 3b 32 33 2c  |,255,6,4,8,0;23,|
00000230  31 33 38 2c 38 2c 32 38  2c 36 32 2c 37 33 2c 38  |138,8,28,62,73,8|
00000240  2c 38 2c 38 2c 38 3b 32  33 2c 31 33 39 2c 38 2c  |,8,8,8;23,139,8,|
00000250  38 2c 38 2c 38 2c 37 33  2c 36 32 2c 32 38 2c 38  |8,8,8,73,62,28,8|
00000260  3b 32 33 2c 31 34 30 2c  30 2c 30 2c 30 2c 31 2c  |;23,140,0,0,0,1,|
00000270  31 2c 31 2c 31 2c 33 31  0d 00 b4 e3 20 ef 32 33  |1,1,1,31.... .23|
00000280  2c 31 34 31 2c 30 2c 30  2c 30 2c 31 32 38 2c 31  |,141,0,0,0,128,1|
00000290  32 38 2c 31 32 38 2c 31  32 38 2c 32 34 38 3b 32  |28,128,128,248;2|
000002a0  33 2c 31 34 32 2c 33 31  2c 31 2c 31 2c 31 2c 31  |3,142,31,1,1,1,1|
000002b0  2c 30 2c 30 2c 30 3b 32  33 2c 31 34 33 2c 32 34  |,0,0,0;23,143,24|
000002c0  38 2c 31 32 38 2c 31 32  38 2c 31 32 38 2c 31 32  |8,128,128,128,12|
000002d0  38 2c 30 2c 30 2c 30 3b  32 33 2c 31 34 34 2c 32  |8,0,0,0;23,144,2|
000002e0  35 35 2c 32 35 35 2c 32  32 34 2c 31 39 32 2c 31  |55,255,224,192,1|
000002f0  39 32 2c 31 39 32 2c 31  39 32 2c 31 39 32 3b 32  |92,192,192,192;2|
00000300  33 2c 31 34 35 2c 32 35  35 2c 32 35 35 2c 37 2c  |3,145,255,255,7,|
00000310  33 2c 33 2c 33 2c 33 2c  33 3b 32 33 2c 31 34 36  |3,3,3,3,3;23,146|
00000320  2c 31 39 32 2c 31 39 32  2c 31 39 32 2c 31 39 32  |,192,192,192,192|
00000330  2c 31 39 32 2c 32 32 34  2c 32 35 35 2c 32 35 35  |,192,224,255,255|
00000340  3b 32 33 2c 31 34 37 2c  33 2c 33 2c 33 2c 33 2c  |;23,147,3,3,3,3,|
00000350  33 2c 37 2c 32 35 35 2c  32 35 35 0d 00 be 49 20  |3,7,255,255...I |
00000360  ef 32 33 2c 31 34 38 2c  30 2c 36 30 2c 31 32 36  |.23,148,0,60,126|
00000370  2c 31 32 36 2c 31 32 36  2c 31 32 36 2c 36 30 2c  |,126,126,126,60,|
00000380  30 3b 32 33 2c 31 34 39  2c 36 30 2c 36 36 2c 31  |0;23,149,60,66,1|
00000390  32 39 2c 31 32 39 2c 31  32 39 2c 31 32 39 2c 36  |29,129,129,129,6|
000003a0  36 2c 36 30 0d 00 c8 06  20 e1 0d 00 d2 05 3a 0d  |6,60.... .....:.|
000003b0  00 dc 10 20 dd f2 73 65  74 73 63 72 65 65 6e 0d  |... ..setscreen.|
000003c0  00 e6 28 20 e3 41 25 3d  30 b8 33 3a f1 8a 30 2c  |..( .A%=0.3:..0,|
000003d0  41 25 29 3b 22 83 22 3b  bd 31 35 37 3b 8a 33 39  |A%);".";.157;.39|
000003e0  29 3b 22 9c 22 3a ed 0d  00 f0 21 20 f1 8a 31 31  |);".":....! ..11|
000003f0  2c 30 29 3b bd 31 34 36  3b 22 70 70 70 70 70 70  |,0);.146;"pppppp|
00000400  70 70 70 70 70 70 70 22  0d 00 fa 1f 20 f2 64 6f  |ppppppp".... .do|
00000410  75 62 6c 65 28 22 84 53  4f 4c 49 54 41 49 52 87  |uble(".SOLITAIR.|
00000420  22 2c 31 32 2c 31 29 0d  01 04 21 20 f1 8a 31 31  |",12,1)...! ..11|
00000430  2c 33 29 3b bd 31 34 36  3b 22 60 60 60 60 60 60  |,3);.146;"``````|
00000440  60 60 60 60 60 60 60 22  0d 01 0e 44 20 e3 41 25  |```````"...D .A%|
00000450  3d 34 b8 32 33 3a f1 8a  30 2c 41 25 29 3b 22 83  |=4.23:..0,A%);".|
00000460  22 3b bd 31 35 37 3b 22  20 22 3b bd 31 35 36 3b  |";.157;" ";.156;|
00000470  8a 33 36 2c 41 25 29 3b  22 83 22 3b bd 31 35 37  |.36,A%);".";.157|
00000480  3b 22 20 22 3b bd 31 35  36 3b 3a ed 0d 01 18 25  |;" ";.156;:....%|
00000490  20 f1 8a 33 2c 32 32 29  3b 22 83 22 3b bd 31 35  | ..3,22);".";.15|
000004a0  37 3b 8a 33 2c 32 33 29  3b 22 83 22 3b bd 31 35  |7;.3,23);".";.15|
000004b0  37 0d 01 22 26 20 f1 8a  37 2c 32 32 29 22 84 45  |7.."& ..7,22)".E|
000004c0  53 43 41 50 45 20 2d 81  6c 6f 61 64 20 74 68 65  |SCAPE -.load the|
000004d0  20 67 61 6d 65 2e 22 0d  01 2c 2c 20 f1 8a 34 2c  | game."..,, ..4,|
000004e0  32 33 29 22 84 52 45 54  55 52 4e 20 2d 81 73 63  |23)".RETURN -.sc|
000004f0  72 6f 6c 6c 20 69 6e 73  74 72 75 63 74 69 6f 6e  |roll instruction|
00000500  73 2e 22 0d 01 36 12 20  ef 32 38 2c 34 2c 32 30  |s."..6. .28,4,20|
00000510  2c 33 35 2c 35 0d 01 40  06 20 e1 0d 01 4a 05 3a  |,35,5..@. ...J.:|
00000520  0d 01 54 13 20 dd f2 69  6e 73 74 72 75 63 74 69  |..T. ..instructi|
00000530  6f 6e 73 0d 01 5e 06 20  f5 0d 01 68 1f 20 f2 64  |ons..^. ...h. .d|
00000540  6f 75 62 6c 65 28 22 81  53 4f 4c 49 54 41 49 52  |ouble(".SOLITAIR|
00000550  87 22 2c 38 2c 31 34 29  0d 01 72 69 20 f1 27 27  |.",8,14)..ri .''|
00000560  27 8a 35 29 22 86 20 41  20 47 41 4d 45 20 4f 46  |'.5)". A GAME OF|
00000570  20 4c 4f 47 49 43 87 22  27 27 8a 36 29 22 86 49  | LOGIC."''.6)".I|
00000580  4d 50 4c 45 4d 45 4e 54  45 44 20 42 59 87 22 27  |MPLEMENTED BY."'|
00000590  27 8a 37 29 22 86 52 4f  42 20 41 4e 44 45 52 53  |'.7)".ROB ANDERS|
000005a0  4f 4e 2e 87 22 27 27 27  27 8a 36 29 22 86 43 4f  |ON.."''''.6)".CO|
000005b0  50 59 52 49 47 48 54 20  20 31 39 38 36 87 22 27  |PYRIGHT  1986."'|
000005c0  27 0d 01 7c 0b 20 f5 fd  a5 3d 31 33 0d 01 86 23  |'..|. ...=13...#|
000005d0  20 f2 64 6f 75 62 6c 65  28 22 81 49 4e 53 54 52  | .double(".INSTR|
000005e0  55 43 54 49 4f 4e 53 87  22 2c 36 2c 31 34 29 0d  |UCTIONS.",6,14).|
000005f0  01 90 a9 20 f1 27 27 22  86 20 54 68 65 20 6f 62  |... .''". The ob|
00000600  6a 65 63 74 20 6f 66 20  74 68 65 20 67 61 6d 65  |ject of the game|
00000610  20 6f 66 87 22 27 22 86  73 6f 6c 69 74 61 69 72  | of."'".solitair|
00000620  20 69 73 20 74 6f 20 72  65 6d 6f 76 65 20 69 6e  | is to remove in|
00000630  20 70 6c 61 79 20 20 86  61 6c 6c 20 74 68 65 20  | play  .all the |
00000640  70 65 67 73 20 66 72 6f  6d 20 74 68 65 20 70 6c  |pegs from the pl|
00000650  61 79 69 6e 67 20 20 86  62 6f 61 72 64 20 65 78  |aying  .board ex|
00000660  63 65 70 74 20 74 68 65  20 6c 61 73 74 20 6f 6e  |cept the last on|
00000670  65 20 77 68 69 63 68 86  6d 75 73 74 20 66 69 6e  |e which.must fin|
00000680  69 73 68 20 69 6e 20 74  68 65 20 63 65 6e 74 72  |ish in the centr|
00000690  65 20 68 6f 6c 65 2e 22  0d 01 9a 85 20 f1 22 86  |e hole.".... .".|
000006a0  20 54 6f 20 64 6f 20 74  68 69 73 20 79 6f 75 20  | To do this you |
000006b0  66 69 72 73 74 6c 79 20  63 68 6f 73 65 20 61 86  |firstly chose a.|
000006c0  70 65 67 20 77 69 74 68  20 77 68 69 63 68 20 79  |peg with which y|
000006d0  6f 75 20 61 72 65 20 74  6f 20 6d 61 6b 65 20 86  |ou are to make .|
000006e0  74 68 65 20 6d 6f 76 65  20 28 74 68 65 20 73 6f  |the move (the so|
000006f0  75 72 63 65 20 70 65 67  29 2c 20 61 6e 64 20 86  |urce peg), and .|
00000700  74 68 65 6e 20 68 6f 70  20 69 74 20 6f 76 65 72  |then hop it over|
00000710  20 61 6e 6f 74 68 65 72  20 70 65 67 22 0d 01 a4  | another peg"...|
00000720  37 20 f1 22 86 69 6e 74  6f 20 61 20 76 61 63 61  |7 .".into a vaca|
00000730  6e 74 20 68 6f 6c 65 20  28 74 68 65 22 27 22 86  |nt hole (the"'".|
00000740  64 65 73 74 69 6e 61 74  69 6f 6e 20 68 6f 6c 65  |destination hole|
00000750  29 2e 87 22 0d 01 ae 0b  20 f5 fd a5 3d 31 33 0d  |)..".... ...=13.|
00000760  01 b8 2b 20 f2 64 6f 75  62 6c 65 28 22 81 49 4e  |..+ .double(".IN|
00000770  53 54 52 55 43 54 49 4f  4e 53 20 2d 20 63 6f 6e  |STRUCTIONS - con|
00000780  27 74 87 22 2c 32 2c 31  34 29 0d 01 c2 e3 20 f1  |'t.",2,14).... .|
00000790  27 27 22 86 20 54 68 65  20 70 65 67 20 74 68 61  |''". The peg tha|
000007a0  74 20 68 61 73 20 6a 75  73 74 20 62 65 65 6e 22  |t has just been"|
000007b0  27 22 86 68 6f 70 70 65  64 20 6f 76 65 72 20 69  |'".hopped over i|
000007c0  73 20 74 68 65 6e 20 74  61 6b 65 6e 20 66 72 6f  |s then taken fro|
000007d0  6d 20 86 74 68 65 20 70  6c 61 79 69 6e 67 20 62  |m .the playing b|
000007e0  6f 61 72 64 2c 20 74 68  75 73 22 27 22 86 72 65  |oard, thus"'".re|
000007f0  73 75 6c 74 69 6e 67 20  69 6e 20 61 20 64 65 70  |sulting in a dep|
00000800  6c 65 74 69 6f 6e 20 69  6e 20 74 68 65 86 6e 75  |letion in the.nu|
00000810  6d 62 65 72 20 6f 66 20  70 65 67 73 20 72 65 6d  |mber of pegs rem|
00000820  61 69 6e 69 6e 67 2c 20  75 6e 74 69 6c 86 65 76  |aining, until.ev|
00000830  65 6e 74 75 61 6c 6c 79  20 74 68 65 72 65 20 69  |entually there i|
00000840  73 20 6f 6e 6c 79 20 6f  6e 65 20 20 20 86 70 65  |s only one   .pe|
00000850  67 20 6c 65 66 74 2c 20  77 68 69 63 68 20 6d 75  |g left, which mu|
00000860  73 74 20 65 6e 64 20 75  70 20 69 6e 22 0d 01 cc  |st end up in"...|
00000870  26 20 f1 22 86 74 68 65  20 63 65 6e 74 72 65 20  |& .".the centre |
00000880  6f 66 20 74 68 65 20 62  6f 61 72 64 2e 87 22 27  |of the board.."'|
00000890  27 27 27 0d 01 d6 0b 20  f5 fd a5 3d 31 33 0d 01  |'''.... ...=13..|
000008a0  e0 2b 20 f2 64 6f 75 62  6c 65 28 22 81 49 4e 53  |.+ .double(".INS|
000008b0  54 52 55 43 54 49 4f 4e  53 20 2d 20 63 6f 6e 27  |TRUCTIONS - con'|
000008c0  74 87 22 2c 32 2c 31 34  29 0d 01 ea e5 20 f1 27  |t.",2,14).... .'|
000008d0  27 22 86 20 4a 75 6d 70  73 20 6f 76 65 72 20 70  |'". Jumps over p|
000008e0  65 67 73 20 6d 61 79 20  6f 6e 6c 79 20 74 61 6b  |egs may only tak|
000008f0  65 20 86 70 6c 61 63 65  20 65 69 74 68 65 72 20  |e .place either |
00000900  68 6f 72 69 7a 6f 6e 74  61 6c 6c 79 20 6f 72 22  |horizontally or"|
00000910  27 22 86 76 65 72 74 69  63 61 6c 6c 79 2c 20 62  |'".vertically, b|
00000920  75 74 20 74 68 65 20 70  72 6f 67 72 61 6d 22 27  |ut the program"'|
00000930  22 86 64 6f 65 73 20 72  65 6a 65 63 74 20 61 6c  |".does reject al|
00000940  6c 20 69 6c 6c 65 67 61  6c 20 6d 6f 76 65 73 2c  |l illegal moves,|
00000950  22 27 22 86 73 6f 20 69  74 20 69 73 20 73 75 67  |"'".so it is sug|
00000960  67 65 73 74 65 64 20 74  68 61 74 20 74 68 65 22  |gested that the"|
00000970  27 22 86 62 65 73 74 20  77 61 79 20 74 6f 20 6c  |'".best way to l|
00000980  65 61 72 6e 20 74 68 65  20 72 75 6c 65 73 22 27  |earn the rules"'|
00000990  22 86 69 73 20 74 6f 86  73 69 6d 70 6c 79 20 70  |".is to.simply p|
000009a0  6c 61 79 20 74 68 65 20  67 61 6d 65 2e 22 0d 01  |lay the game."..|
000009b0  f4 0a 20 f1 27 27 27 27  0d 01 fe 0b 20 f5 fd a5  |.. .''''.... ...|
000009c0  3d 31 33 0d 02 08 25 20  f2 64 6f 75 62 6c 65 28  |=13...% .double(|
000009d0  22 81 47 41 4d 45 20 54  45 43 48 4e 49 51 55 45  |".GAME TECHNIQUE|
000009e0  87 22 2c 37 2c 31 34 29  0d 02 12 9e 20 f1 27 27  |.",7,14).... .''|
000009f0  22 86 20 49 66 20 79 6f  75 20 6d 61 6e 61 67 65  |". If you manage|
00000a00  20 74 6f 20 6c 65 61 76  65 20 61 62 6f 75 74 20  | to leave about |
00000a10  33 86 70 65 67 73 20 6c  65 66 74 20 61 66 74 65  |3.pegs left afte|
00000a20  72 20 70 6c 61 79 69 6e  67 20 74 68 65 22 27 22  |r playing the"'"|
00000a30  86 67 61 6d 65 2c 20 79  6f 75 20 61 72 65 20 64  |.game, you are d|
00000a40  6f 69 6e 67 20 77 65 6c  6c 2c 20 62 75 74 22 27  |oing well, but"'|
00000a50  22 86 67 65 74 74 69 6e  67 20 6f 6e 6c 79 20 6f  |".getting only o|
00000a60  6e 65 20 70 65 67 20 6c  65 66 74 20 69 6e 22 27  |ne peg left in"'|
00000a70  22 86 74 68 65 20 63 65  6e 74 72 65 20 69 73 20  |".the centre is |
00000a80  68 61 72 64 2e 22 0d 02  1c bd 20 f1 27 22 86 20  |hard.".... .'". |
00000a90  41 20 67 6f 6f 64 20 68  69 6e 74 20 69 73 20 6e  |A good hint is n|
00000aa0  6f 74 20 74 6f 20 6c 65  61 76 65 22 27 22 86 61  |ot to leave"'".a|
00000ab0  6e 79 20 70 65 67 73 20  61 72 6f 75 6e 64 20 74  |ny pegs around t|
00000ac0  68 65 20 6f 75 74 73 69  64 65 20 6f 66 20 86 74  |he outside of .t|
00000ad0  68 65 20 62 6f 61 72 64  2c 20 61 6e 64 20 61 6c  |he board, and al|
00000ae0  73 6f 20 72 65 6d 65 6d  62 65 72 22 27 22 86 74  |so remember"'".t|
00000af0  68 61 74 20 74 68 65 20  6c 61 73 74 20 70 65 67  |hat the last peg|
00000b00  20 68 61 73 20 74 6f 20  66 69 74 20 69 6e 86 74  | has to fit in.t|
00000b10  68 65 20 6d 69 64 64 6c  65 2c 20 73 6f 20 6d 6f  |he middle, so mo|
00000b20  76 65 20 79 6f 75 72 20  70 65 67 73 22 27 22 86  |ve your pegs"'".|
00000b30  77 69 74 68 20 74 68 69  73 20 69 73 20 6d 69 6e  |with this is min|
00000b40  64 2e 22 0d 02 26 0b 20  f5 fd a5 3d 31 33 0d 02  |d."..&. ...=13..|
00000b50  30 0c 20 2a 46 58 32 31  2c 30 0d 02 3a 07 20 fd  |0. *FX21,0..:. .|
00000b60  a3 0d 02 44 06 20 e1 0d  02 4e 05 3a 0d 02 58 05  |...D. ...N.:..X.|
00000b70  3a 0d 02 62 15 20 dd f2  64 6f 75 62 6c 65 28 41  |:..b. ..double(A|
00000b80  24 2c 41 2c 42 29 0d 02  6c 08 20 f1 27 27 0d 02  |$,A,B)..l. .''..|
00000b90  76 24 20 e3 43 3d 30 b8  31 3a f1 8a 41 2c 42 2b  |v$ .C=0.1:..A,B+|
00000ba0  43 29 3b bd 31 34 31 3b  41 24 3b bd 31 34 30 3b  |C);.141;A$;.140;|
00000bb0  3a ed 0d 02 80 06 20 e1  0d ff                    |:..... ...|
00000bba
26_09_87/SOL1.m0
26_09_87/SOL1.m1
26_09_87/SOL1.m2
26_09_87/SOL1.m4
26_09_87/SOL1.m5