Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF » G/SCORPIO

G/SCORPIO

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_54.ADF
Filename: G/SCORPIO
Read OK:
File size: 13BF bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

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

File contents
   10REM >Scorpion Patience
   20REM by Michael Leete
   30REM (c) The Micro User
   40REM With mods by Richard Dimond
   50:
   60IF PAGE>&E00 COLOUR0:GOTO2260
   70ON ERROR IF ERR=17 RUN ELSE REPORT:PRINT" at ";ERL:END
   80Z=RND(-TIME)
   90GCOL0,128:CLS
  100MODE1:DIM b$(7),c%(7)
  110VDU23;8202;0;0;0;19,0,4;0;
  120PROCd
  130PRINTTAB(0,6)"Enter Deal No."''"or press RETURN"'"for a random deal"
  140INPUTTAB(15,6)M%
  150IFM%=0 M%=ABS(RND(-TIME))
  160k$="":v$="#A23456789"+CHR$229+"JQK0"
  170p$="2H2S2D2C3H3S3D3C4H4S4D4C5H5S5D5C6H6S6D6C7H7S7D7C8H8S8D8C9H9S9D9C"+CHR$229+"H"+CHR$229+"S"+CHR$229+"D"+CHR$229+"CJHJSJDJCQHQSQDQCKHKSKDKCAHASADAC"
  180z$=CHR$(228)+CHR$(228)+CHR$(228)
  190MODE1:A%=RND(-M%)
  200VDU23;8202;0;0;0;19,2,4;0;19,3,7;0;
  210PROCinit
  220GCOL0,130:COLOUR130:CLG
  230PROCd:PROCs:PROCtableau
  240COLOUR3:PRINTTAB(21,31)"Deal No. ";M%;
  250REPEAT:COLOUR0
  260PRINTTAB(16,29)SPC4
  270REPEAT A$=GET$:UNTIL INSTR("1234567D",A$)<>0
  280IF A$="D" PROCDeal:GOTO 340:ELSE PRINTTAB(16,29)"from ";A$:f%=VAL(A$):PRINTTAB(23,29)"to ":*FX21
  290REPEAT B$=GET$:UNTIL INSTR("1234567",B$)<>0
  300PRINTTAB(26,29)B$:t%=VAL(B$):*FX21
  310IF A$=B$ p%=0
  320A%=FNm(f%,t%)
  330IF NOTA% PROCe ELSE PROCtck
  340PRINTTAB(21,29)SPC(10):PROCend:UNTIL I%
  350COLOUR1:PRINTTAB(7,27)"Congratulations - You win.":PRINTTAB(28)SPC(32)
  360PRINTTAB(1,30)SPC(12)
  370FOR X=1 TO 10:SOUND1,-5-X,110+X,1:SOUND1,-5-X,130+X,1:NEXT:*FX21
  380PRINTTAB(12,30)"Play again? (Y/N)"
  390REPEAT A=GET:UNTIL A=78ORA=89:IF A=89 RUN ELSE CHAIN"SPcheck"
  400:
  410DEFPROCf(C%):R%=0
  420y%=LEN(b$(C%))
  430IFy%=0 VDU31,5*C%-4,y%/2+4:PRINTSPC3:VDU31,5*C%-4,y%/2+5:PRINTSPC3:VDU31,5*C%-4,y%/2+6:PRINTSPC3:VDU31,5*C%-4,y%/2+7:PRINTSPC3:ENDPROC:ELSEc$=RIGHT$(b$(C%),2)
  440IF y%>40 C%=8:y%=y%-38
  450IFINSTR("HD",RIGHT$(c$,1))COLOUR1ELSECOLOUR0
  460COLOUR131
  470IFINSTR("H",RIGHT$(c$,1)) THEN c$=LEFT$(c$,1)+" "+CHR$224 ELSE IF INSTR("D",RIGHT$(c$,1)) THEN c$=LEFT$(c$,1)+" "+CHR$226 ELSE IF INSTR("S",RIGHT$(c$,1)) THEN c$=LEFT$(c$,1)+" "+CHR$225 ELSE c$=LEFT$(c$,1)+" "+CHR$227
  480VDU31,C%*5-4,y%/2+3:PRINTc$
  490VDU31,C%*5-4,y%/2+4:PRINTSPC3
  500VDU31,C%*5-4,y%/2+5:PRINTSPC3
  510t$=LEFT$(c$,1):c$=c$+" "+t$:c$=RIGHT$(c$,3)
  520VDU31,C%*5-4,y%/2+6:PRINTc$
  530PROCcard
  540COLOUR130
  550VDU31,5*C%-4,y%/2+7:PRINTSPC3
  560VDU31,5*C%-4,y%/2+8:PRINTSPC3
  570FOR S%=1 TO 7
  580y%=LEN(b$(S%))
  590IF y%<41 R%=R%+1
  600NEXT
  610IF R%=7 FOR T%=3 TO 8:PRINTTAB(35,T%)SPC4:NEXT
  620ENDPROC
  630:
  640DEFFNm(s%,d%)
  650l$=RIGHT$(b$(d%),2):IFl$=""l$="0"
  660flag%=0
  670n$=MID$(v$,INSTR(v$,LEFT$(l$,1))-1,1)
  680o$=RIGHT$(l$,1)
  690g$=b$(s%)
  700p%=1:IF s%<5 p%=c%(s%)*2-1
  710IF p%>LEN(g$)-1:=FALSE
  720FORJ%=p%TO LEN(g$) STEP2
  730x$=MID$(g$,J%,1):y$=MID$(g$,J%+1,1)
  740IF n$="K" o$=y$
  750IF(x$=n$ANDy$=o$) THENp%=J%:J%=LEN(g$)
  760NEXT
  770IF x$="K" PROCking:IF flag%:p%=p%+2:GOTO710
  780IFp%<1THEN=0ELSEc$=MID$(b$(s%),p%,2):IFINSTR(c$,n$)=0THEN=0 ELSE IF FNT THEN=0ELSEq$=MID$(g$,p%,LEN(g$)-p%+1)
  790FORX%=1TOLEN(q$)STEP2:b$(d%)=b$(d%)+MID$(q$,X%,2):b$(s%)=LEFT$(b$(s%),LEN(b$(s%))-2)
  800PROCf(d%):PROCf(s%)
  810NEXT
  820IF LEN(b$(s%))=c%(s%)*2-2 THEN c%(s%)=c%(s%)-1
  830IF c%(s%)<0 c%(s%)=0
  840=TRUE
  850:
  860DEFPROCe
  870SOUND1,-7,9,3:COLOUR1:PRINTTAB(14,30)"Move disallowed"
  880n=TIME:REPEAT UNTIL TIME>n+120
  890COLOUR130:PRINTTAB(14,30)SPC(15)
  900ENDPROC
  910:
  920DEFPROCking:COLOUR 1
  930IF n$<>"K" ENDPROC
  940PRINTTAB(14,30)n$+y$;"? Y/N":VDU7
  950REPEAT A=GET:UNTIL A=78 OR A=89
  960IF A=78 flag%=1:ELSE flag%=0
  970COLOUR 0
  980PRINTTAB(14,30)SPC(9)
  990ENDPROC
 1000:
 1010DEFFNT
 1020d$=RIGHT$(l$,1)
 1030e$=RIGHT$(c$,1)
 1040IF b$(d%)="" THEN =0
 1050IF d$<>e$ THEN=TRUE ELSE=0
 1060:
 1070DEFPROCDeal
 1080IF f$="" PROCe:ENDPROC
 1090PRINTTAB(1,30)"or ESCAPE"
 1100FOR I%=1 TO 3
 1110b$(I%)=b$(I%)+MID$(f$,2*I%-1,2)
 1120PROCf(I%):PROCtck
 1130NEXT:f$="":ENDPROC
 1140:
 1150DEFPROCend:I%=0
 1160FOR J%=1 TO 7
 1170K%=LEN(b$(J%))
 1180IF K%=26 I%=I%+1
 1190NEXT
 1200IF I%<>4 I%=0:ENDPROC
 1210I%=0:p$=MID$(v$,2,13)
 1220FOR J%=1 TO 7
 1230K%=LEN(b$(J%))
 1240IF K%=0 THEN GOTO1330
 1250M$=RIGHT$(b$(J%),1)
 1260FOR L%=23 TO 1 STEP-2
 1270N$=MID$(b$(J%),L%+1,1)
 1280IF N$<>M$ I%=1
 1290M%=INSTR(p$,(MID$(b$(J%),L%,1)))
 1300N%=INSTR(p$,(MID$(b$(J%),L%+2,1)))
 1310IF M%-N%<>1 THEN I%=1
 1320NEXT
 1330NEXT
 1340IF I% THEN I%=0:ENDPROC ELSE I%=1:ENDPROC
 1350:
 1360DEFPROCtck:SOUND0,-5,5,1:FOR Z%=1 TO 600:NEXT:ENDPROC
 1370:
 1380DEFPROCtableau
 1390VDU5:MOVE54,960:GCOL0,3:PRINT"1    2    3    4    5    6    7   ctn"
 1400VDU4
 1410FORr%=7TO1 STEP-1:FORC%=1TO7:VDU31,C%*5-4,11-r%
 1420b$(C%)=b$(C%)+RIGHT$(f$,2):f$=LEFT$(f$,(LEN(f$)-2))
 1430IF c%(C%) COLOUR1:COLOUR131:PRINTy$:FOR X=1TO200:NEXT:ELSE COLOUR130:PROCf(C%)
 1440COLOUR1:COLOUR131:IF C%<5 AND r%>3 AND r%<7 VDU31,C%*5-4,11-r%-1:PRINTz$:COLOUR130
 1450c%(C%)=c%(C%)-1:IF c%(C%)<1 c%(C%)=0
 1460PROCtck
 1470NEXT
 1480NEXT
 1490FOR I%=1 TO 4
 1500c%(I%)=4
 1510NEXT
 1520COLOUR0:COLOUR130
 1530VDU31,1,29:PRINT"Make your move"
 1540VDU31,1,30:PRINT"or Deal"
 1550ENDPROC
 1560:
 1570DEFPROCs
 1580f$="":D%=52
 1590FORI%=1TO52
 1600A%=INT(RND(1)*D%+1)
 1610f$=f$+MID$(p$,2*A%-1,2)
 1620L$=LEFT$(p$,(A%-1)*2)
 1630R$=RIGHT$(p$,(LEN(p$)/2-A%)*2)
 1640p$=L$+R$
 1650D%=D%-1
 1660NEXT
 1670p$=f$
 1680ENDPROC
 1690:
 1700DEFPROCinit
 1710FORI%=1TO7
 1720b$(I%)=STRING$(52,"  ")
 1730b$(I%)=""
 1740c%(I%)=0
 1750NEXT
 1760FOR I%=1 TO 4
 1770c%(I%)=3
 1780NEXT
 1790U%=0
 1800p%=1:c$="  "
 1810z$=CHR$(230)+CHR$(231)+CHR$(232)
 1820*FX212,216
 1830y$=CHR$230+CHR$231+CHR$232+CHR$10+CHR$8+CHR$8+CHR$8+CHR$237+CHR$238+CHR$233+CHR$10+CHR$8+CHR$8+CHR$8+CHR$237+CHR$228+CHR$233+CHR$10+CHR$8+CHR$8+CHR$8+CHR$236+CHR$235+CHR$234
 1840ENDPROC
 1850:
 1860DEFPROCd
 1870GCOL0,3
 1880VDU5:MOVE392,1000
 1890PRINT"SCORPION PATIENCE"
 1900VDU5
 1910ENDPROC
 1920DEFPROCcard
 1930IFt$=CHR$229 VDU31,5*C%-3,y%/2+3:PROCfive:PROCfive:ENDPROC
 1940IFt$="9" VDU31,5*C%-3,y%/2+3:PRINT;CHR$240;CHR$8;CHR$10;:PROCfive:PRINT;CHR$240:ENDPROC
 1950IFt$="8" VDU31,5*C%-3,y%/2+3:PROCfour:PROCfour:ENDPROC
 1960IFt$="7" VDU31,5*C%-3,y%/2+3:PRINT;CHR$241;CHR$8;CHR$10;:PROCfour:ENDPROC
 1970IFt$="6" VDU31,5*C%-3,y%/2+3:PRINT;CHR$240;CHR$8;CHR$10;:PROCfour:ENDPROC
 1980IFt$="5" VDU31,5*C%-3,y%/2+4:PROCfive:ENDPROC
 1990IFt$="4" VDU31,5*C%-3,y%/2+4:PROCfour:ENDPROC
 2000IFt$="3" VDU31,5*C%-3,y%/2+3:PRINT;CHR$239;CHR$8;CHR$10;CHR$239;CHR$8;CHR$10;CHR$239:ENDPROC
 2010IFt$="2" VDU31,5*C%-3,y%/2+3:PRINT;CHR$239;CHR$8;CHR$10;CHR$32;CHR$8;CHR$10;CHR$239:ENDPROC
 2020IFt$="A" VDU31,5*C%-3,y%/2+4:PRINTLEFT$(c$,1):ENDPROC
 2130IFt$="J" C$=CHR$242 ELSEIFt$="Q" C$=CHR$243 ELSEIFt$="K" C$=CHR$244
 2140IFt$="J" D$=CHR$248+CHR$249+CHR$252 ELSEIFt$="Q" D$=CHR$248+CHR$250+CHR$252 ELSEIFt$="K" D$=CHR$248+CHR$251+CHR$252
 2150VDU31,5*C%-3,y%/2+3:PRINTC$
 2160VDU31,5*C%-4,y%/2+4:PRINTCHR$245+CHR$246+CHR$247
 2170GCOL0,0:VDU31,5*C%-4,y%/2+5:PRINTD$
 2180VDU31,5*C%-3,y%/2+6:PRINTCHR$253:ENDPROC
 2190DEFPROCfour
 2200PRINT;CHR$240;CHR$8;CHR$10;CHR$240;CHR$8;CHR$10;
 2210ENDPROC
 2220DEFPROCfive
 2230PRINT;CHR$241;CHR$8;CHR$10;CHR$240;CHR$8;CHR$10;
 2240ENDPROC
 2250 
 2260*K.0 *T.|MFORI%=0TO TOP-PAGE STEP4:I%!&E00=I%!PAGE:NEXT|MPAGE=&E00|MOLD|MRUN|M
 2270*FX138,0,128

