1 100 print "This program will play checkers. The computer us X,"
2 110 print "and you are 0. The computer will go first, -note: squares"
3 120 print "are printed in the form-(X,Y) and sq. 1.1 is the bottom left!"
4 130 print "do not attempt a double jump or your piece might just"
5 140 print "disappear (same for triple!)"
6 150 print " Wait for the computer to move!!!!!!"
11 1100 data 1,0,1,0,0,0,-1,0,0,1,0,0,0,-1,0,-1,15
15 1500 if j=15 then 1800
26 2600 if s(x,y)=0 then 3500
28 2800 if s(x,y)>0 then 3500
30 3000 if s(x,y)<0 then 3500
31 3100 if abs(s(x,y))<>1 then 3300
33 3300 if abs(s(x,y))<>2 then 3500
35 3500 if x<>8 then 3800
43 4300 for a=-1 to 1 step2
50 5000 if s(u,v) <> 0 then 5300
53 5300 if s(u,v)=g then 6300
54 5400 if s(u,v)=2*g then 6300
62 6100 if s(u,v)<>0 then 6300
67 6600 for a=-1 to 1 step2
75 7400 if s(u,v)<>0 then 7700
78 7700 if s(umv)=g then 8700
79 7800 if s(u,v)=2*g then 8700
86 8500 if s(u,v)<>0 then 8700
94 9300 if p=k then 12300
95 9400 if v<>(4.5+(3.5*g)) then 9600
97 9600 if x<>(4.5-(3.5*g)) then9800
100 9900 if u<>1 then 10100
102 10100 if u<> 8 then 10300
104 10300 for c=-1 to 1 step 2
105 10400 if s(u+c,v+g)<1 then 10800
107 10600 if s(u-c,v-g) <> 0 then 10800
109 10800 rem this was the evaluation section
115 11400 if p=0 then 18800
116 11500 for j=10to-10step -1
118 11700 if r(f)=j then 12000
122 12100 print "retry": gosub 2300
124 12300 print " I move from ("X Y") to("U;V")"
128 12700 if v<>(4.5+(3.5*g)) then 13000
131 13000 let s(u,v)=s(x,y)
133 13200 if(abs(x-u))<>2 then 13400
134 13300 s((x+u)/2,(y+v)/2)=0
137 13600 if d$<>"yes" then 13900
143 14200 for y=8to1step -1
146 14500 if s(x,y)<>0 then14700
147 14600 print tab(i)".";
148 14700 if s(x,y)<>1 then 14900
149 14800 print tab(i)"0"
150 14900 if s(x,y)<>-1then 15100
151 15000 print tab(i)"X"
152 15100 if s(x,y)<>-2 then 15300
153 15200 print tab(i)"X";tab(I)"*"
154 15300 if s(x,y)<>2 then 15500
155 15400 print tab(i)"O";tab(I)"*"
164 16300 if s(x,y)<>0 then 16700
165 16400 print "there is no one occupying that space"
172 17100 if s(x,y)=0 then 17500
173 17200 print "that space is already occupied"
179 17800 t=(4.5-(3.5*g))
180 17900 if abs(e-a)<>2 then 18100
181 18000 s((e+a)/2,(h+b)/2)=0
182 18100 if b<>t then 18300
189 18800 print " very good, you win"
191 19100 print " chuck out"