7H777 .7/7>F > ~!7P;## Othello/Checkers+ ## Miroslav Kostecki # March 1984 # >!U(45(q, $@ F!8aC(zWr>ozW>os>o0${_{_>oQJ @ D!  A(zWr>ozW>os>o0${_{_>oQJ @ %> !@@= > @ DҨUUUPZpPPRPXPPeUzZff@ DUUURPPpZPUePPXPffҪZz@ DPZpPOKrPXPP׺ZPPpZPPPXP@ Dk{3+ [3z ^^,,,@ D+3{k3[ ,,,^^ z@ Dk{b { :{kK @ D((UUUPZpPPROXPPeU;cc@ DUUU((RPPpZPUePPXOcc˛;@ D !GG;k{3+K[3{ __---@ DGG! +3{k;3[K---__ {@ PY@*w#"@ 33,19,0,195,162,148 &162,80:163,1:I=341346:A:I,A:I Í19::140,1:6:220,111::0:A0$="Othello/Checkers":Z(144):N=116:V=N*9-9:H=(A0$(;N,N))*16-2044:I=08:Z(V+I)=(H+I):I:N ::T=(2369):65:[A62 208]:769:[A62 130]:0: 3,123,41: 125,12125,41:Y=312:6-(Y-Y/2*2)*3,Y:X=19:[A3 150]" ";:X [A3 150]:Y:0:Q=07272:S=08:F=39-S-Q/6:N=630-9:X=Z(N+S+Q):H=N+10+((N)/1.8)+(N=0)*2:B=H+12H-2:T=X/2:T+T=X: B+1,FB,F vX=T:B:N:S:Q:689:"PLUS+":0:I=61-1:R 24,17-I61,17-I:I: 24,1661,1661,324,324,1625,1625,360,360,16 !"Link x.","Othello","Checkers" 0:23:I=13:A0$:0:15,11+I:I"..."A0$:0:I ;D=():D<49D>522523:I=1D-48:A0$:I:::A=63488:0 X0,16:1,252:I=05:O=(3280,2580+I*70):I:0,144:1,254:I=03:O=(3280,3000+I*70):I qE=255:I=015:A+32+I,85:A+512+I,E:I:J=116:15,J:(130);:J:I=04:A+I,E:A+27+I,E:I:I=021:A+5+I,0:I YL=(A0$):64:(160)" "A0$" "(160):0:N=0L+3:N:(129):L+131-N:[A1 128]:N:A0$="" eJ=07:C=12:22-(J-J/2*2)*6,J+J+C:I=13:[A6 160][A6 32];:I:[A6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B+Y*F:Z=Z+(O=9F>0):M=M+1:O=1:63:M=M-1+(F>0):Z=Z+1 h62:O=1:6769 i,868:74:960:[I4 Z][I6 M];:901:F:G=1: X\P(8,8),X(25),U(7,3):S=6:X(16)=3::C=-1:E=1:69:J=18:B=J*128-55:I=J-J/2*2+182:D=I*6+B ^1J<4J>5:D-64:V1$:D:V2$;:P(I,9-J)=C67:C=1 ` I:J: bH220,111:895:" ";:G=-1:D=97:860:A=D:G=-5X(18)>0:O=1:71G=-5664 fG=-9:C=A:D=49:860:B=D:"-"; j2B-D<>2628 qf880:O=11-P(A,B)/2*2-2:P(C,D)=0:D-B=O(A-C=-1A-C=1)D-B=O+O(A-C=-2A-C=2)P(E,F)<0*O 630O tO=1:61:610 uV1$=" AIJD ":V2$=" EKLH ": vFG=0:P(C,D)=P(A,B):P(A,B)=0:F=P(C,D):D=8P(C,D)<>2:P(C,D)=2:F=2:G=-1 z874:E=1:F=2G=0:62967 |868::G=-1:629 C876:D-B=4B-D=4:880:E,F-1:A1$:E,F:A1$;:P((E-10)/6,9-F/2)=0 6E=A:F=B:A=C:B=D:868:A=E:B=F:D-B<>4B-D<>4G=-1664 sA=(C-10)/6:B=9-D/2:J=22-P(A,B)/2*4-4:I=-224:B+J<9B+J>0A+I>0A+I<9:P(A+I,B+J)=0P(A+I/2,B+J/2)<0*I 660 I:J:74:664 2896:(96+A)(48+B)"- ":898:"-";:F=7:*J 618 74 X(18)=X(18)+1:962:"Move:"X(18);:65:I=18:J=I/2*2-I+282:P(I-1,J)=-P(I,J):U(I-1,(J-1)/2)=P(I,J):J:I:G=-10:Q=S:T=0:S=0:Y=0:V=0:X(9)=0 #I=1+V8+V:M=I-V:J=M/2*2-M+282 P(I,J)>-1710T=T+1:S=S+J L=-1-2*V:M=J+L M>8M<1706 -K=-112:H=I+K:R=H+K:H>8H<1P(H,M)<0704 GW=(((J-Q))):N=((W)/2.4):P(H,M)=0:Y=Y+1:N=N+20:E=H:F=M:722:688 KW=0:W+1(RW+0(M+L:P(R,M+L)=0:Y=Y+1:N=N+51+P(H,M)*3:E=R:F=M+L:812704 3P(I,J)=-2:N=N-3+(A3<3)*5F=1V=0F=8V=-1:N=N+4 "V=-1:O=O+N:G=G-(N>G)*(N-G):704 X(9)>50702 X(12)=N:X(17)=G:V=Q:Q=X(16):X(16)=V:X(15)=T:X(14)=S:X(13)=Y:G=-10:P(E-1,F)=P(I-1,J):P(I-1,J)=0:X(20)=I:X(22)=J:X(24)=E:X(25)=F:X(21)=K:X(6)=L:O=0 CI-E=2E-I=2:X(7)=P((I+E)/2-1,(F+J)/2):P((I+E)/2-1,(F+J)/2)=0700 X(11)=0:X(8)>0:X(11)=X(8):X(10)=X(0):P(X(0)-1,X(8))=P(E-1,F):P(E-1,F)=0:X(19)=P((E+X(0))/2-1,(X(8)+F)/2):P((E+X(0))/2-1,(X(8)+F)/2)=0 X(9)=55:676 (N>GG=N(*10)>4:G=N:A=I:B=J:C=E:D=F K %P(I,J)=-2L=-1-2*V:L=-L:M=J+L:678 wX(9)=55:X(12)=X(12)+G*2/5:(A3)=3(A3)=2X(12)*2+915>X(17):G=-10:T=0:S=0:Y=0:V=-1:X(9)=0:672X(9)=55:X(9)=0:714 X(9)=99826J:I:V=0720 X(12)=X(12)-(O/Y+G)*2/3-G+25 ʏN=X(12)+999:Q=X(16):X(16)=S/T:G=X(17):T=X(15):S=X(14):Y=X(13):V=0:I=X(20):J=X(22):E=X(24):F=X(25):K=X(21):L=X(6):P(I-1,J)=P(E-1,F):P(E-1,F)=0 ,I-E=2E-I=2:P((I+E)/2-1,(J+F)/2)=X(7)718 ZX(11)>0:P(I-1,J)=P(X(10)-1,X(11)):P(X(10)-1,X(11))=0:P((E+X(10))/2-1,(X(11)+F)/2)=X(19) 702 T=0Y=0:O=-1:71S=S/T:822 (((F-Q)))0:N=N-9-P(I,J)*2:W+0(I-K:X(5)<0:N=N+X(5)+7:W+0(J-L-LW+0(I-K-K:P(I-K-K,J-L-L)=0:N=1 CW+0(M+L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+47+V*3+P(H,M+L+L)*2:X(0)=I:X(8)=M+L*3 4 6XI=18:J=I/2*2-I+282:P(I,J)=U(I-1,(J-1)/2):J:I:I=A:J=B:G=-10:N=0:X(9)=99:V=0:676 :BH=P(A,B):P(C,D)=H:P(A,B)=0:903:(96+A)(48+B)"-"(96+C)(48+D) >'O=-1:D=1P(C,D)=-1:H=-2:P(C,D)=H:O=1 @((((B-D)))=2:G=2:880:P(E,F)=0G=0 DF874:H=-2O=-1:V1$=" MUVP ":V2$=" QWXT "V1$=" MNOP ":V2$=" QRST " F'868::O=1:V1$=" MUVP ":V2$=" QWXT " J7876:G=2:E=E*6+10:F=9-F:F=F+F:E,F-1:A1$:E,F:A1$; L:E=A:F=B:A=C:B=D:868:A=E:B=F:G=2:A=(C-10)/6:B=9-D/2856 RV=-112:W=-1H/2*O2 TYB+W+W>0B+W+W<9A+V+V>0A+V+V<9:P(A+V,B+W)>0P(A+V+V,B+W+W)=0:C=A+V+V:D=B+W+W:*W 858 VW:V X 950:610 Z *V 826 \7257,0:A1$=:A1$="v":0,(2399)A1$="0"G=-1:G=-5: _(E=(A1$)-D+1:G=-9:V=C+E:V/2*2<>V860 `'A1$<(D)A1$>(D+7)860D=E:A1$;: d6I=14::A,B-1:[A6 130]:A,B:[A6 130];:J=130:J fOA,B-1:E=0:" ";::V1$;::" ":A,B:" ";::V2$;::" ";:V1$:A,B:V2$; hJ=128:J:I::0: j9A=A*6+10:B=9-B:B=B+B:C=C*6+10:D=9-D:D=D+D:A1$=" ": lA,B-1:A1$:A,B:A1$;: pE=(A+C)/2:F=(B+D)/2: 0,(2541): CHECKERSC"