� >Scorpion Patience
� by Michael Leete
� (c) The Micro User
(!� With mods by Richard Dimond
2:
<� �>&E00 �0:�dTH
F � � � �=17 � � �:�" at ";�:�
PZ=�(-�)
Z�0,128:�
d�1:� b$(7),c%(7)
n�23;8202;0;0;0;19,0,4;0;
x�d
�A�0,6)"Enter Deal No."''"or press RETURN"'"for a random deal"
�
�15,6)M%
��M%=0 M%=�(�(-�))
�%k$="":v$="#A23456789"+�229+"JQK0"
��p$="2H2S2D2C3H3S3D3C4H4S4D4C5H5S5D5C6H6S6D6C7H7S7D7C8H8S8D8C9H9S9D9C"+�229+"H"+�229+"S"+�229+"D"+�229+"CJHJSJDJCQHQSQDQCKHKSKDKCAHASADAC"
�z$=�(228)+�(228)+�(228)
��1:A%=�(-M%)
�%�23;8202;0;0;0;19,2,4;0;19,3,7;0;
�	�init
��0,130:�130:�
��d:�s:�tableau
��3:�21,31)"Deal No. ";M%;
��:�0
�16,29)�4
� A$=�:� �"1234567D",A$)<>0
K� A$="D" �Deal:� �DTA:� �16,29)"from ";A$:f%=�(A$):�23,29)"to ":*FX21
"� B$=�:� �"1234567",B$)<>0
,�26,29)B$:t%=�(B$):*FX21
6� A$=B$ p%=0
@A%=�m(f%,t%)
J� �A% �e � �tck
T�21,29)�(10):�end:� I%
^5�1:�7,27)"Congratulations - You win.":�28)�(32)
h�1,30)�(12)
r6� X=1 � 10:�1,-5-X,110+X,1:�1,-5-X,130+X,1:�:*FX21
|�12,30)"Play again? (Y/N)"
�+� A=�:� A=78�A=89:� A=89 � � �"SPcheck"
�:
���f(C%):R%=0
�y%=�(b$(C%))
�r�y%=0 �31,5*C%-4,y%/2+4:�3:�31,5*C%-4,y%/2+5:�3:�31,5*C%-4,y%/2+6:�3:�31,5*C%-4,y%/2+7:�3:�:�c$=�b$(C%),2)
�� y%>40 C%=8:y%=y%-38
��"HD",�c$,1))�1��0
��131
և�"H",�c$,1)) � c$=�c$,1)+" "+�224 � � �"D",�c$,1)) � c$=�c$,1)+" "+�226 � � �"S",�c$,1)) � c$=�c$,1)+" "+�225 � c$=�c$,1)+" "+�227
��31,C%*5-4,y%/2+3:�c$
��31,C%*5-4,y%/2+4:�3
��31,C%*5-4,y%/2+5:�3
�$t$=�c$,1):c$=c$+" "+t$:c$=�c$,3)
�31,C%*5-4,y%/2+6:�c$
	�card
