ZXTape!Dartboard d DARTBOARD dm$(30)  ' 1000 6:20,1;1;1;5;0;m$ @ 400 J""330J Ok$=:k$=""335O Q#k$"A"k$"Z"k$=(k$-32 ) T420,1;" " Y h120,1;1;6;0;m$  i=12 .05|L,502:2 i  =0,0;"":i=120:i,0;"":i ?21,0;"":i=130:21,i;"":i I21,31;"":i=201-1:i,31;"":i G0,31;"":i=301-1:0,i;"":i  $1,16:1,12 J.5,25:x=2317-.5:.1}L,x:2:x ! + 570: 0*n,p:n*.25~,p:n>05600 :X1,12 ,1,14,1,16,2,17,2.5 ,12 Y1,14,1,16,1,17,1.5@,21,.5,19 @x1,19,1,17,1,17,1,16,1,14,1,16,3,17 D0,0 S  8000@ $2,0; .i$ 8i$(1)=""1200 Lp=1+(*i$) V i$(p); `4i=13:.1}L,-40(:10 :i ji$(p+1) t 1070. .m$="Press any key to continue...":300,   n=10  s(n) *base=2+(*8) 4s(1)=0 > 8200 H i=2n Rm:s(i)=base*m \i ftarget=15+(*11 ) ptarget=target*base ways=0  a=1n b=a+1n c=b+1n tot=s(a)+s(b)+s(c) tot=targetways=ways+1 c b a (2:7:0::450 21,2;2;8;" DARTBOARD " 5cl=10 :cc=14:cx=127:cy=88X 'r1=15:r2=502:r3=65A  cx,cy,r1 0a=02*ͧ/4 :px1=cx+r1*a Dpy1=cy+r1*a N px1,py1 bpx2=(r2-r1)*a lpy2=(r2-r1)*a v px2,py2 {a cx,cy,r2 cx,cy,r3 8400 @i=1n:l,c:l,c;ں(*8);9 ;1;s(i):i HW20,10 ;2;9 ;1;1;" Score needed is ";target;" " 26;0;"How many ways to score? ";r$  answer=r$  ok=0 answer=waysok=1 Jok=0m$="You have a very bad aim!":350^:500:0 Ook=1m$="One hundred and EIGHTY - yes!":350^:550&:0 ,m$="Another three darts (Y/N)?":300, k$"y"10000' ok=04000 ok=12000 J" DARTS"," " T#"This puzzle has a very peculiar" Y!"dartboard in it. Each area of" ^$"the board has a different score." h "You have to imagine throwing" r#"three darts at the board - each" | "one must land in a different" ""area. There is a certain total" $"which you need to score with the" !"three darts. You have to find"  "how many different ways this" "total can be reached." ""No combination of areas may be" ""used more than once, even in a" "different order."," " "Take aim carefully..." "" K1,2,3,4,5,6,8,10 ,12 $9 ,11 ,10 ,15 $3,15,12 ,19 $6,13 ,15,17 #9 ,19,6,17 !%15,13 ,12 ,11