�130
&�31,5*C%-4,y%/2+7:�3
0�31,5*C%-4,y%/2+8:�3
:� S%=1 � 7
Dy%=�(b$(S%))
N� y%<41 R%=R%+1
X�
b"� R%=7 � T%=3 � 8:�35,T%)�4:�
l�
v:
�ݤm(s%,d%)
�l$=�b$(d%),2):�l$=""l$="0"
�flag%=0
�n$=�v$,�v$,�l$,1))-1,1)
�
o$=�l$,1)
�
g$=b$(s%)
�p%=1:� s%<5 p%=c%(s%)*2-1
�� p%>�(g$)-1:=�
��J%=p%� �(g$) �2
�x$=�g$,J%,1):y$=�g$,J%+1,1)
�� n$="K" o$=y$
�"�(x$=n$�y$=o$) �p%=J%:J%=�(g$)
��
(� x$="K" �king:� flag%:p%=p%+2:�dFB
L�p%<1�=0�c$=�b$(s%),p%,2):�c$,n$)=0�=0 � � �T �=0�q$=�g$,p%,�(g$)-p%+1)
E�X%=1��(q$)�2:b$(d%)=b$(d%)+�q$,X%,2):b$(s%)=�b$(s%),�(b$(s%))-2)
 �f(d%):�f(s%)
*�
4,� �(b$(s%))=c%(s%)*2-2 � c%(s%)=c%(s%)-1
>� c%(s%)<0 c%(s%)=0
H=�
R:
\��e
f*�1,-7,9,3:�1:�14,30)"Move disallowed"
pn=�:� � �>n+120
z�130:�14,30)�(15)
��
�:
���king:� 1
�� n$<>"K" �
��14,30)n$+y$;"? Y/N":�7
�� A=�:� A=78 � A=89
�� A=78 flag%=1:� flag%=0
�� 0
��14,30)�(9)
��
�:
�ݤT
�
d$=�l$,1)

e$=�c$,1)
� b$(d%)="" � =0
� d$<>e$ �=� �=0
$:
.
��Deal
8� f$="" �e:�
B�1,30)"or ESCAPE"
L� I%=1 � 3
Vb$(I%)=b$(I%)+�f$,2*I%-1,2)
`�f(I%):�tck
j
�:f$="":�
t:
~��end:I%=0
�� J%=1 � 7
�K%=�(b$(J%))
�� K%=26 I%=I%+1
��
�� I%<>4 I%=0:�
�I%=0:p$=�v$,2,13)
�� J%=1 � 7
�K%=�(b$(J%))
�� K%=0 � �TrE
�M$=�b$(J%),1)
�� L%=23 � 1 �-2
�N$=�b$(J%),L%+1,1)
� N$<>M$ I%=1

M%=�p$,(�b$(J%),L%,1)))
N%=�p$,(�b$(J%),L%+2,1)))
� M%-N%<>1 � I%=1
(�
2�
<� I% � I%=0:� � I%=1:�
F:
P$��tck:�0,-5,5,1:� Z%=1 � 600:�:�
Z:
d
��tableau
n<�5:�54,960:�0,3:�"1    2    3    4    5    6    7   ctn"
x�4
�(�r%=7�1 �-1:�C%=1�7:�31,C%*5-4,11-r%
�*b$(C%)=b$(C%)+�f$,2):f$=�f$,(�(f$)-2))
�2� c%(C%) �1:�131:�y$:� X=1�200:�:� �130:�f(C%)
�<�1:�131:� C%<5 � r%>3 � r%<7 �31,C%*5-4,11-r%-1:�z$:�130
�'c%(C%)=c%(C%)-1:� c%(C%)<1 c%(C%)=0
��tck
��
��
�� I%=1 � 4
�c%(I%)=4
��
��0:�130
��31,1,29:�"Make your move"
�31,1,30:�"or Deal"
�
:
"��s
,f$="":D%=52
6�I%=1�52
@A%=�(�(1)*D%+1)
Jf$=f$+�p$,2*A%-1,2)
TL$=�p$,(A%-1)*2)
^R$=�p$,(�(p$)/2-A%)*2)
hp$=L$+R$
rD%=D%-1
|�
�	p$=f$
��
�:
�
��init
��I%=1�7
�b$(I%)=�52,"  ")
�
b$(I%)=""
�c%(I%)=0
��
�� I%=1 � 4
�c%(I%)=3
��
�U%=0
p%=1:c$="  "
z$=�(230)+�(231)+�(232)
*FX212,216
&iy$=�230+�231+�232+�10+�8+�8+�8+�237+�238+�233+�10+�8+�8+�8+�237+�228+�233+�10+�8+�8+�8+�236+�235+�234
0�
::
D��d
N�0,3
X�5:�392,1000
b�"SCORPION PATIENCE"
l�5
v�
�
��card
�,�t$=�229 �31,5*C%-3,y%/2+3:�five:�five:�
�;�t$="9" �31,5*C%-3,y%/2+3:�;�240;�8;�10;:�five:�;�240:�
�+�t$="8" �31,5*C%-3,y%/2+3:�four:�four:�
�4�t$="7" �31,5*C%-3,y%/2+3:�;�241;�8;�10;:�four:�
�4�t$="6" �31,5*C%-3,y%/2+3:�;�240;�8;�10;:�four:�
�%�t$="5" �31,5*C%-3,y%/2+4:�five:�
�%�t$="4" �31,5*C%-3,y%/2+4:�four:�
�>�t$="3" �31,5*C%-3,y%/2+3:�;�239;�8;�10;�239;�8;�10;�239:�
�=�t$="2" �31,5*C%-3,y%/2+3:�;�239;�8;�10;�32;�8;�10;�239:�
�'�t$="A" �31,5*C%-3,y%/2+4:�c$,1):�
R5�t$="J" C$=�242 ��t$="Q" C$=�243 ��t$="K" C$=�244
\S�t$="J" D$=�248+�249+�252 ��t$="Q" D$=�248+�250+�252 ��t$="K" D$=�248+�251+�252
f�31,5*C%-3,y%/2+3:�C$
p%�31,5*C%-4,y%/2+4:�245+�246+�247
z�0,0:�31,5*C%-4,y%/2+5:�D$
��31,5*C%-3,y%/2+6:�253:�
�
��four
��;�240;�8;�10;�240;�8;�10;
��
�
��five
��;�241;�8;�10;�240;�8;�10;
��
� 
�R*K.0 *T.|MFORI%=0TO TOP-PAGE STEP4:I%!&E00=I%!PAGE:NEXT|MPAGE=&E00|MOLD|MRUN|M
�*FX138,0,128
�
00000000  0d 00 0a 18 f4 20 3e 53  63 6f 72 70 69 6f 6e 20  |..... >Scorpion |
00000010  50 61 74 69 65 6e 63 65  0d 00 14 16 f4 20 62 79  |Patience..... by|
00000020  20 4d 69 63 68 61 65 6c  20 4c 65 65 74 65 0d 00  | Michael Leete..|
00000030  1e 18 f4 20 28 63 29 20  54 68 65 20 4d 69 63 72  |... (c) The Micr|
00000040  6f 20 55 73 65 72 0d 00  28 21 f4 20 57 69 74 68  |o User..(!. With|
00000050  20 6d 6f 64 73 20 62 79  20 52 69 63 68 61 72 64  | mods by Richard|
00000060  20 44 69 6d 6f 6e 64 0d  00 32 05 3a 0d 00 3c 15  | Dimond..2.:..<.|
00000070  e7 20 90 3e 26 45 30 30  20 fb 30 3a e5 8d 64 54  |. .>&E00 .0:..dT|
00000080  48 0d 00 46 20 ee 20 85  20 e7 20 9f 3d 31 37 20  |H..F . . . .=17 |
00000090  f9 20 8b 20 f6 3a f1 22  20 61 74 20 22 3b 9e 3a  |. . .:." at ";.:|
000000a0  e0 0d 00 50 0b 5a 3d b3  28 2d 91 29 0d 00 5a 0c  |...P.Z=.(-.)..Z.|
000000b0  e6 30 2c 31 32 38 3a db  0d 00 64 14 eb 31 3a de  |.0,128:...d..1:.|
000000c0  20 62 24 28 37 29 2c 63  25 28 37 29 0d 00 6e 1c  | b$(7),c%(7)..n.|
000000d0  ef 32 33 3b 38 32 30 32  3b 30 3b 30 3b 30 3b 31  |.23;8202;0;0;0;1|
000000e0  39 2c 30 2c 34 3b 30 3b  0d 00 78 06 f2 64 0d 00  |9,0,4;0;..x..d..|
000000f0  82 41 f1 8a 30 2c 36 29  22 45 6e 74 65 72 20 44  |.A..0,6)"Enter D|
00000100  65 61 6c 20 4e 6f 2e 22  27 27 22 6f 72 20 70 72  |eal No."''"or pr|
00000110  65 73 73 20 52 45 54 55  52 4e 22 27 22 66 6f 72  |ess RETURN"'"for|
00000120  20 61 20 72 61 6e 64 6f  6d 20 64 65 61 6c 22 0d  | a random deal".|
00000130  00 8c 0d e8 8a 31 35 2c  36 29 4d 25 0d 00 96 15  |.....15,6)M%....|
00000140  e7 4d 25 3d 30 20 4d 25  3d 94 28 b3 28 2d 91 29  |.M%=0 M%=.(.(-.)|
00000150  29 0d 00 a0 25 6b 24 3d  22 22 3a 76 24 3d 22 23  |)...%k$="":v$="#|
00000160  41 32 33 34 35 36 37 38  39 22 2b bd 32 32 39 2b  |A23456789"+.229+|
00000170  22 4a 51 4b 30 22 0d 00  aa 8d 70 24 3d 22 32 48  |"JQK0"....p$="2H|
00000180  32 53 32 44 32 43 33 48  33 53 33 44 33 43 34 48  |2S2D2C3H3S3D3C4H|
00000190  34 53 34 44 34 43 35 48  35 53 35 44 35 43 36 48  |4S4D4C5H5S5D5C6H|
000001a0  36 53 36 44 36 43 37 48  37 53 37 44 37 43 38 48  |6S6D6C7H7S7D7C8H|
000001b0  38 53 38 44 38 43 39 48  39 53 39 44 39 43 22 2b  |8S8D8C9H9S9D9C"+|
000001c0  bd 32 32 39 2b 22 48 22  2b bd 32 32 39 2b 22 53  |.229+"H"+.229+"S|
000001d0  22 2b bd 32 32 39 2b 22  44 22 2b bd 32 32 39 2b  |"+.229+"D"+.229+|
000001e0  22 43 4a 48 4a 53 4a 44  4a 43 51 48 51 53 51 44  |"CJHJSJDJCQHQSQD|
000001f0  51 43 4b 48 4b 53 4b 44  4b 43 41 48 41 53 41 44  |QCKHKSKDKCAHASAD|
00000200  41 43 22 0d 00 b4 1b 7a  24 3d bd 28 32 32 38 29  |AC"....z$=.(228)|
00000210  2b bd 28 32 32 38 29 2b  bd 28 32 32 38 29 0d 00  |+.(228)+.(228)..|
00000220  be 10 eb 31 3a 41 25 3d  b3 28 2d 4d 25 29 0d 00  |...1:A%=.(-M%)..|
00000230  c8 25 ef 32 33 3b 38 32  30 32 3b 30 3b 30 3b 30  |.%.23;8202;0;0;0|
00000240  3b 31 39 2c 32 2c 34 3b  30 3b 31 39 2c 33 2c 37  |;19,2,4;0;19,3,7|
00000250  3b 30 3b 0d 00 d2 09 f2  69 6e 69 74 0d 00 dc 11  |;0;.....init....|
00000260  e6 30 2c 31 33 30 3a fb  31 33 30 3a da 0d 00 e6  |.0,130:.130:....|
00000270  12 f2 64 3a f2 73 3a f2  74 61 62 6c 65 61 75 0d  |..d:.s:.tableau.|
00000280  00 f0 1e fb 33 3a f1 8a  32 31 2c 33 31 29 22 44  |....3:..21,31)"D|
00000290  65 61 6c 20 4e 6f 2e 20  22 3b 4d 25 3b 0d 00 fa  |eal No. ";M%;...|
000002a0  08 f5 3a fb 30 0d 01 04  0e f1 8a 31 36 2c 32 39  |..:.0......16,29|
000002b0  29 89 34 0d 01 0e 1f f5  20 41 24 3d be 3a fd 20  |).4..... A$=.:. |
000002c0  a7 22 31 32 33 34 35 36  37 44 22 2c 41 24 29 3c  |."1234567D",A$)<|
000002d0  3e 30 0d 01 18 4b e7 20  41 24 3d 22 44 22 20 f2  |>0...K. A$="D" .|
000002e0  44 65 61 6c 3a e5 20 8d  44 54 41 3a 8b 20 f1 8a  |Deal:. .DTA:. ..|
000002f0  31 36 2c 32 39 29 22 66  72 6f 6d 20 22 3b 41 24  |16,29)"from ";A$|
00000300  3a 66 25 3d bb 28 41 24  29 3a f1 8a 32 33 2c 32  |:f%=.(A$):..23,2|
00000310  39 29 22 74 6f 20 22 3a  2a 46 58 32 31 0d 01 22  |9)"to ":*FX21.."|
00000320  1e f5 20 42 24 3d be 3a  fd 20 a7 22 31 32 33 34  |.. B$=.:. ."1234|
00000330  35 36 37 22 2c 42 24 29  3c 3e 30 0d 01 2c 1d f1  |567",B$)<>0..,..|
00000340  8a 32 36 2c 32 39 29 42  24 3a 74 25 3d bb 28 42  |.26,29)B$:t%=.(B|
00000350  24 29 3a 2a 46 58 32 31  0d 01 36 10 e7 20 41 24  |$):*FX21..6.. A$|
00000360  3d 42 24 20 70 25 3d 30  0d 01 40 10 41 25 3d a4  |=B$ p%=0..@.A%=.|
00000370  6d 28 66 25 2c 74 25 29  0d 01 4a 13 e7 20 ac 41  |m(f%,t%)..J.. .A|
00000380  25 20 f2 65 20 8b 20 f2  74 63 6b 0d 01 54 1b f1  |% .e . .tck..T..|
00000390  8a 32 31 2c 32 39 29 89  28 31 30 29 3a f2 65 6e  |.21,29).(10):.en|
000003a0  64 3a fd 20 49 25 0d 01  5e 35 fb 31 3a f1 8a 37  |d:. I%..^5.1:..7|
000003b0  2c 32 37 29 22 43 6f 6e  67 72 61 74 75 6c 61 74  |,27)"Congratulat|
000003c0  69 6f 6e 73 20 2d 20 59  6f 75 20 77 69 6e 2e 22  |ions - You win."|
000003d0  3a f1 8a 32 38 29 89 28  33 32 29 0d 01 68 10 f1  |:..28).(32)..h..|
000003e0  8a 31 2c 33 30 29 89 28  31 32 29 0d 01 72 36 e3  |.1,30).(12)..r6.|
000003f0  20 58 3d 31 20 b8 20 31  30 3a d4 31 2c 2d 35 2d  | X=1 . 10:.1,-5-|
00000400  58 2c 31 31 30 2b 58 2c  31 3a d4 31 2c 2d 35 2d  |X,110+X,1:.1,-5-|
00000410  58 2c 31 33 30 2b 58 2c  31 3a ed 3a 2a 46 58 32  |X,130+X,1:.:*FX2|
00000420  31 0d 01 7c 1f f1 8a 31  32 2c 33 30 29 22 50 6c  |1..|...12,30)"Pl|
00000430  61 79 20 61 67 61 69 6e  3f 20 28 59 2f 4e 29 22  |ay again? (Y/N)"|
00000440  0d 01 86 2b f5 20 41 3d  a5 3a fd 20 41 3d 37 38  |...+. A=.:. A=78|
00000450  84 41 3d 38 39 3a e7 20  41 3d 38 39 20 f9 20 8b  |.A=89:. A=89 . .|
00000460  20 d7 22 53 50 63 68 65  63 6b 22 0d 01 90 05 3a  | ."SPcheck"....:|
00000470  0d 01 9a 10 dd f2 66 28  43 25 29 3a 52 25 3d 30  |......f(C%):R%=0|
00000480  0d 01 a4 10 79 25 3d a9  28 62 24 28 43 25 29 29  |....y%=.(b$(C%))|
00000490  0d 01 ae 72 e7 79 25 3d  30 20 ef 33 31 2c 35 2a  |...r.y%=0 .31,5*|
000004a0  43 25 2d 34 2c 79 25 2f  32 2b 34 3a f1 89 33 3a  |C%-4,y%/2+4:..3:|
000004b0  ef 33 31 2c 35 2a 43 25  2d 34 2c 79 25 2f 32 2b  |.31,5*C%-4,y%/2+|
000004c0  35 3a f1 89 33 3a ef 33  31 2c 35 2a 43 25 2d 34  |5:..3:.31,5*C%-4|
000004d0  2c 79 25 2f 32 2b 36 3a  f1 89 33 3a ef 33 31 2c  |,y%/2+6:..3:.31,|
000004e0  35 2a 43 25 2d 34 2c 79  25 2f 32 2b 37 3a f1 89  |5*C%-4,y%/2+7:..|
000004f0  33 3a e1 3a 8b 63 24 3d  c2 62 24 28 43 25 29 2c  |3:.:.c$=.b$(C%),|
00000500  32 29 0d 01 b8 19 e7 20  79 25 3e 34 30 20 43 25  |2)..... y%>40 C%|
00000510  3d 38 3a 79 25 3d 79 25  2d 33 38 0d 01 c2 17 e7  |=8:y%=y%-38.....|
00000520  a7 22 48 44 22 2c c2 63  24 2c 31 29 29 fb 31 8b  |."HD",.c$,1)).1.|
00000530  fb 30 0d 01 cc 08 fb 31  33 31 0d 01 d6 87 e7 a7  |.0.....131......|
00000540  22 48 22 2c c2 63 24 2c  31 29 29 20 8c 20 63 24  |"H",.c$,1)) . c$|
00000550  3d c0 63 24 2c 31 29 2b  22 20 22 2b bd 32 32 34  |=.c$,1)+" "+.224|
00000560  20 8b 20 e7 20 a7 22 44  22 2c c2 63 24 2c 31 29  | . . ."D",.c$,1)|
00000570  29 20 8c 20 63 24 3d c0  63 24 2c 31 29 2b 22 20  |) . c$=.c$,1)+" |
00000580  22 2b bd 32 32 36 20 8b  20 e7 20 a7 22 53 22 2c  |"+.226 . . ."S",|
00000590  c2 63 24 2c 31 29 29 20  8c 20 63 24 3d c0 63 24  |.c$,1)) . c$=.c$|
000005a0  2c 31 29 2b 22 20 22 2b  bd 32 32 35 20 8b 20 63  |,1)+" "+.225 . c|
000005b0  24 3d c0 63 24 2c 31 29  2b 22 20 22 2b bd 32 32  |$=.c$,1)+" "+.22|
000005c0  37 0d 01 e0 19 ef 33 31  2c 43 25 2a 35 2d 34 2c  |7.....31,C%*5-4,|
000005d0  79 25 2f 32 2b 33 3a f1  63 24 0d 01 ea 19 ef 33  |y%/2+3:.c$.....3|
000005e0  31 2c 43 25 2a 35 2d 34  2c 79 25 2f 32 2b 34 3a  |1,C%*5-4,y%/2+4:|
000005f0  f1 89 33 0d 01 f4 19 ef  33 31 2c 43 25 2a 35 2d  |..3.....31,C%*5-|
00000600  34 2c 79 25 2f 32 2b 35  3a f1 89 33 0d 01 fe 24  |4,y%/2+5:..3...$|
00000610  74 24 3d c0 63 24 2c 31  29 3a 63 24 3d 63 24 2b  |t$=.c$,1):c$=c$+|
00000620  22 20 22 2b 74 24 3a 63  24 3d c2 63 24 2c 33 29  |" "+t$:c$=.c$,3)|
00000630  0d 02 08 19 ef 33 31 2c  43 25 2a 35 2d 34 2c 79  |.....31,C%*5-4,y|
00000640  25 2f 32 2b 36 3a f1 63  24 0d 02 12 09 f2 63 61  |%/2+6:.c$.....ca|
00000650  72 64 0d 02 1c 08 fb 31  33 30 0d 02 26 19 ef 33  |rd.....130..&..3|
00000660  31 2c 35 2a 43 25 2d 34  2c 79 25 2f 32 2b 37 3a  |1,5*C%-4,y%/2+7:|
00000670  f1 89 33 0d 02 30 19 ef  33 31 2c 35 2a 43 25 2d  |..3..0..31,5*C%-|
00000680  34 2c 79 25 2f 32 2b 38  3a f1 89 33 0d 02 3a 0e  |4,y%/2+8:..3..:.|
00000690  e3 20 53 25 3d 31 20 b8  20 37 0d 02 44 10 79 25  |. S%=1 . 7..D.y%|
000006a0  3d a9 28 62 24 28 53 25  29 29 0d 02 4e 13 e7 20  |=.(b$(S%))..N.. |
000006b0  79 25 3c 34 31 20 52 25  3d 52 25 2b 31 0d 02 58  |y%<41 R%=R%+1..X|
000006c0  05 ed 0d 02 62 22 e7 20  52 25 3d 37 20 e3 20 54  |....b". R%=7 . T|
000006d0  25 3d 33 20 b8 20 38 3a  f1 8a 33 35 2c 54 25 29  |%=3 . 8:..35,T%)|
000006e0  89 34 3a ed 0d 02 6c 05  e1 0d 02 76 05 3a 0d 02  |.4:...l....v.:..|
000006f0  80 0e dd a4 6d 28 73 25  2c 64 25 29 0d 02 8a 1e  |....m(s%,d%)....|
00000700  6c 24 3d c2 62 24 28 64  25 29 2c 32 29 3a e7 6c  |l$=.b$(d%),2):.l|
00000710  24 3d 22 22 6c 24 3d 22  30 22 0d 02 94 0b 66 6c  |$=""l$="0"....fl|
00000720  61 67 25 3d 30 0d 02 9e  1b 6e 24 3d c1 76 24 2c  |ag%=0....n$=.v$,|
00000730  a7 76 24 2c c0 6c 24 2c  31 29 29 2d 31 2c 31 29  |.v$,.l$,1))-1,1)|
00000740  0d 02 a8 0d 6f 24 3d c2  6c 24 2c 31 29 0d 02 b2  |....o$=.l$,1)...|
00000750  0d 67 24 3d 62 24 28 73  25 29 0d 02 bc 1d 70 25  |.g$=b$(s%)....p%|
00000760  3d 31 3a e7 20 73 25 3c  35 20 70 25 3d 63 25 28  |=1:. s%<5 p%=c%(|
00000770  73 25 29 2a 32 2d 31 0d  02 c6 13 e7 20 70 25 3e  |s%)*2-1..... p%>|
00000780  a9 28 67 24 29 2d 31 3a  3d a3 0d 02 d0 14 e3 4a  |.(g$)-1:=......J|
00000790  25 3d 70 25 b8 20 a9 28  67 24 29 20 88 32 0d 02  |%=p%. .(g$) .2..|
000007a0  da 1f 78 24 3d c1 67 24  2c 4a 25 2c 31 29 3a 79  |..x$=.g$,J%,1):y|
000007b0  24 3d c1 67 24 2c 4a 25  2b 31 2c 31 29 0d 02 e4  |$=.g$,J%+1,1)...|
000007c0  12 e7 20 6e 24 3d 22 4b  22 20 6f 24 3d 79 24 0d  |.. n$="K" o$=y$.|
000007d0  02 ee 22 e7 28 78 24 3d  6e 24 80 79 24 3d 6f 24  |..".(x$=n$.y$=o$|
000007e0  29 20 8c 70 25 3d 4a 25  3a 4a 25 3d a9 28 67 24  |) .p%=J%:J%=.(g$|
000007f0  29 0d 02 f8 05 ed 0d 03  02 28 e7 20 78 24 3d 22  |)........(. x$="|
00000800  4b 22 20 f2 6b 69 6e 67  3a e7 20 66 6c 61 67 25  |K" .king:. flag%|
00000810  3a 70 25 3d 70 25 2b 32  3a e5 8d 64 46 42 0d 03  |:p%=p%+2:..dFB..|
00000820  0c 4c e7 70 25 3c 31 8c  3d 30 8b 63 24 3d c1 62  |.L.p%<1.=0.c$=.b|
00000830  24 28 73 25 29 2c 70 25  2c 32 29 3a e7 a7 63 24  |$(s%),p%,2):..c$|
00000840  2c 6e 24 29 3d 30 8c 3d  30 20 8b 20 e7 20 a4 54  |,n$)=0.=0 . . .T|
00000850  20 8c 3d 30 8b 71 24 3d  c1 67 24 2c 70 25 2c a9  | .=0.q$=.g$,p%,.|
00000860  28 67 24 29 2d 70 25 2b  31 29 0d 03 16 45 e3 58  |(g$)-p%+1)...E.X|
00000870  25 3d 31 b8 a9 28 71 24  29 88 32 3a 62 24 28 64  |%=1..(q$).2:b$(d|
00000880  25 29 3d 62 24 28 64 25  29 2b c1 71 24 2c 58 25  |%)=b$(d%)+.q$,X%|
00000890  2c 32 29 3a 62 24 28 73  25 29 3d c0 62 24 28 73  |,2):b$(s%)=.b$(s|
000008a0  25 29 2c a9 28 62 24 28  73 25 29 29 2d 32 29 0d  |%),.(b$(s%))-2).|
000008b0  03 20 11 f2 66 28 64 25  29 3a f2 66 28 73 25 29  |. ..f(d%):.f(s%)|
000008c0  0d 03 2a 05 ed 0d 03 34  2c e7 20 a9 28 62 24 28  |..*....4,. .(b$(|
000008d0  73 25 29 29 3d 63 25 28  73 25 29 2a 32 2d 32 20  |s%))=c%(s%)*2-2 |
000008e0  8c 20 63 25 28 73 25 29  3d 63 25 28 73 25 29 2d  |. c%(s%)=c%(s%)-|
000008f0  31 0d 03 3e 17 e7 20 63  25 28 73 25 29 3c 30 20  |1..>.. c%(s%)<0 |
00000900  63 25 28 73 25 29 3d 30  0d 03 48 06 3d b9 0d 03  |c%(s%)=0..H.=...|
00000910  52 05 3a 0d 03 5c 07 dd  f2 65 0d 03 66 2a d4 31  |R.:..\...e..f*.1|
00000920  2c 2d 37 2c 39 2c 33 3a  fb 31 3a f1 8a 31 34 2c  |,-7,9,3:.1:..14,|
00000930  33 30 29 22 4d 6f 76 65  20 64 69 73 61 6c 6c 6f  |30)"Move disallo|
00000940  77 65 64 22 0d 03 70 13  6e 3d 91 3a f5 20 fd 20  |wed"..p.n=.:. . |
00000950  91 3e 6e 2b 31 32 30 0d  03 7a 16 fb 31 33 30 3a  |.>n+120..z..130:|
00000960  f1 8a 31 34 2c 33 30 29  89 28 31 35 29 0d 03 84  |..14,30).(15)...|
00000970  05 e1 0d 03 8e 05 3a 0d  03 98 0e dd f2 6b 69 6e  |......:......kin|
00000980  67 3a fb 20 31 0d 03 a2  0f e7 20 6e 24 3c 3e 22  |g:. 1..... n$<>"|
00000990  4b 22 20 e1 0d 03 ac 1c  f1 8a 31 34 2c 33 30 29  |K" .......14,30)|
000009a0  6e 24 2b 79 24 3b 22 3f  20 59 2f 4e 22 3a ef 37  |n$+y$;"? Y/N":.7|
000009b0  0d 03 b6 17 f5 20 41 3d  a5 3a fd 20 41 3d 37 38  |..... A=.:. A=78|
000009c0  20 84 20 41 3d 38 39 0d  03 c0 1c e7 20 41 3d 37  | . A=89..... A=7|
000009d0  38 20 66 6c 61 67 25 3d  31 3a 8b 20 66 6c 61 67  |8 flag%=1:. flag|
000009e0  25 3d 30 0d 03 ca 07 fb  20 30 0d 03 d4 10 f1 8a  |%=0..... 0......|
000009f0  31 34 2c 33 30 29 89 28  39 29 0d 03 de 05 e1 0d  |14,30).(9)......|
00000a00  03 e8 05 3a 0d 03 f2 07  dd a4 54 0d 03 fc 0d 64  |...:......T....d|
00000a10  24 3d c2 6c 24 2c 31 29  0d 04 06 0d 65 24 3d c2  |$=.l$,1)....e$=.|
00000a20  63 24 2c 31 29 0d 04 10  14 e7 20 62 24 28 64 25  |c$,1)..... b$(d%|
00000a30  29 3d 22 22 20 8c 20 3d  30 0d 04 1a 14 e7 20 64  |)="" . =0..... d|
00000a40  24 3c 3e 65 24 20 8c 3d  b9 20 8b 3d 30 0d 04 24  |$<>e$ .=. .=0..$|
00000a50  05 3a 0d 04 2e 0a dd f2  44 65 61 6c 0d 04 38 10  |.:......Deal..8.|
00000a60  e7 20 66 24 3d 22 22 20  f2 65 3a e1 0d 04 42 16  |. f$="" .e:...B.|
00000a70  f1 8a 31 2c 33 30 29 22  6f 72 20 45 53 43 41 50  |..1,30)"or ESCAP|
00000a80  45 22 0d 04 4c 0e e3 20  49 25 3d 31 20 b8 20 33  |E"..L.. I%=1 . 3|
00000a90  0d 04 56 1f 62 24 28 49  25 29 3d 62 24 28 49 25  |..V.b$(I%)=b$(I%|
00000aa0  29 2b c1 66 24 2c 32 2a  49 25 2d 31 2c 32 29 0d  |)+.f$,2*I%-1,2).|
00000ab0  04 60 0f f2 66 28 49 25  29 3a f2 74 63 6b 0d 04  |.`..f(I%):.tck..|
00000ac0  6a 0d ed 3a 66 24 3d 22  22 3a e1 0d 04 74 05 3a  |j..:f$="":...t.:|
00000ad0  0d 04 7e 0e dd f2 65 6e  64 3a 49 25 3d 30 0d 04  |..~...end:I%=0..|
00000ae0  88 0e e3 20 4a 25 3d 31  20 b8 20 37 0d 04 92 10  |... J%=1 . 7....|
00000af0  4b 25 3d a9 28 62 24 28  4a 25 29 29 0d 04 9c 13  |K%=.(b$(J%))....|
00000b00  e7 20 4b 25 3d 32 36 20  49 25 3d 49 25 2b 31 0d  |. K%=26 I%=I%+1.|
00000b10  04 a6 05 ed 0d 04 b0 12  e7 20 49 25 3c 3e 34 20  |......... I%<>4 |
00000b20  49 25 3d 30 3a e1 0d 04  ba 15 49 25 3d 30 3a 70  |I%=0:.....I%=0:p|
00000b30  24 3d c1 76 24 2c 32 2c  31 33 29 0d 04 c4 0e e3  |$=.v$,2,13).....|
00000b40  20 4a 25 3d 31 20 b8 20  37 0d 04 ce 10 4b 25 3d  | J%=1 . 7....K%=|
00000b50  a9 28 62 24 28 4a 25 29  29 0d 04 d8 12 e7 20 4b  |.(b$(J%))..... K|
00000b60  25 3d 30 20 8c 20 e5 8d  54 72 45 0d 04 e2 11 4d  |%=0 . ..TrE....M|
00000b70  24 3d c2 62 24 28 4a 25  29 2c 31 29 0d 04 ec 13  |$=.b$(J%),1)....|
00000b80  e3 20 4c 25 3d 32 33 20  b8 20 31 20 88 2d 32 0d  |. L%=23 . 1 .-2.|
00000b90  04 f6 16 4e 24 3d c1 62  24 28 4a 25 29 2c 4c 25  |...N$=.b$(J%),L%|
00000ba0  2b 31 2c 31 29 0d 05 00  11 e7 20 4e 24 3c 3e 4d  |+1,1)..... N$<>M|
00000bb0  24 20 49 25 3d 31 0d 05  0a 1b 4d 25 3d a7 70 24  |$ I%=1....M%=.p$|
00000bc0  2c 28 c1 62 24 28 4a 25  29 2c 4c 25 2c 31 29 29  |,(.b$(J%),L%,1))|
00000bd0  29 0d 05 14 1d 4e 25 3d  a7 70 24 2c 28 c1 62 24  |)....N%=.p$,(.b$|
00000be0  28 4a 25 29 2c 4c 25 2b  32 2c 31 29 29 29 0d 05  |(J%),L%+2,1)))..|
00000bf0  1e 15 e7 20 4d 25 2d 4e  25 3c 3e 31 20 8c 20 49  |... M%-N%<>1 . I|
00000c00  25 3d 31 0d 05 28 05 ed  0d 05 32 05 ed 0d 05 3c  |%=1..(....2....<|
00000c10  1a e7 20 49 25 20 8c 20  49 25 3d 30 3a e1 20 8b  |.. I% . I%=0:. .|
00000c20  20 49 25 3d 31 3a e1 0d  05 46 05 3a 0d 05 50 24  | I%=1:...F.:..P$|
00000c30  dd f2 74 63 6b 3a d4 30  2c 2d 35 2c 35 2c 31 3a  |..tck:.0,-5,5,1:|
00000c40  e3 20 5a 25 3d 31 20 b8  20 36 30 30 3a ed 3a e1  |. Z%=1 . 600:.:.|
00000c50  0d 05 5a 05 3a 0d 05 64  0d dd f2 74 61 62 6c 65  |..Z.:..d...table|
00000c60  61 75 0d 05 6e 3c ef 35  3a ec 35 34 2c 39 36 30  |au..n<.5:.54,960|
00000c70  3a e6 30 2c 33 3a f1 22  31 20 20 20 20 32 20 20  |:.0,3:."1    2  |
00000c80  20 20 33 20 20 20 20 34  20 20 20 20 35 20 20 20  |  3    4    5   |
00000c90  20 36 20 20 20 20 37 20  20 20 63 74 6e 22 0d 05  | 6    7   ctn"..|
00000ca0  78 06 ef 34 0d 05 82 28  e3 72 25 3d 37 b8 31 20  |x..4...(.r%=7.1 |
00000cb0  88 2d 31 3a e3 43 25 3d  31 b8 37 3a ef 33 31 2c  |.-1:.C%=1.7:.31,|
00000cc0  43 25 2a 35 2d 34 2c 31  31 2d 72 25 0d 05 8c 2a  |C%*5-4,11-r%...*|
00000cd0  62 24 28 43 25 29 3d 62  24 28 43 25 29 2b c2 66  |b$(C%)=b$(C%)+.f|
00000ce0  24 2c 32 29 3a 66 24 3d  c0 66 24 2c 28 a9 28 66  |$,2):f$=.f$,(.(f|
00000cf0  24 29 2d 32 29 29 0d 05  96 32 e7 20 63 25 28 43  |$)-2))...2. c%(C|
00000d00  25 29 20 fb 31 3a fb 31  33 31 3a f1 79 24 3a e3  |%) .1:.131:.y$:.|
00000d10  20 58 3d 31 b8 32 30 30  3a ed 3a 8b 20 fb 31 33  | X=1.200:.:. .13|
00000d20  30 3a f2 66 28 43 25 29  0d 05 a0 3c fb 31 3a fb  |0:.f(C%)...<.1:.|
00000d30  31 33 31 3a e7 20 43 25  3c 35 20 80 20 72 25 3e  |131:. C%<5 . r%>|
00000d40  33 20 80 20 72 25 3c 37  20 ef 33 31 2c 43 25 2a  |3 . r%<7 .31,C%*|
00000d50  35 2d 34 2c 31 31 2d 72  25 2d 31 3a f1 7a 24 3a  |5-4,11-r%-1:.z$:|
00000d60  fb 31 33 30 0d 05 aa 27  63 25 28 43 25 29 3d 63  |.130...'c%(C%)=c|
00000d70  25 28 43 25 29 2d 31 3a  e7 20 63 25 28 43 25 29  |%(C%)-1:. c%(C%)|
00000d80  3c 31 20 63 25 28 43 25  29 3d 30 0d 05 b4 08 f2  |<1 c%(C%)=0.....|
00000d90  74 63 6b 0d 05 be 05 ed  0d 05 c8 05 ed 0d 05 d2  |tck.............|
00000da0  0e e3 20 49 25 3d 31 20  b8 20 34 0d 05 dc 0c 63  |.. I%=1 . 4....c|
00000db0  25 28 49 25 29 3d 34 0d  05 e6 05 ed 0d 05 f0 0b  |%(I%)=4.........|
00000dc0  fb 30 3a fb 31 33 30 0d  05 fa 1e ef 33 31 2c 31  |.0:.130.....31,1|
00000dd0  2c 32 39 3a f1 22 4d 61  6b 65 20 79 6f 75 72 20  |,29:."Make your |
00000de0  6d 6f 76 65 22 0d 06 04  17 ef 33 31 2c 31 2c 33  |move".....31,1,3|
00000df0  30 3a f1 22 6f 72 20 44  65 61 6c 22 0d 06 0e 05  |0:."or Deal"....|
00000e00  e1 0d 06 18 05 3a 0d 06  22 07 dd f2 73 0d 06 2c  |.....:.."...s..,|
00000e10  0f 66 24 3d 22 22 3a 44  25 3d 35 32 0d 06 36 0c  |.f$="":D%=52..6.|
00000e20  e3 49 25 3d 31 b8 35 32  0d 06 40 13 41 25 3d a8  |.I%=1.52..@.A%=.|
00000e30  28 b3 28 31 29 2a 44 25  2b 31 29 0d 06 4a 17 66  |(.(1)*D%+1)..J.f|
00000e40  24 3d 66 24 2b c1 70 24  2c 32 2a 41 25 2d 31 2c  |$=f$+.p$,2*A%-1,|
00000e50  32 29 0d 06 54 14 4c 24  3d c0 70 24 2c 28 41 25  |2)..T.L$=.p$,(A%|
00000e60  2d 31 29 2a 32 29 0d 06  5e 1a 52 24 3d c2 70 24  |-1)*2)..^.R$=.p$|
00000e70  2c 28 a9 28 70 24 29 2f  32 2d 41 25 29 2a 32 29  |,(.(p$)/2-A%)*2)|
00000e80  0d 06 68 0c 70 24 3d 4c  24 2b 52 24 0d 06 72 0b  |..h.p$=L$+R$..r.|
00000e90  44 25 3d 44 25 2d 31 0d  06 7c 05 ed 0d 06 86 09  |D%=D%-1..|......|
00000ea0  70 24 3d 66 24 0d 06 90  05 e1 0d 06 9a 05 3a 0d  |p$=f$.........:.|
00000eb0  06 a4 0a dd f2 69 6e 69  74 0d 06 ae 0b e3 49 25  |.....init.....I%|
00000ec0  3d 31 b8 37 0d 06 b8 14  62 24 28 49 25 29 3d c4  |=1.7....b$(I%)=.|
00000ed0  35 32 2c 22 20 20 22 29  0d 06 c2 0d 62 24 28 49  |52,"  ")....b$(I|
00000ee0  25 29 3d 22 22 0d 06 cc  0c 63 25 28 49 25 29 3d  |%)=""....c%(I%)=|
00000ef0  30 0d 06 d6 05 ed 0d 06  e0 0e e3 20 49 25 3d 31  |0.......... I%=1|
00000f00  20 b8 20 34 0d 06 ea 0c  63 25 28 49 25 29 3d 33  | . 4....c%(I%)=3|
00000f10  0d 06 f4 05 ed 0d 06 fe  08 55 25 3d 30 0d 07 08  |.........U%=0...|
00000f20  10 70 25 3d 31 3a 63 24  3d 22 20 20 22 0d 07 12  |.p%=1:c$="  "...|
00000f30  1b 7a 24 3d bd 28 32 33  30 29 2b bd 28 32 33 31  |.z$=.(230)+.(231|
00000f40  29 2b bd 28 32 33 32 29  0d 07 1c 0e 2a 46 58 32  |)+.(232)....*FX2|
00000f50  31 32 2c 32 31 36 0d 07  26 69 79 24 3d bd 32 33  |12,216..&iy$=.23|
00000f60  30 2b bd 32 33 31 2b bd  32 33 32 2b bd 31 30 2b  |0+.231+.232+.10+|
00000f70  bd 38 2b bd 38 2b bd 38  2b bd 32 33 37 2b bd 32  |.8+.8+.8+.237+.2|
00000f80  33 38 2b bd 32 33 33 2b  bd 31 30 2b bd 38 2b bd  |38+.233+.10+.8+.|
00000f90  38 2b bd 38 2b bd 32 33  37 2b bd 32 32 38 2b bd  |8+.8+.237+.228+.|
00000fa0  32 33 33 2b bd 31 30 2b  bd 38 2b bd 38 2b bd 38  |233+.10+.8+.8+.8|
00000fb0  2b bd 32 33 36 2b bd 32  33 35 2b bd 32 33 34 0d  |+.236+.235+.234.|
00000fc0  07 30 05 e1 0d 07 3a 05  3a 0d 07 44 07 dd f2 64  |.0....:.:..D...d|
00000fd0  0d 07 4e 08 e6 30 2c 33  0d 07 58 10 ef 35 3a ec  |..N..0,3..X..5:.|
00000fe0  33 39 32 2c 31 30 30 30  0d 07 62 18 f1 22 53 43  |392,1000..b.."SC|
00000ff0  4f 52 50 49 4f 4e 20 50  41 54 49 45 4e 43 45 22  |ORPION PATIENCE"|
00001000  0d 07 6c 06 ef 35 0d 07  76 05 e1 0d 07 80 0a dd  |..l..5..v.......|
00001010  f2 63 61 72 64 0d 07 8a  2c e7 74 24 3d bd 32 32  |.card...,.t$=.22|
00001020  39 20 ef 33 31 2c 35 2a  43 25 2d 33 2c 79 25 2f  |9 .31,5*C%-3,y%/|
00001030  32 2b 33 3a f2 66 69 76  65 3a f2 66 69 76 65 3a  |2+3:.five:.five:|
00001040  e1 0d 07 94 3b e7 74 24  3d 22 39 22 20 ef 33 31  |....;.t$="9" .31|
00001050  2c 35 2a 43 25 2d 33 2c  79 25 2f 32 2b 33 3a f1  |,5*C%-3,y%/2+3:.|
00001060  3b bd 32 34 30 3b bd 38  3b bd 31 30 3b 3a f2 66  |;.240;.8;.10;:.f|
00001070  69 76 65 3a f1 3b bd 32  34 30 3a e1 0d 07 9e 2b  |ive:.;.240:....+|
00001080  e7 74 24 3d 22 38 22 20  ef 33 31 2c 35 2a 43 25  |.t$="8" .31,5*C%|
00001090  2d 33 2c 79 25 2f 32 2b  33 3a f2 66 6f 75 72 3a  |-3,y%/2+3:.four:|
000010a0  f2 66 6f 75 72 3a e1 0d  07 a8 34 e7 74 24 3d 22  |.four:....4.t$="|
000010b0  37 22 20 ef 33 31 2c 35  2a 43 25 2d 33 2c 79 25  |7" .31,5*C%-3,y%|
000010c0  2f 32 2b 33 3a f1 3b bd  32 34 31 3b bd 38 3b bd  |/2+3:.;.241;.8;.|
000010d0  31 30 3b 3a f2 66 6f 75  72 3a e1 0d 07 b2 34 e7  |10;:.four:....4.|
000010e0  74 24 3d 22 36 22 20 ef  33 31 2c 35 2a 43 25 2d  |t$="6" .31,5*C%-|
000010f0  33 2c 79 25 2f 32 2b 33  3a f1 3b bd 32 34 30 3b  |3,y%/2+3:.;.240;|
00001100  bd 38 3b bd 31 30 3b 3a  f2 66 6f 75 72 3a e1 0d  |.8;.10;:.four:..|
00001110  07 bc 25 e7 74 24 3d 22  35 22 20 ef 33 31 2c 35  |..%.t$="5" .31,5|
00001120  2a 43 25 2d 33 2c 79 25  2f 32 2b 34 3a f2 66 69  |*C%-3,y%/2+4:.fi|
00001130  76 65 3a e1 0d 07 c6 25  e7 74 24 3d 22 34 22 20  |ve:....%.t$="4" |
00001140  ef 33 31 2c 35 2a 43 25  2d 33 2c 79 25 2f 32 2b  |.31,5*C%-3,y%/2+|
00001150  34 3a f2 66 6f 75 72 3a  e1 0d 07 d0 3e e7 74 24  |4:.four:....>.t$|
00001160  3d 22 33 22 20 ef 33 31  2c 35 2a 43 25 2d 33 2c  |="3" .31,5*C%-3,|
00001170  79 25 2f 32 2b 33 3a f1  3b bd 32 33 39 3b bd 38  |y%/2+3:.;.239;.8|
00001180  3b bd 31 30 3b bd 32 33  39 3b bd 38 3b bd 31 30  |;.10;.239;.8;.10|
00001190  3b bd 32 33 39 3a e1 0d  07 da 3d e7 74 24 3d 22  |;.239:....=.t$="|
000011a0  32 22 20 ef 33 31 2c 35  2a 43 25 2d 33 2c 79 25  |2" .31,5*C%-3,y%|
000011b0  2f 32 2b 33 3a f1 3b bd  32 33 39 3b bd 38 3b bd  |/2+3:.;.239;.8;.|
000011c0  31 30 3b bd 33 32 3b bd  38 3b bd 31 30 3b bd 32  |10;.32;.8;.10;.2|
000011d0  33 39 3a e1 0d 07 e4 27  e7 74 24 3d 22 41 22 20  |39:....'.t$="A" |
000011e0  ef 33 31 2c 35 2a 43 25  2d 33 2c 79 25 2f 32 2b  |.31,5*C%-3,y%/2+|
000011f0  34 3a f1 c0 63 24 2c 31  29 3a e1 0d 08 52 35 e7  |4:..c$,1):...R5.|
00001200  74 24 3d 22 4a 22 20 43  24 3d bd 32 34 32 20 8b  |t$="J" C$=.242 .|
00001210  e7 74 24 3d 22 51 22 20  43 24 3d bd 32 34 33 20  |.t$="Q" C$=.243 |
00001220  8b e7 74 24 3d 22 4b 22  20 43 24 3d bd 32 34 34  |..t$="K" C$=.244|
00001230  0d 08 5c 53 e7 74 24 3d  22 4a 22 20 44 24 3d bd  |..\S.t$="J" D$=.|
00001240  32 34 38 2b bd 32 34 39  2b bd 32 35 32 20 8b e7  |248+.249+.252 ..|
00001250  74 24 3d 22 51 22 20 44  24 3d bd 32 34 38 2b bd  |t$="Q" D$=.248+.|
00001260  32 35 30 2b bd 32 35 32  20 8b e7 74 24 3d 22 4b  |250+.252 ..t$="K|
00001270  22 20 44 24 3d bd 32 34  38 2b bd 32 35 31 2b bd  |" D$=.248+.251+.|
00001280  32 35 32 0d 08 66 19 ef  33 31 2c 35 2a 43 25 2d  |252..f..31,5*C%-|
00001290  33 2c 79 25 2f 32 2b 33  3a f1 43 24 0d 08 70 25  |3,y%/2+3:.C$..p%|
000012a0  ef 33 31 2c 35 2a 43 25  2d 34 2c 79 25 2f 32 2b  |.31,5*C%-4,y%/2+|
000012b0  34 3a f1 bd 32 34 35 2b  bd 32 34 36 2b bd 32 34  |4:..245+.246+.24|
000012c0  37 0d 08 7a 1e e6 30 2c  30 3a ef 33 31 2c 35 2a  |7..z..0,0:.31,5*|
000012d0  43 25 2d 34 2c 79 25 2f  32 2b 35 3a f1 44 24 0d  |C%-4,y%/2+5:.D$.|
000012e0  08 84 1d ef 33 31 2c 35  2a 43 25 2d 33 2c 79 25  |....31,5*C%-3,y%|
000012f0  2f 32 2b 36 3a f1 bd 32  35 33 3a e1 0d 08 8e 0a  |/2+6:..253:.....|
00001300  dd f2 66 6f 75 72 0d 08  98 1e f1 3b bd 32 34 30  |..four.....;.240|
00001310  3b bd 38 3b bd 31 30 3b  bd 32 34 30 3b bd 38 3b  |;.8;.10;.240;.8;|
00001320  bd 31 30 3b 0d 08 a2 05  e1 0d 08 ac 0a dd f2 66  |.10;...........f|
00001330  69 76 65 0d 08 b6 1e f1  3b bd 32 34 31 3b bd 38  |ive.....;.241;.8|
00001340  3b bd 31 30 3b bd 32 34  30 3b bd 38 3b bd 31 30  |;.10;.240;.8;.10|
00001350  3b 0d 08 c0 05 e1 0d 08  ca 05 20 0d 08 d4 52 2a  |;......... ...R*|
00001360  4b 2e 30 20 2a 54 2e 7c  4d 46 4f 52 49 25 3d 30  |K.0 *T.|MFORI%=0|
00001370  54 4f 20 54 4f 50 2d 50  41 47 45 20 53 54 45 50  |TO TOP-PAGE STEP|
00001380  34 3a 49 25 21 26 45 30  30 3d 49 25 21 50 41 47  |4:I%!&E00=I%!PAG|
00001390  45 3a 4e 45 58 54 7c 4d  50 41 47 45 3d 26 45 30  |E:NEXT|MPAGE=&E0|
000013a0  30 7c 4d 4f 4c 44 7c 4d  52 55 4e 7c 4d 0d 08 de  |0|MOLD|MRUN|M...|
000013b0  10 2a 46 58 31 33 38 2c  30 2c 31 32 38 0d ff     |.*FX138,0,128..|
000013bf
G/SCORPIO.m0
G/SCORPIO.m1
G/SCORPIO.m2
G/SCORPIO.m4
G/SCORPIO.m5