]> git.pld-linux.org Git - packages/crafty.git/blame - crafty.doc.ps
- adapterized (killed trailing spaces/tabs)
[packages/crafty.git] / crafty.doc.ps
CommitLineData
3fa06793 1%!PS-Adobe-3.0
2%%Creator: groff version 1.11
3%%CreationDate: Thu Feb 8 10:38:31 2001
4%%DocumentNeededResources: font Times-Roman
5%%DocumentSuppliedResources: procset grops 1.11 0
6%%Pages: 21
7%%PageOrder: Ascend
8%%Orientation: Portrait
9%%EndComments
10%%BeginProlog
11%%BeginResource: procset grops 1.11 0
12/setpacking where{
13pop
14currentpacking
15true setpacking
16}if
17/grops 120 dict dup begin
18/SC 32 def
19/A/show load def
20/B{0 SC 3 -1 roll widthshow}bind def
21/C{0 exch ashow}bind def
22/D{0 exch 0 SC 5 2 roll awidthshow}bind def
23/E{0 rmoveto show}bind def
24/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
25/G{0 rmoveto 0 exch ashow}bind def
26/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
27/I{0 exch rmoveto show}bind def
28/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
29/K{0 exch rmoveto 0 exch ashow}bind def
30/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
31/M{rmoveto show}bind def
32/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
33/O{rmoveto 0 exch ashow}bind def
34/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
35/Q{moveto show}bind def
36/R{moveto 0 SC 3 -1 roll widthshow}bind def
37/S{moveto 0 exch ashow}bind def
38/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
39/SF{
40findfont exch
41[exch dup 0 exch 0 exch neg 0 0]makefont
42dup setfont
43[exch/setfont cvx]cvx bind def
44}bind def
45/MF{
46findfont
47[5 2 roll
480 3 1 roll
49neg 0 0]makefont
50dup setfont
51[exch/setfont cvx]cvx bind def
52}bind def
53/level0 0 def
54/RES 0 def
55/PL 0 def
56/LS 0 def
57/MANUAL{
58statusdict begin/manualfeed true store end
59}bind def
60/PLG{
61gsave newpath clippath pathbbox grestore
62exch pop add exch pop
63}bind def
64/BP{
65/level0 save def
661 setlinecap
671 setlinejoin
6872 RES div dup scale
69LS{
7090 rotate
71}{
720 PL translate
73}ifelse
741 -1 scale
75}bind def
76/EP{
77level0 restore
78showpage
79}bind def
80/DA{
81newpath arcn stroke
82}bind def
83/SN{
84transform
85.25 sub exch .25 sub exch
86round .25 add exch round .25 add exch
87itransform
88}bind def
89/DL{
90SN
91moveto
92SN
93lineto stroke
94}bind def
95/DC{
96newpath 0 360 arc closepath
97}bind def
98/TM matrix def
99/DE{
100TM currentmatrix pop
101translate scale newpath 0 0 .5 0 360 arc closepath
102TM setmatrix
103}bind def
104/RC/rcurveto load def
105/RL/rlineto load def
106/ST/stroke load def
107/MT/moveto load def
108/CL/closepath load def
109/FL{
110currentgray exch setgray fill setgray
111}bind def
112/BL/fill load def
113/LW/setlinewidth load def
114/RE{
115findfont
116dup maxlength 1 index/FontName known not{1 add}if dict begin
117{
1181 index/FID ne{def}{pop pop}ifelse
119}forall
120/Encoding exch def
121dup/FontName exch def
122currentdict end definefont pop
123}bind def
124/DEFS 0 def
125/EBEGIN{
126moveto
127DEFS begin
128}bind def
129/EEND/end load def
130/CNT 0 def
131/level1 0 def
132/PBEGIN{
133/level1 save def
134translate
135div 3 1 roll div exch scale
136neg exch neg exch translate
1370 setgray
1380 setlinecap
1391 setlinewidth
1400 setlinejoin
14110 setmiterlimit
142[]0 setdash
143/setstrokeadjust where{
144pop
145false setstrokeadjust
146}if
147/setoverprint where{
148pop
149false setoverprint
150}if
151newpath
152/CNT countdictstack def
153userdict begin
154/showpage{}def
155}bind def
156/PEND{
157clear
158countdictstack CNT sub{end}repeat
159level1 restore
160}bind def
161end def
162/setpacking where{
163pop
164setpacking
165}if
166%%EndResource
167%%IncludeResource: font Times-Roman
168grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
169def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
170/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
171/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
172/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
173/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
174/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
175/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
176/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
177/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
178/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
179/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
180/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
181/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
182/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
183/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
184/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
185/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
186/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
187/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
188/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
189/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
190/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
191/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
192/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
193/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
194/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
195/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
196/Times-Roman@0 ENC0/Times-Roman RE
197%%EndProlog
198%%Page: 1 1
199%%BeginPageSetup
200BP
201%%EndPageSetup
202/F0 10/Times-Roman@0 SF(Crafty Command Documentation \(v)195.585 96 Q
203(ersion 18\))-.15 E(-----------------------------------------------)
204209.745 108 Q .714(Crafty is nothing more than a long-time hobby of min\
205e, dating back to Blitz and later Cray Blitz.)72 120 R(People)5.714 E
206(ask me ho)72 132 Q 2.5(wIk)-.25 G
207(eep doing this, and that is the one question that generally lea)-2.6 E
208-.15(ve)-.2 G 2.5(sm).15 G 2.5(ea)-2.5 G 2.5(tal)-2.5 G(oss for w)-2.5 E
209(ords.)-.1 E .711(Perhaps the most common question I'm ask)72 156 R .711
210(ed is "is this v)-.1 F .711(ersion of Crafty some dumbed-do)-.15 F .712
211(wn v)-.25 F .712(ersion of)-.15 F 1.071
212(what you play on ICC or what you use at a computer chess e)72 168 R
213-.15(ve)-.25 G 3.57(nt?" The).15 F 1.07(answer is a resounding *NO*.)
2143.57 F .666(The current v)72 180 R .666(ersion is *e)-.15 F .667
215(xactly* what is running on ICC under this v)-.15 F .667(ersion number)
216-.15 F 5.667(.N)-.55 G .667(ote that a ne)-5.667 F 3.167(wv)-.25 G(er)
217-3.317 E(-)-.2 E .538
218(sion can, on occasion, introduce weaknesses or outright b)72 192 R .537
219(ugs that were not present in pre)-.2 F .537(vious "gold" v)-.25 F(er)
220-.15 E(-)-.2 E 2.82(sions. As)72 204 R 2.82(ar)2.82 G .32
221(esult, you should be careful to back up your "f)-2.82 F -.2(avo)-.1 G
222.321(rite" before trying the latest and greatest.).2 F(If)5.321 E
223(you aren')72 216 Q 2.5(ts)-.18 G(atis\214ed with the ne)-2.5 E 2.5(wv)
224-.25 G(ersion, you can then go back to what you belie)-2.65 E .3 -.15
225(ve i)-.25 H 2.5(sab).15 G(etter v)-2.5 E(ersion.)-.15 E 1.013
226(If you are looking for the strongest playing computer chess program a)
22772 240 R -.25(va)-.2 G 1.013(ilable, you should lik).25 F 1.013
228(ely look to)-.1 F .704(Fritz, Rebel, T)72 252 R(iger)-.35 E 3.204(,a)
229-.4 G .704(nd the other commercial entries.)-3.204 F .705
230(There you will \214nd strong opponents with polished)5.705 F(interf)72
231264 Q .102(aces that ha)-.1 F .401 -.15(ve b)-.2 H .101
232(een tested in a systematic and careful w).15 F(ay)-.1 E 5.101(.I)-.65 G
2332.601(fy)-5.101 G .101(ou are looking for a program that plays)-2.601 F
234.614(good chess, has a reasonable set of features for you to use, is a)
23572 276 R -.25(va)-.2 G .614(ilable in source form, and one where the).25
236F .478(author welcomes feedback, code or suggestions, then you are at t\
237he right place.)72 288 R 2.978(Iw)5.478 G .478(elcome comments and)
238-2.978 F(suggestions, and also feedback from ideas you try yourself tha\
239t seem to w)72 300 Q(ork.)-.1 E .031(Crafty is a state-of-the-art compu\
240ter chess program, and uses all of the search algorithms you ha)72 324 R
241.332 -.15(ve p)-.2 H(robably).15 E 1.016(read about, ne)72 336 R -.05
242(ga)-.15 G 1.016(scout search, killer/history mo).05 F 1.315 -.15(ve o)
243-.15 H 1.015(rdering, SEE \(Static Exchange Ev).15 F 1.015
244(aluation\) quiescence)-.25 F(mo)72 348 Q 1.776 -.15(ve o)-.15 H 1.477(\
245rdering and pruning, hash \(transposition/refutation\) tables as well a\
246s e).15 F -.25(va)-.25 G 1.477(luation caches, selecti).25 F -.15(ve)
247-.25 G -.15(ex)72 360 S .538(tensions, recursi).15 F .837 -.15(ve n)-.25
248H(ull-mo).15 E .837 -.15(ve s)-.15 H .537
249(earch, and a host of other features that ha).15 F .837 -.15(ve b)-.2 H
250.537(een used and are still being).15 F .836
251(used in most computer chess programs.)72 372 R .836(If it')5.836 F
2523.336(sn)-.55 G .836(ot in Crafty)-3.336 F 3.336(,e)-.65 G .837
253(ither it is on the "to do" list, or it has been)-3.336 F
254(tried, found w)72 384 Q(anting, and discarded.)-.1 E 1.288(Chess Kno)72
255408 R 1.288(wledge is gro)-.25 F 1.288(wing, and suggestions \(or e)-.25
256F -.15(ve)-.25 G 3.788(nb).15 G(etter)-3.788 E 3.787(,r)-.4 G 1.287
257(eal code\) are welcome.)-3.787 F 1.287(This is the best)6.287 F .661
258(place to contrib)72 420 R .661(ute your ideas, because kno)-.2 F .662
259(wledge can be used to supplant search and mak)-.25 F 3.162(ei)-.1 G
2603.162(tp)-3.162 G .662(lay better)-3.162 F(.)-.55 E .021(The e)72 432 R
261-.25(va)-.25 G .021(luation is probably the easiest place to start stud\
262ying Crafty because of the comments and simplicity).25 F
263(of using bitmaps, *once* you get "into" them.)72 444 Q .241
264(My purpose for doing this is an e)72 468 R -.15(xe)-.15 G .242
265(rcise in computer chess ef).15 F(\214cienc)-.25 E 4.042 -.65(y. I)-.15
266H(can')3.392 E 2.742(tb)-.18 G -.15(eg)-2.742 G .242
267(in to count the number of).15 F .156(people I kno)72 480 R 2.656(wt)
268-.25 G .155(hat started from scratch to write a chess program.)-2.656 F
269(Ev)5.155 E .155(en lar)-.15 F .155(ger is the group that started from)
270-.18 F(scratch, and g)72 492 Q -2.25 -.2(av e)-.05 H
271(up before \214nishing, because of the basic size of the project.)2.7 E
272.83(Crafty of)72 516 R .83(fers e)-.25 F -.15(ve)-.25 G .83(ryone a v)
273.15 F .83(ery clean starting point, if you are f)-.15 F .83
274(ascinated by the bitmap chess board imple-)-.1 F
275(mentation \(as I am\).)72 528 Q
276(The search and quiescence code is reasonably straightforw)5 E
277(ard, as is the e)-.1 E -.25(va)-.25 G(luation,).25 E .118(It of)72 552
278R .117(fers a great starting point, so that if you are interested in tr\
279ying a ne)-.25 F 2.617(ws)-.25 G .117(earch e)-2.617 F .117
280(xtension, you can be test-)-.15 F .009(ing tomorro)72 564 R 1.309 -.65
281(w, r)-.25 H .009(ather than ne).65 F .009(xt year)-.15 F 2.509(,b)-.4 G
282.01(ecause you start with a fully functional chess engine that is not a\
283 "to)-2.509 F(y")-.1 E .613(application, b)72 576 R .613
284(ut is a functional and "dangerous" chess player)-.2 F 5.612(.I)-.55 G
2853.112(to)-5.612 G -.25(ff)-3.112 G .612
286(ers a rapid start, although you can cer).25 F(-)-.2 E .75
287(tainly replace it piece by piece until it is "yours" if you w)72 588 R
2883.25(ant. It)-.1 F .75(also of)3.25 F .75(fers a f)-.25 F .75
289(airly complete set of com-)-.1 F .958(mands and an interf)72 600 R .957
290(ace for a GUI as well as support for chess serv)-.1 F .957(er play)-.15
291F 3.457(,s)-.65 G 3.457(ot)-3.457 G .957(hat testing and deb)-3.457 F
292(ugging)-.2 E(your ne)72 612 Q 2.5(wi)-.25 G
293(deas is greatly simpli\214ed.)-2.5 E 1.244(If you')72 636 R 3.744(dl)
294-.5 G(ik)-3.744 E 3.744(em)-.1 G 1.244
295(ore information, please check out the read.me document and the crafty)
296-3.744 F(.F)-.65 E 2.345 -.55(AQ t)-.74 H 1.245(hat are dis-).55 F(trib)
29772 648 Q 1.063(uted with Crafty)-.2 F 6.063(.T)-.65 G 1.062
298(hese contain recent ne)-6.063 F 1.062
299(ws and speci\214c instructions for commonly ask)-.25 F 1.062
300(ed questions,)-.1 F(lik)72 660 Q 2.5(e")-.1 G
301(where can I obtain tablebase \214les and ho)-2.5 E 2.5(wd)-.25 G 2.5
302(oIu)-2.5 G(se them?")-2.5 E(Ho)246.63 672 Q 2.5(wt)-.25 G 2.5(op)-2.5 G
303(lay a g)-2.5 E(ame.)-.05 E(-------------------)256.365 684 Q 1.084
304(When you e)72 696 R -.15(xe)-.15 G 1.084(cute Crafty).15 F 3.584(,y)
305-.65 G 1.084(ou will immediately be greeted by the prompt string "white\
306\(1\): " and Crafty)-3.584 F .79(will w)72 708 R .79(ait for commands.)
307-.1 F .79(This prompt means it is white on mo)5.79 F -.15(ve)-.15 G
3083.289(,a).15 G .789(nd we are at mo)-3.289 F 1.089 -.15(ve #)-.15 H
3093.289(1f).15 G .789(or white.)-3.289 F -1.1(Yo)5.789 G(u)1.1 E .879
310(can \214rst use an)72 720 R 3.379(yo)-.15 G 3.379(ft)-3.379 G .879
311(he commands from the alphabetic command listing belo)-3.379 F 3.38(wt)
312-.25 G 3.38(ot)-3.38 G .88(ailor the g)-3.38 F .88(ame to your)-.05 F EP
313%%Page: 2 2
314%%BeginPageSetup
315BP
316%%EndPageSetup
317/F0 10/Times-Roman@0 SF .238(liking \(time control, hash table size, bo\
318ok randomness, etc.\) and then you ha)72 96 R .538 -.15(ve t)-.2 H .438
319-.1(wo c).15 H 2.737(hoices. If).1 F .237(you w)2.737 F .237(ant to)-.1
320F .198(play white, just enter your mo)72 108 R -.15(ve)-.15 G 2.698(,a)
321.15 G .198(nd Crafty will tak)-2.698 F 2.698(ei)-.1 G 2.698(tf)-2.698 G
322.198(rom there and mak)-2.698 F 2.698(eam)-.1 G .498 -.15(ove i)-2.698 H
3232.698(nr).15 G 2.698(esponse. Y)-2.698 F .198(ou will)-1.1 F .902
324(then be prompted by "white\(2\):" and it is your mo)72 120 R 1.202 -.15
325(ve a)-.15 H -.05(ga).15 G 3.402(in. If).05 F .901(you w)3.401 F .901
326(ould prefer to play black, just enter)-.1 F .745(either "mo)72 132 R
327-.15(ve)-.15 G 3.245("o).15 G 3.245(r")-3.245 G .745
328(go" at the prompt and crafty will mo)-3.245 F 1.045 -.15(ve f)-.15 H
329.746(or that side rather than accepting a mo).15 F 1.046 -.15(ve f)-.15
330H(rom).15 E 2.962(you. After)72 144 R .462(it mak)2.962 F .462
331(es its mo)-.1 F .762 -.15(ve f)-.15 H .462(or white, you will then see\
332 the prompt "black\(1\): " indicating it is no).15 F 2.962(wt)-.25 G
333(ime)-2.962 E .682(for blacks \214rst mo)72 156 R -.15(ve)-.15 G 5.682
334(.Y).15 G .682(ou can enter a mo)-6.782 F -.15(ve)-.15 G 3.182(,o).15 G
3353.182(ry)-3.182 G .683(ou can once ag)-3.182 F .683(ain enter "mo)-.05 F
336-.15(ve)-.15 G 3.183("o).15 G 3.183(r")-3.183 G .683
337(go" and Crafty will)-3.183 F(ag)72 168 Q(ain mo)-.05 E .3 -.15(ve f)
338-.15 H
339(or the current side, change sides, and prompt you for what to do ne).15
340E(xt.)-.15 E .669(If you \214nd yourself continually using a set of com\
341mands to con\214gure crafty to play as you w)72 192 R .669(ant, you can)
342-.1 F .949(put these commands in a startup \214le called .craftyrc \(Un\
343ix\) or crafty)72 204 R .949(.rc \(DOS/W)-.65 F(indo)-.4 E 3.449
344(ws\). The)-.25 F .949(format for)3.449 F .221(this \214le is just lik)
34572 216 R 2.721(ey)-.1 G .221(ou w)-2.721 F .221
346(ould type the commands at the k)-.1 F -.15(ey)-.1 G .221
347(board, with the requirement that the last line of).15 F 1.069
348(the \214le must be "e)72 228 R 1.069(xit" on a line by itself.)-.15 F
3491.07(Using this, each time you start Crafty)6.069 F 3.57(,i)-.65 G 3.57
350(tw)-3.57 G 1.07(ill \214rst e)-3.57 F -.15(xe)-.15 G 1.07(cute the).15
351F(commands from this \214le before it prompts you for input.)72 240 Q
352.346(While Crafty is running, you can control what it displays, b)72 264
353R .345(ut here')-.2 F 2.845(sac)-.55 G .345(ouple of samples to e)-2.845
354F .345(xplain what it)-.15 F(is saying and wh)72 276 Q(y:)-.05 E 5
355(depth time score)99.5 300 R -.25(va)10 G(riation \(1\)).25 E(book mo)
356102 312 Q -.15(ve)-.15 G 2.5(s{).15 G
357(d4, c3, Nc3, d3, b3, c4, g3, b4, Be2, Bb5})-2.5 E 5(book 0.0s)102 324 R
3587.5(70% d4)12.5 F(White\(3\): d4)72 348 Q(time used:)102 360 Q(0.01)7.5
359E .97
360(This is the normal output for those cases where Crafty is in book.)72
361384 R .971(The book mo)5.971 F -.15(ve)-.15 G 3.471(sl).15 G .971
362(ine gi)-3.471 F -.15(ve)-.25 G 3.471(st).15 G .971(he set of)-3.471 F
363.805(book mo)72 396 R -.15(ve)-.15 G 3.305(st).15 G .805
364(hat made the \214rst selection cut \(see the book selection e)-3.305 F
365.805(xplanation gi)-.15 F -.15(ve)-.25 G 3.305(nl).15 G .805
366(ater\), follo)-3.305 F .805(wed by)-.25 F(the mo)72 408 Q .3 -.15(ve a)
367-.15 H(ctually played, in this case d4.).15 E
368(If Crafty is out of book, then the output looks some)72 432 Q(what dif)
369-.25 E(ferent as gi)-.25 E -.15(ve)-.25 G 2.5(nb).15 G(elo)-2.5 E(w:)
370-.25 E 5(depth time score)79.5 456 R -.25(va)10 G(riation \(1\)).25 E 5
371(4-> 0.81)84.5 468 R 7.5(2.09 6.)10 F(dx)2.5 E(e4 Bx)-.15 E
372(e4 7. Rad8 Qf2 8. Qb5)-.15 E 12.5(51)84.5 480 S 7.5(.37 2.41 6.)-12.5 F
373(dx)2.5 E(e4 Bx)-.15 E(e4 7. Ne5 Qf4 8. Bx)-.15 E(e4+ Qx)-.15 E
374(e4 9. f5)-.15 E 5(5-> 1.88)84.5 492 R 7.5(2.41 6.)10 F(dx)2.5 E(e4 Bx)
375-.15 E(e4 7. Ne5 Qf4 8. Bx)-.15 E(e4+ Qx)-.15 E(e4 9. f5)-.15 E 12.5(67)
37684.5 504 S 12.5(.38 --)-12.5 F(6. dx)10 E(e4)-.15 E 10(61)84.5 516 S 7.5
377(1.90 1.97 6.)-10 F(dx)2.5 E(e4 Bx)-.15 E
378(e4 7. Rab8 Qf2 8. Qc7 Nc5 9. Qe5)-.15 E 10(61)84.5 528 S 12.5(2.92 ++)
379-10 F(6. Ne5)10 E 10(61)84.5 540 S 7.5(3.71 2.23 6.)-10 F
380(Ne5 Qg2 7. Ng6 h5 8. Nh4 Qg4)2.5 E 2.5(6-> 15.59)84.5 552 R 7.5
381(2.23 6.)10 F(Ne5 Qg2 7. Ng6 h5 8. Nh4 Qg4)2.5 E(time: 15.60)79.5 564 Q
3822.5(cpu:99% mat:1 n:246565 nps:15927)5 F -.15(ex)79.5 576 S
383(t-> checks:4706 recaps:1336 pa).15 E(wns:0 1rep:301)-.15 E 2.5
384(nodes full:45951 quiescence:200614 e)79.5 588 R -.25(va)-.25 G
385(ls:104657).25 E(endg)79.5 600 Q(ame tablebase-> probes done: 0)-.05 E
386(successful: 0)5 E(Let')72 624 Q 2.999(st)-.55 G(ak)-2.999 E 2.999(et)
387-.1 G .499(his stuf)-2.999 F 2.999(fo)-.25 G .499(ne line at a time.)
388-2.999 F .499(Lines that ha)5.499 F .799 -.15(ve s)-.2 H .499
389(omething lik).15 F 2.999(e4)-.1 G .499
390(-> in the depth column are printed)-2.999 F 1.178
391(when that iteration \(depth\) is completely \214nished.)72 636 R 1.178
392(The time and score columns should be ob)6.178 F 1.178(vious as to)-.15
393F .816(their meaning as is the PV)72 648 R 3.316(,t)-1.29 G .816
394(he sequence of mo)-3.316 F -.15(ve)-.15 G 3.316(st).15 G .817
395(hat led to this score.)-3.316 F .817(One note about the "score" col-)
3965.817 F 2.84(umn. As)72 660 R .34(of v)2.84 F .34
397(ersion 18, Crafty displays the score with + v)-.15 F .339
398(alues good for white, - v)-.25 F .339(alues good for black, no)-.25 F
399.08(matter which side it is playing in the g)72 672 R 2.581(ame. All)
400-.05 F .081(output no)2.581 F 2.581(wf)-.25 G(ollo)-2.581 E .081
401(ws this con)-.25 F -.15(ve)-.4 G .081(ntion, from playing, to analy-)
402.15 F 1.442(sis mode, to annotating your g)72 684 R 1.441
403(ames, to whispering/kibitzing on the chess serv)-.05 F 1.441
404(ers, and so forth.)-.15 F 1.441(This is)6.441 F(unlik)72 696 Q 3.26(eo)
405-.1 G .76(ther engines, b)-3.26 F .76(ut once you get used to it, it is\
406 much less confusing when you remember that ne)-.2 F(g-)-.15 E(ati)72
407708 Q .3 -.15(ve s)-.25 H
408(cores are good for black and bad for white, and vice-v).15 E(ersa.)-.15
409E EP
410%%Page: 3 3
411%%BeginPageSetup
412BP
413%%EndPageSetup
414/F0 10/Times-Roman@0 SF .825(the line that has -- in the score column m\
415eans that when we started depth 6, dx)72 96 R .824
416(e4 turned out to be w)-.15 F(orse)-.1 E 1.771(than we thought \(notice\
417 score dropped from 2.411 last search to 1.972 for this mo)72 108 R
4182.072 -.15(ve t)-.15 H 1.772(his search.\)).15 F -.8(To)6.772 G(resolv)
41972 120 Q 2.942(et)-.15 G .442(his, Crafty lo)-2.942 F .441(wers the lo)
420-.25 F .441(wer search bound \(alpha\) and re-searches the mo)-.25 F
421.741 -.15(ve t)-.15 H 2.941<6f8c>.15 G .441(nd the score.)-2.941 F(The)
4225.441 E 1.33(line with ++ means that this mo)72 132 R 1.63 -.15(ve \()
423-.15 H 1.33(Ne5\) is better than the best mo).15 F 1.63 -.15(ve s)-.15 H
4243.83(of).15 G(ar)-3.93 E 3.83(,s)-.4 G 3.83(oC)-3.83 G 1.33
425(rafty raises the upper)-3.83 F
426(search bound \(beta\) and re-searches this mo)72 144 Q .3 -.15(ve t)
427-.15 H 2.5<6f8c>.15 G(nd the ne)-2.5 E 2.5(ws)-.25 G(core.)-2.5 E .544
428(the \214rst line of statistics gi)72 168 R -.15(ve)-.25 G 3.044(st).15
429G .544(he total time tak)-3.044 F .543
430(en for this search, the cpu percentage which should stay at)-.1 F
431(98-100% unless your machine is hea)72 180 Q
432(vily loaded or unless Crafty is in an endg)-.2 E(ame that is ha)-.05 E
433(ving lots of con-)-.2 E .67(tact with endg)72 192 R .67(ame databases.)
434-.05 F .67(If this drops belo)5.67 F 3.17(w9)-.25 G .67
435(8%, it means that Crafty is not getting full CPU usage)-3.17 F .682
436(and will be playing weak)72 204 R .682(er than normal.)-.1 F .683
437(The mat:1 is simply the true material score, since Crafty')5.682 F
4383.183(sp)-.55 G(osi-)-3.183 E(tional scores are often lar)72 216 Q
439(ger than a pa)-.18 E(wn.)-.15 E(Alphabetic Listing of Commands)221.195
440240 Q(------------------------------)238.05 252 Q 3.19(1. alarm)72 276 R
441(on|of)3.19 E 5.69(fT)-.25 G .69(his command is used to control Crafty')
442-5.69 F 3.189(s")-.55 G .689(beep" after it mak)-3.189 F .689(es a mo)
443-.1 F -.15(ve)-.15 G 5.689(.T).15 G .689(urning this of)-6.139 F(f)-.25
444E .094(will mak)72 288 R 2.594(eC)-.1 G .094
445(rafty "quiet" when it plays, b)-2.594 F .094(ut also mak)-.2 F .095
446(es it easy to miss a mo)-.1 F .395 -.15(ve i)-.15 H 2.595(fy).15 G .095
447(ou are using crafty to play)-2.595 F(in a tournament.)72 300 Q
448(This is primarily designed to mak)5 E 2.5(eC)-.1 G
449(rafty tolerable during late night matches.)-2.5 E 4.656
450(2. analyze This)72 324 R 2.155(command puts crafty into analyze mode.)
4514.656 F 2.155(In this mode, Crafty starts computing for)7.155 F(whiche)
45272 336 Q -.15(ve)-.25 G 3.493(rs).15 G .993(ide is on mo)-3.493 F -.15
453(ve)-.15 G 3.493(,a).15 G .993(nd it continues computing and sho)-3.493
454F .994(wing its analysis until a mo)-.25 F 1.294 -.15(ve i)-.15 H 3.494
455(se).15 G(ntered.)-3.494 E .134(This mo)72 348 R .434 -.15(ve i)-.15 H
4562.634(sm).15 G .134(ade, Crafty changes sides, and starts thinking and \
457printing analysis all o)-2.634 F -.15(ve)-.15 G .934 -.4(r, b).15 H .133
458(ut for the other).2 F(side no)72 360 Q -.65(w.)-.25 G .215
459(This command is useful to play through a g)72 384 R .215
460(ame, because you get instant feedback when you try a mo)-.05 F -.15(ve)
461-.15 G 5.216(.I).15 G(f)-5.216 E .881(you w)72 396 R .881
462(ant to try a dif)-.1 F .881(ferent mo)-.25 F 1.181 -.15(ve f)-.15 H
463.881
464(rom the one you just entered, use the "back" command to back up one).15
465F(mo)72 408 Q -.15(ve)-.15 G 3.155(,o).15 G 3.155(ru)-3.155 G .655
466(se "back <n>" to back up <n> mo)-3.155 F -.15(ve)-.15 G 3.156(s. Note)
467.15 F .656(that one mo)3.156 F .956 -.15(ve i)-.15 H 3.156(sas).15 G
468.656(ingle mo)-3.156 F .956 -.15(ve f)-.15 H .656(or the last player).15
469F(,)-.4 E .192(not a mo)72 420 R .492 -.15(ve f)-.15 H .192
470(or both sides.).15 F 1.792 -.8(To u)5.192 H(nmak).8 E 2.692(et)-.1 G
471.192(he most recent 2 mo)-2.692 F -.15(ve)-.15 G 2.692(s\().15 G .192
472(one for black, one for white\) use "back 2".)-2.692 F 4.232
473(3. annotate|annotateh)72 444 R 1.732(<\214lename> <colors|name> <mo)
4744.232 F -.15(ve)-.15 G 1.733(s> <mar).15 F 1.733
475(gin> <time> This command is used to)-.18 F(annotate \(mak)72 456 Q 2.5
476(ec)-.1 G(omments in\) a g)-2.5 E(ame that has already been played.)-.05
477E .881(The annotate command produces a \214le with the .can e)72 480 R
478.881(xtension added to the original name.)-.15 F .881(This \214le will)
4795.881 F .358(contain pure ascii information from the annotation pass.)72
480492 R .358("annotateh" produces an HTML \214le instead \(with)5.358 F
481.98(the .html e)72 504 R 3.48(xtension\). This)-.15 F .979(includes the\
482 normal output, plus a nice bitmapped graphical board display for)3.48 F
483-2.15 -.25(ev e)72 516 T(ry position where crafty had ').25 E
484(something to say'.)-.55 E .423
485(<\214lename> is the name of the \214le that has the g)72 540 R .424
486(ame mo)-.05 F -.15(ve)-.15 G 2.924(ss).15 G .424(tored in it.)-2.924 F
487.424(This should be a PGN-compatible)5.424 F .756
488(\214le, although Crafty can read nearly an)72 552 R 3.255<798c>-.15 G
489.755(le with chess mo)-3.255 F -.15(ve)-.15 G 3.255(sa).15 G .755
490(nd con)-3.255 F -.15(ve)-.4 G .755(rt it to pgn using the "read" and)
491.15 F("sa)72 564 Q -2.25 -.15(veg a)-.2 H
492(me" commands to perform the con).15 E -.15(ve)-.4 G(rsion.).15 E .432
493(<colors|name> indicates which side Crafty will annotate.)72 588 R .432
494(The v)5.432 F .433(alid choices are w)-.25 F 2.933(,b)-.65 G 2.933(,a)
495-2.933 G .433(nd wb/bw for white)-2.933 F(only)72 600 Q 2.748(,b)-.65 G
496.248(lack only)-2.748 F 2.748(,a)-.65 G .248(nd both, respecti)-2.748 F
497-.15(ve)-.25 G(ly).15 E 5.248(.C)-.65 G .247
498(rafty will search and produce results for the indicated color only)
499-5.248 F(,)-.65 E(making mo)72 612 Q -.15(ve)-.15 G 2.5(sf).15 G
500(or the other side silently as the)-2.5 E 2.5(ya)-.15 G(re read in.)-2.5
501E(Alternati)72 636 Q -.15(ve)-.25 G(ly).15 E 2.797(,y)-.65 G .297
502(ou can specify the player')-2.797 F 2.797(sn)-.55 G .297
503(ame \(useful if you w)-2.797 F .297(ant to annotate se)-.1 F -.15(ve)
504-.25 G .297(ral of your o).15 F .298(wn g)-.25 F(ames)-.05 E 1.072
505(in one lar)72 648 R 1.072(ge pgn \214le, for e)-.18 F 1.072
506(xample, and you alternated colors so that you can')-.15 F 3.571(tp)-.18
507G 1.071(ick the right one easily\).)-3.571 F .741
508(Crafty will then \214gure out which side to annotate for in each g)72
509660 R 3.242(ame. Note)-.05 F .742(that the name is case-sensiti)3.242 F
510-.15(ve)-.25 G(,).15 E -.2(bu)72 672 S 2.557(tt).2 G .057
511(hat you only ha)-2.557 F .357 -.15(ve t)-.2 H 2.557(oe).15 G .057
512(nter a string that is unique in the name \214eld.)-2.557 F .056
513(IE if one name is "Anatoly Karpo)5.057 F(v")-.15 E .878
514(and the other is "unkno)72 684 R .878(wn" then specifying Karpo)-.25 F
5153.378(va)-.15 G 3.378(st)-3.378 G .878(he name w)-3.378 F .878
516(ould be suf)-.1 F 3.379(\214cient. If)-.25 F .879(the same ')3.379 F
517(string')-.55 E(appears in both names, Crafty will complain.)72 696 Q
518(<mo)72 720 Q -.15(ve)-.15 G .766(s> indicates the mo).15 F -.15(ve)-.15
519G 3.266(st).15 G .765(hat should be annotated.)-3.266 F .765
520(If this is a single inte)5.765 F(ger)-.15 E 3.265(,a)-.4 G .765
521(nnotation starts at this)-3.265 F EP
522%%Page: 4 4
523%%BeginPageSetup
524BP
525%%EndPageSetup
526/F0 10/Times-Roman@0 SF(mo)72 96 Q 1.547 -.15(ve n)-.15 H 1.247
527(umber \(for the color gi).15 F -.15(ve)-.25 G 3.747(na).15 G(bo)-3.747
528E -.15(ve)-.15 G 3.747(\)a).15 G 1.248
529(nd proceeds for the rest of the g)-3.747 F 3.748(ame. If)-.05 F 3.748
530(ar)3.748 G 1.248(ange is gi)-3.748 F -.15(ve)-.25 G 1.248(n, as).15 F
5311.779(\(20-33\), then only mo)72 108 R -.15(ve)-.15 G 4.279(s2).15 G
5321.779(0-33 inclusi)-4.279 F 2.079 -.15(ve a)-.25 H 1.779(re annotated.)
533.15 F 3.379 -.8(To a)6.779 H 1.778(nnotate the complete g).8 F 1.778
534(ame, you can use)-.05 F(1-999.)72 120 Q(<mar)72 144 Q .94(gin> gi)-.18
535F -.15(ve)-.25 G 3.44(sas).15 G .94(core "windo)-3.44 F .94
536(w" that controls whether Crafty will produce comments \(see belo)-.25 F
5373.44(w\). The)-.25 F(lar)72 156 Q .062(ger this number this number)-.18
538F 2.562(,t)-.4 G .062(he fe)-2.562 F .062
539(wer annotations Crafty will produce.)-.25 F 2.562(An)5.062 G -2.25 -.15
540(eg a)-2.562 H(ti).15 E .362 -.15(ve n)-.25 H .061(umber will result in)
541.15 F(an annotation for e)72 168 Q -.15(ve)-.25 G(ry mo).15 E .3 -.15
542(ve s)-.15 H(elected.).15 E .683
543(<time> indicates the time limit for each search.)72 192 R .684
544(Since each mo)5.684 F .984 -.15(ve s)-.15 H .684(elected requires tw)
545.15 F 3.184(os)-.1 G .684(earches, you can)-3.184 F(tak)72 204 Q 3.04
546(et)-.1 G .54(he number of mo)-3.04 F -.15(ve)-.15 G .54
547(s, double this number and multiply by <time> to determine ho).15 F 3.04
548(wl)-.25 G .54(ong the annota-)-3.04 F(tion process will tak)72 216 Q
5492.5(e. This)-.1 F(time is in seconds.)2.5 E(Ho)72 240 Q 2.599(wi)-.25 G
5502.599(tw)-2.599 G 2.599(orks. Suppose)-2.699 F .099
551(you use the command "annotate g)2.599 F .1
552(ame1 w 1-999 1.000 30" This asks Crafty to read)-.05 F .596
553(the \214le "g)72 252 R .596(ame1", and annotate the white mo)-.05 F
554-.15(ve)-.15 G 3.096(sf).15 G .596(or the entire g)-3.096 F 3.096
555(ame. The)-.05 F(mar)3.096 E .596(gin is 1 pa)-.18 F .595
556(wn and the search)-.15 F .133(time limit is 30 seconds.)72 264 R .134(\
557The output for the annotate command is found in <\214lename>.can, in th\
558is case this)5.134 F(is g)72 276 Q(ame1.can.)-.05 E 2.022
559(Crafty \214rst searches the mo)72 300 R 2.322 -.15(ve a)-.15 H 2.022
560(ctually played in the g).15 F 2.022(ame to determine the score for it.)
561-.05 F 2.021(Crafty then)7.021 F .556(searches the same position, b)72
562312 R .556(ut tries all le)-.2 F -.05(ga)-.15 G 3.056(lm).05 G -.15(ove)
563-3.056 G 3.056(s. If).15 F .556(the score for the best mo)3.056 F .856
564-.15(ve f)-.15 H .556(ound in this search is).15 F .398
565(greater than the score for the mo)72 324 R .698 -.15(ve a)-.15 H .397
566(ctually played plus the mar).15 F .397
567(gin, then a comment is added to the output)-.18 F 2.708(\214le. This)72
568336 R .208(output \214le is quite short, with all the g)2.708 F .209
569(ame mo)-.05 F -.15(ve)-.15 G 2.709(s\().15 G .209(plus an)-2.709 F
5702.709(yP)-.15 G .209(GN tags in the original, for identi\214-)-2.709 F
571(cation purposes\) plus the brief comments.)72 348 Q
572(An annotation looks lik)5 E 2.5(et)-.1 G(his:)-2.5 E({real_v)72 372 Q
573(alue \(depth:best_v)-.25 E(alue PV mo)-.25 E -.15(ve)-.15 G(s\)}).15 E
574(real_v)72 396 Q 1.349(alue is the score for the mo)-.25 F 1.648 -.15
575(ve a)-.15 H 1.348(ctually played.).15 F 1.348
576(depth is the depth Crafty searched to produce the)6.348 F(best_v)72 408
577Q .547(alue and PV for what it thinks is the best sequence of mo)-.25 F
578-.15(ve)-.15 G 3.047(sf).15 G .547(or both sides.)-3.047 F .547
579(If you set <mar)5.547 F .547(gin> to)-.18 F .187
580(1.000, you are asking Crafty to only annotate mo)72 420 R -.15(ve)-.15
581G 2.687(st).15 G .187(hat either lost a pa)-2.687 F .187
582(wn or more, or mo)-.15 F -.15(ve)-.15 G 2.687(st).15 G .187(hat f)
583-2.687 F .187(ailed to)-.1 F .389(win a pa)72 432 R .389(wn or more.)
584-.15 F .389(If you set <mar)5.389 F .389
585(gin> to .300, you are asking for annotations for an)-.18 F 2.889(ym)
586-.15 G .689 -.15(ove t)-2.889 H .389(hat mak).15 F(es)-.1 E
587(the score drop about 1/3 of a pa)72 444 Q(wn belo)-.15 E 2.5(wt)-.25 G
588(he v)-2.5 E(alue for the best mo)-.25 E .3 -.15(ve C)-.15 H
589(rafty found.).15 E .184(If you ha)72 468 R .484 -.15(ve o)-.2 H .183
590(ther mo).15 F -.15(ve)-.15 G 2.683(sy).15 G .183(ou w)-2.683 F .183
591(ould lik)-.1 F 2.683(et)-.1 G 2.683(os)-2.683 G .183
592(ee analyzed during this annotate process, at the point where the)-2.683
593F(mo)72 480 Q .796 -.15(ve c)-.15 H .497(an be played, insert it into t\
594he PGN \214le as an analysis comment, surrounded by \(\) or {} characte\
595rs.).15 F .916(Crafty will produce analysis for this mo)72 492 R 1.215
596-.15(ve a)-.15 H 3.415(sw).15 G 3.415(ell. If)-3.415 F .915
597(more than one mo)3.415 F 1.215 -.15(ve a)-.15 H .915
598(ppears inside a single set of).15 F .397
599(delimiters, only the \214rst will be analyzed.)72 504 R 1.998 -.8(To f)
6005.398 H .398(orce Crafty to analyze more than one mo).8 F -.15(ve)-.15 G
6012.898(,e).15 G .398(nter them lik)-2.898 F(e)-.1 E 2.5(this: \(mo)72 516
602R -.15(ve)-.15 G(1\) \(mo).15 E -.15(ve)-.15 G(2\) as though the).15 E
6032.5(yw)-.15 G(ere tw)-2.5 E 2.5(os)-.1 G(eparate comments.)-2.5 E 3.659
604(4. ANSI)72 540 R(on|of)3.659 E 6.159(fT)-.25 G 1.158(his command is us\
605ed to control whether or not Crafty attempts to display its mo)-6.159 F
6061.458 -.15(ve i)-.15 H(n).15 E(re)72 552 Q -.15(ve)-.25 G 1.243
607(rse video or not.).15 F -.15(Fo)6.243 G 3.743(rP).15 G(C')-3.743 E
6081.243(s, Linux, and most Unix box)-.55 F 1.244(es, this w)-.15 F 1.244
609(orks \214ne.)-.1 F 1.244(Should you \214nd yourself)6.244 F .993(playi\
610ng crafty via a dumb terminal, this might hose the terminal and interfe\
611re with your ability to see or)72 564 R .428(input mo)72 576 R -.15(ve)
612-.15 G 2.928(s. If).15 F(mo)2.928 E -.15(ve)-.15 G 2.928(sa).15 G .428
613(re not displayed in re)-2.928 F -.15(ve)-.25 G .428(rse video, it').15
614F 2.928(sp)-.55 G .429(robably wise to turn this of)-2.928 F 2.929(ft)
615-.25 G 2.929(oa)-2.929 G -.2(vo)-3.129 G .429(id hang-).2 F
616(ing the terminal you are using.)72 588 Q 2.533(5. black|white This)72
617612 R .033(command simply toggles the side on mo)2.533 F -.15(ve)-.15 G
6185.033(.i).15 G 2.533(fi)-5.033 G 2.533(ti)-2.533 G 2.532(sw)-2.533 G
619.032(hite to mo)-2.532 F -.15(ve)-.15 G 2.532(,a).15 G .032
620(nd you enter white,)-2.532 F .46(nothing happens.)72 624 R .46
621(If it is white to mo)5.46 F .76 -.15(ve a)-.15 H .461
622(nd you enter black, then it becomes blacks turn to mo).15 F .761 -.15
623(ve i)-.15 H(mmedi-).15 E(ately from the same position.)72 636 Q
624(Used only infrequently)5 E(.)-.65 E 2.523(6. book)72 660 R .022
625(\(see the book e)2.523 F .022
626(xplanation near the end of this document for a full e)-.15 F .022
627(xplanation of this command and)-.15 F .53(its man)72 672 R 3.03(yo)-.15
628G 3.03(ptions.\) Note)-3.03 F .53(that there are special commands a)3.03
629F -.25(va)-.2 G .53(ilable \(*only* on the command line, *not* in).25 F
6301.004(the crafty)72 684 R 1.004(.rc/.craftyrc \214les\) to direct craft\
631y to speci\214c directories for the book \214les \(bookpath=/a/b/c\), t\
632he)-.65 F .808(tablebase \214les \(tbpath=/i/j/k\) and the log \214les \
633\(logpath=/x/y/z\).)72 696 R .808
634(Note that these commands can *only* be)5.808 F .376
635(used on the command line, because the)72 708 R 2.876(ym)-.15 G .376
636(ust be e)-2.876 F -.15(xe)-.15 G .376
637(cuted before the engine is initialized.).15 F .375(Putting them in)
6385.376 F(the crafty)72 720 Q
639(.rc/.craftyrc \214le will produce error messages without af)-.65 E
640(fecting ho)-.25 E 2.5(wt)-.25 G(he \214les are opened.)-2.5 E EP
641%%Page: 5 5
642%%BeginPageSetup
643BP
644%%EndPageSetup
645/F0 10/Times-Roman@0 SF 8.002(If you need to specify multiple directori\
646es \(tbpath only\) you may do so by using)72 96 R 1.431
647("tbpath=path1:path2:path3:etc" or else use the more Unix- lik)72 108 R
6483.931(e")-.1 G 1.431(tbpath=\(path1:path2:path3:etc\)" instead.)-3.931 F
6491.048(The paths are separated by ":" \(colon\) characters and e)72 120 R
650-.15(ve)-.25 G 1.048(rything is case-sensiti).15 F 1.348 -.15(ve a)-.25
651H 3.548(su).15 G 3.548(sual. F)-3.548 F 1.048(or dos/win-)-.15 F(do)72
652132 Q
653(ws users, the separator can be a semi-color \(;\) or a comma\(,\) to a)
654-.25 E -.2(vo)-.2 G(id the dri).2 E .3 -.15(ve d)-.25 H
655(esignation ambiguity).15 E(.)-.65 E 3.078(7. cache=N This)72 156 R .577
656(command is used to alter the cache size used for endg)3.078 F .577
657(ame database probes.)-.05 F 3.077(Nc)5.577 G .577(an be a)-3.077 F .395
658(simple inte)72 168 R(ger)-.15 E 2.895(,r)-.4 G .395(epresenting the nu\
659mber of bytes to use or it can be speci\214ed as nK or nM representing \
660n *)-2.895 F 1.315(1024 bytes or n * 1024 * 1024 bytes.)72 180 R 1.315
661(This should be in multiples of the database "chunk" size, which)6.315 F
662(might v)72 192 Q(ary)-.25 E 5(.U)-.65 G
663(sing the nM form guarantees that you will ha)-5 E .3 -.15(ve a r)-.2 H
664(easonable number).15 E(.)-.55 E 2.632(8. clock)72 216 R .133
665(<ctime> <otime>)2.633 F .133(This command is primarily intended for us\
666e when Crafty is playing in a tourna-)5.133 F .531
667(ment, such as the WMCCC or WCCC e)72 228 R -.15(ve)-.25 G 3.031
668(nts. If).15 F .531(the operator is some)3.031 F .531(what slo)-.25 F
6693.031(wi)-.25 G 3.031(ne)-3.031 G .531(ntering mo)-3.031 F -.15(ve)-.15
670G .531(s, or for).15 F(-)-.2 E .026
671(gets to stop the clock after making a mo)72 240 R .326 -.15(ve f)-.15 H
672.026(or Crafty).15 F 2.526(,t)-.65 G .026(he chess clock for the g)
673-2.526 F .027(ame will drift from the v)-.05 F(alues)-.25 E .426
674(that Crafty maintains internally)72 252 R 5.426(.<)-.65 G .425(ctime> \
675is the time \(in minutes or hh:mm format\) crafty has left until the)
676-5.426 F(ne)72 264 Q .421(xt time control, and <otime> is the opponent')
677-.15 F 2.922(sr)-.55 G .422(emaining clock time.)-2.922 F .422
678(This command can be used at an)5.422 F(y)-.15 E .287(time, b)72 276 R
679.287(ut will only af)-.2 F .287(fect the time per mo)-.25 F .586 -.15
680(ve *)-.15 H .286(after* crafty mak).15 F .286(es the current mo)-.1 F
681.586 -.15(ve a)-.15 H .286(nd starts to think about).15 F
682(what the opponent might do ne)72 288 Q(xt.)-.15 E 4.108
683(9. computer This)72 312 R 1.608
684(command usually comes from xboard/winboard, b)4.108 F 1.608
685(ut can be used at an)-.2 F 4.108(yt)-.15 G 1.609(ime to tell)-4.108 F
686.746(Crafty it is playing a computer)72 324 R 5.746(.T)-.55 G .746
687(his will pre)-5.746 F -.15(ve)-.25 G .746
688(nt some things from happening, such as a dra).15 F 3.246(ws)-.15 G .746
689(core that)-3.246 F -.25(va)72 336 S
690(ries, as well as adjusting the book selection code to be more selecti)
691.25 E .3 -.15(ve i)-.25 H 2.5(nw).15 G(hat it plays.)-2.5 E 3.031
692(10. display this)72 360 R .531(command is used to display the g)3.031 F
693.531(ame board.)-.05 F .531(This board is displayed using the ICS style)
6945.531 F .229(#1 type of ASCII display)72 372 R 2.729(,w)-.65 G .229
695(ith white al)-2.729 F -.1(wa)-.1 G .228
696(ys at the bottom of the screen, black at the top.).1 F -1.11(Ve)5.228 G
697.228(ry unusable to)1.11 F(play a g)72 384 Q(ame with, b)-.05 E
698(ut good to v)-.2 E(erify a position after it has been set up.)-.15 E
699.857(This command is also used to display the v)72 408 R .858
700(arious piece/square tables, by typing "display <piece>" where)-.25 F
701.07(<piece> is replaced by pa)72 420 R .07
702(wn, knight, bishop, rook, queen or king.)-.15 F .069
703(The board is oriented in the same w)5.069 F .069(ay as)-.1 F .508(the \
704display board with a one-to-one correspondence between the squares.)72
705432 R .508(Perhaps useful for curiosity)5.508 F 3.008(,b)-.65 G(ut)
706-3.208 E(not for an)72 444 Q(ything else.)-.15 E(These v)5 E
707(alues can not be modi\214ed by the user)-.25 E(.)-.55 E 1.022
708(The \214nal v)72 468 R 1.022(ersion of this command is used to control\
709 what kind of output you will see when crafty runs.)-.15 F
710(Currently the follo)72 480 Q(wing options are a)-.25 E -.25(va)-.2 G
711(ilable.).25 E 1.066(display time:)113 504 R 1.067(this will mak)6.066 F
7123.567(eC)-.1 G 1.067(rafty display the amount of time each side tak)
713-3.567 F 1.067(es after making a)-.1 F(mo)108 516 Q -.15(ve)-.15 G(.).15
714E 1.058(display changes:)113 540 R 1.058(this will mak)6.058 F 3.558(eC)
715-.1 G 1.058
716(rafty display the PV each time it changes during the search,)-3.558 F
717(including when a mo)108 552 Q .3 -.15(ve f)-.15 H
718(ails high or becomes a ne).05 E 2.5(wb)-.25 G(est mo)-2.5 E -.15(ve)
719-.15 G(.).15 E .148(display v)108 576 R 2.648(ariation: this)-.25 F .149
720(will mak)2.649 F 2.649(eC)-.1 G .149
721(rafty display the PV at the end of each iteration, b)-2.649 F .149
722(ut it will only)-.2 F(sho)108 588 Q 2.5(wt)-.25 G
723(he best PV for the entire iteration, not all of the changes.)-2.5 E
724(display stats:)108 612 Q(this enables basic search statistics output i\
725ncluding time, nodes and so forth.)5 E .82(display e)108 636 R 3.32
726(xtstats: this)-.15 F .819(enables e)3.319 F .819
727(xtended search stats including the hashing statistics, search e)-.15 F
728(xten-)-.15 E(sion statistics and so forth.)108 648 Q .268(display mo)
729108 672 R -.15(ve)-.15 G .268(num: causes all PV output to ha).15 F .569
730-.15(ve m)-.2 H .569 -.15(ove n).15 H .269
731(umbers embedded in them to mak).15 F 2.769(et)-.1 G .269(he PV)-2.769 F
732.383(possibly easier to read.)108 684 R .383
733(This causes the PV to look lik)5.383 F 2.883(et)-.1 G 2.883(his: 12.)
734-2.883 F .382(... Nx)2.882 F .382(e4 13. Bx)-.15 F .382
735(e4 h6 rather than)-.15 F .484(simply Nx)108 696 R .484(e4 Bx)-.15 F
736.484(e4 h6.)-.15 F .484(This is v)5.484 F .484
737(ery helpful when playing on a serv)-.15 F .485
738(er and whispering or kibitzing)-.15 F 3.643(analysis. It)108 708 R
7391.142(will also be useful when crafty is run from within a database pro\
740gram as the mo)3.643 F -.15(ve)-.15 G
741(numbers will sync up with the actual g)108 720 Q(ame.)-.05 E EP
742%%Page: 6 6
743%%BeginPageSetup
744BP
745%%EndPageSetup
746/F0 10/Times-Roman@0 SF .415(display mo)108 96 R -.15(ve)-.15 G 2.915
747(s: will).15 F .415(display each root mo)2.915 F .715 -.15(ve a)-.15 H
7482.915(si).15 G 2.915(ti)-2.915 G 2.915(ss)-2.915 G .415
749(earched, along with updating the search time)-2.915 F
750(at the bottom of the screen, so you can see what mo)108 108 Q .3 -.15
751(ve i)-.15 H 2.5(sc).15 G(urrently being analyzed.)-2.5 E 1.727
752(display general:)108 132 R 1.727
753(will display general information messages whene)6.727 F -.15(ve)-.25 G
7544.227(rC).15 G 1.726(rafty w)-4.227 F 1.726(ants to tell you)-.1 F
755(something \(ie "clearing hash tables" or other such things lik)108 144
756Q 2.5(e")-.1 G(Mate in n mo)-2.5 E -.15(ve)-.15 G(s.").15 E
757(If you put a "no" in front of an)72 168 Q 2.5(yo)-.15 G 2.5(ft)-2.5 G
758(hese options, that will disable that particular type of output.)-2.5 E
7592.818(11. dra)72 192 R 5.319(wo)-.15 G -.25(ff)-5.319 G .319
760(ers Crafty a dra).25 F 4.119 -.65(w. I)-.15 H 2.819(tg).65 G .319
761(enerally will look at the v)-2.819 F .319
762(alue returned by the last search, and compare)-.25 F .493
763(it with the v)72 204 R .493(alue returned by an internal function Dra)
764-.25 F 2.993(wScore\(\). If)-.15 F .493(the search v)2.993 F .492
765(alue is not abo)-.25 F .792 -.15(ve t)-.15 H .492(his result,).15 F
766.705(then Crafty will accept the dra)72 216 R 4.505 -.65(w. I)-.15 H
7673.205(ft).65 G .705(he search v)-3.205 F .705(alue is abo)-.25 F 1.005
768-.15(ve t)-.15 H .705(he theoretical v).15 F .706(alue for a dra)-.25 F
7692.006 -.65(w, C)-.15 H .706(rafty will).65 F .628(decline the dra)72 228
770R 4.428 -.65(w. N)-.15 H .628(ote that crafty will of).65 F .628
771(fer dra)-.25 F .628(ws based on internal analysis.)-.15 F .628
772(When it of)5.628 F .627(fers a dra)-.25 F 1.927 -.65(w, y)-.15 H(ou).65
773E(can respond with "dra)72 240 Q(w" although the g)-.15 E
774(ame does not really end until you e)-.05 E(xit Crafty)-.15 E(.)-.65 E
7752.977(12. dra)72 264 R .477(wscore N sets the dra)-.15 F 2.977(ws)-.15 G
776.477(core \(or contempt f)-2.977 F .477(actor\) to N.)-.1 F .477
777(If you w)5.477 F .477(ant crafty to a)-.1 F -.2(vo)-.2 G .477(id dra).2
778F .477(ws, set this)-.15 F .843(number to something that is ne)72 276 R
779-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G 5.843(.I).15 G 3.343(E-)-5.843 G
780.843(50 says that a repetition \(dra)-3.343 F .842
781(w\) is the same as being 1/2 pa)-.15 F(wn)-.15 E(do)72 288 Q 3.415
782(wn. Setting)-.25 F .915(it to +100 will mak)3.415 F 3.416(ei)-.1 G
7833.416(tt)-3.416 G .916(ry v)-3.416 F .916(ery hard to dra)-.15 F 3.416
784(wb)-.15 G .916(ecause that looks lik)-3.416 F 3.416(ei)-.1 G 3.416(ti)
785-3.416 G 3.416(sw)-3.416 G .916(inning a pa)-3.416 F(wn)-.15 E .395
786(when it does so.)72 300 R .394(Note that this is dangerous \(either w)
7875.394 F .394(ay\) as a -50 in a king and pa)-.1 F .394(wn ending is v)
788-.15 F .394(ery lik)-.15 F(ely)-.1 E(dead lost...)72 312 Q
789(and a repetition is better)5 E(.)-.55 E 2.703(13. echo)72 336 R(<te)
7902.703 E 2.703(xt> This)-.15 F .203(command is normally used inside a co\
791mmand \214le that you are going to use to "feed")2.703 F .328
792(crafty some positions for analysis or whate)72 348 R -.15(ve)-.25 G
7933.928 -.55(r. S).15 H .328
794(ince crafty depends on the operating system to echo com-).55 F .546
795(mands as the)72 360 R 3.046(ya)-.15 G .547
796(re typed, commands read in from a \214le are "in)-3.046 F 3.047
797(visible." This)-.4 F(gi)3.047 E -.15(ve)-.25 G 3.047(sy).15 G .547
798(ou the ability to insert)-3.047 F .264(commands into such a \214le so \
799that crafty displays a message on the screen to gi)72 372 R .563 -.15
800(ve y)-.25 H .263(ou an idea of where it is).15 F
801(in processing the \214le.)72 384 Q 3.888(14. edit This)72 408 R 1.389
802(command has been "cloned" from GnuChess to pro)3.888 F 1.389
803(vide an interf)-.15 F 1.389(ace with Xboard.)-.1 F(After)6.389 E .402
804(entering the "edit" command, you are in "edit.white" mode, where an)72
805420 R 2.902(yp)-.15 G .402(iece/square combination you enter)-2.902 F
8061.18(will add the indicated white piece on the gi)72 432 R -.15(ve)-.25
807G 3.681(ns).15 G 3.681(quare. Piece/squares)-3.681 F 1.181
808(are entered as "qa3", or "bc4" for)3.681 F -.15(ex)72 444 S 2.904
809(ample. This).15 F .404
810(puts a white queen on a3 and a white bishop on c4.)2.904 F .403
811(Once all white pieces are entered, typ-)5.403 F .306(ing a "c" changes\
812 to "edit.black" mode where piece/square combinations no)72 456 R 2.807
813(wp)-.25 G .307(lace black pieces.)-2.807 F -.8(Ty)5.307 G .307(ping a)
814.8 F("." character e)72 468 Q(xits edit mode.)-.15 E 1.6 -.8(To c)5 H
815(lear the board initially).8 E 2.5(,y)-.65 G(ou use the "#" character)
816-2.5 E(.)-.55 E(Here')72 492 Q 3.541(sas)-.55 G 1.041(ample to set up t\
817he original starting position, after white has played 1. e4, b)-3.541 F
8181.04(ut no other mo)-.2 F -.15(ve)-.15 G(s).15 E(ha)72 504 Q .3 -.15
819(ve b)-.2 H(een played.).15 E(edit)77 528 Q(#)77 540 Q
820(ra1 nb1 bc1 qd1 k)77 552 Q(e1 bf1 ng1 rh1)-.1 E
821(pa2 pb2 pc2 pd2 pe4 pf2 pg2 ph2)77 564 Q(c)77 576 Q(ra8 nb8 bc8 qd8 k)
82277 588 Q(e8 bf8 ng8 rh8)-.1 E(pa7 pb7 pc7 pd7 pe7 pf7 pg7 ph7)77 600 Q
823(.)77 612 Q .246(Note that input is free form, so piece/squares can be \
824entered one per line or all on one line.)72 636 R .247(Ditto for the #,)
8255.247 F .206(c, and . special characters.)72 648 R .206
826(Note also that there is no w)5.206 F .205
827(ay to enter castling status here.)-.1 F .205(It is f)5.205 F .205
828(ar better to use)-.1 F .785
829(the "setboard" command which uses a FEN-lik)72 660 R 3.286(es)-.1 G
830.786(yntax and allo)-3.286 F .786
831(ws you to set both castling and enpassant)-.25 F(status.)72 672 Q 3.774
832(15. e)72 696 R 3.774(gtb This)-.15 F 1.274(command enables the endg)
8333.774 F 1.274(ame databases.)-.05 F 1.274
834(Crafty will use the "tbpath" directory \(if pro-)6.274 F 1.123
835(vided\) to locate and re)72 708 R 1.124
836(gister all of the databases you ha)-.15 F 1.424 -.15(ve d)-.2 H -.25
837(ow).15 G 3.624(nloaded. It).25 F 1.124(will report the lar)3.624 F
8381.124(gest class it)-.18 F 1.301
839(found, as in "5 piece tablebase \214les found" if you do)72 720 R 1.3
840(wnloaded at least one 5-piece \214le.)-.25 F 1.3(If you use this)6.3 F
841EP
842%%Page: 7 7
843%%BeginPageSetup
844BP
845%%EndPageSetup
846/F0 10/Times-Roman@0 SF 1.233(command to enable databases, you should a\
847lso consider using the "cache" command to specify the e)72 96 R(gtb)-.15
848E(cache size.)72 108 Q 2.645(16. end|quit These)72 132 R .144
849(commands are used to terminate crafty)2.644 F 5.144(.N)-.65 G .144
850(ote that you can resume a g)-5.144 F .144(ame later without)-.05 F(ha)
85172 144 Q .748(ving to replay the mo)-.2 F -.15(ve)-.15 G .748
852(s, by starting Crafty using the "crafty c" command.).15 F .749
853(It will immediately read in)5.748 F .185(the mo)72 156 R -.15(ve)-.15 G
8542.685(sf).15 G .185(or the last g)-2.685 F .184
855(ame, although you will ha)-.05 F .484 -.15(ve t)-.2 H 2.684(os).15 G
856.184(et the time controls and clock time remaining your)-2.684 F(-)-.2 E
857(self.)72 168 Q 2.5(17. e)72 192 R -.25(va)-.25 G(luation option <v).25
858E 2.5(alue> This)-.25 F(command is used to modify the e)2.5 E -.25(va)
859-.25 G(luation scores.).25 E .69(The option "asymmetry" is used to mak)
86072 216 R 3.191(ec)-.1 G .691(rafty e)-3.191 F -.25(va)-.25 G .691
861(luate king safety dif).25 F .691(ferently for each side.)-.25 F("e)
8625.691 E -.25(va)-.25 G(luation).25 E .18(asymmetry 25" will increase th\
863e king safety scores for the opponent only)72 228 R 2.68(,m)-.65 G .18
864(eaning it will pay less attention)-2.68 F .762(to its o)72 240 R .763
865(wn king safety than to that of its opponent.)-.25 F .763(This will mak)
8665.763 F 3.263(ei)-.1 G 3.263(tp)-3.263 G .763(lay more aggressi)-3.263 F
867-.15(ve)-.25 G(ly).15 E 5.763(.")-.65 G -.25(eva)-5.763 G(luation).25 E
868.306(asymmetry -25" will reduce the king safety scores for for the oppo\
869nent by 25%, making it care more about)72 252 R(its o)72 264 Q
870(wn king safety than that of its opponent.)-.25 E(This will mak)5 E 2.5
871(ei)-.1 G 2.5(tp)-2.5 G(lay more defensi)-2.5 E -.15(ve)-.25 G(ly).15 E
872(.)-.65 E .117(The "bscale" option will adjust the scores for block)72
873288 R .118(ed pa)-.1 F 2.618(wns. The)-.15 F(def)2.618 E .118(ault v)-.1
874F .118(alue is 100.)-.25 F .118(Increasing this will)5.118 F 1.006
875(tend to mak)72 300 R 3.506(eC)-.1 G 1.006(rafty dislik)-3.506 F 3.506
876(eb)-.1 G(lock)-3.506 E 1.006(ed pa)-.1 F 1.005
877(wn positions more, which will lead to more open positions.)-.15 F(Note)
8786.005 E 1.271(that this only af)72 312 R 1.272(fects mo)-.25 F -.15(ve)
879-.15 G 3.772(s_).15 G 1.272(after_ the opening book has been follo)
880-3.772 F 1.272(wed, which means that the position)-.25 F(might be block)
88172 324 Q(ed before the e)-.1 E -.25(va)-.25 G
882(luation term has a chance to af).25 E(fect the g)-.25 E(ame.)-.05 E .73
883(The "kscale" option will adjust all king safety scores based on the ')
88472 348 R -.25(va)-.5 G .729(lue' entered.).25 F -.15(Fo)5.729 G 3.229
885(re).15 G .729(xample, "e)-3.379 F -.25(va)-.25 G(lua-).25 E .063(tion \
886kscale 50" will reduce all king safety scores to 50% of their normal v)
88772 360 R 2.563(alue. "e)-.25 F -.25(va)-.25 G .063
888(luation kscale 133" will).25 F
889(increase all king safety scores to 133% of their normal v)72 372 Q
890(alues.)-.25 E .095
891(The option "tropism" is used to scale king tropism scores.)72 396 R
892.094(This will attract pieces to)5.094 F -.1(wa)-.25 G .094(rd kings.).1
893F 2.594(Av)5.094 G .094(alue of)-2.844 F .535(100 means no change.)72
894408 R .535(other v)5.535 F .535(alues are treated as a percentage \(lik)
895-.25 F 3.036(es)-.1 G .536(cale\) to increase \(> 100\) or decrease)
896-3.036 F(\(<100\) the king tropism scores.)72 420 Q
897(When you use this command, you will see something lik)72 444 Q 2.5(et)
898-.1 G(his:)-2.5 E(modi\214ed king-safety v)72 468 Q(alues:)-.25 E 5
899(white: 0 4)72 480 R 2.5(16 26 39 45 58 77 87 90 93 96)5 F
900(100 103 106 109)2.5 E
901(112 116 119 122 125 128 128 128 128 128 128 128 128 128 128 128)89.5
902492 Q 5(black: 0 5)72 516 R 2.5(20 32 48 56 72 96)5 F
903(108 112 116 120 124 128 132 136)2.5 E
904(140 144 148 152 156 160 160 160 160 160 160 160 160 160 160 160)89.5
905528 Q .477(Those v)72 552 R .477(alues represent the king-safety e)-.25
906F -.25(va)-.25 G .476(luation as the king gets more and more e).25 F
9072.976(xposed. This)-.15 F .476(is al)2.976 F -.1(wa)-.1 G(ys).1 E .303
908(based on the f)72 564 R .304(ast that "crafty" will be the side on mo)
909-.1 F .604 -.15(ve w)-.15 H .304(hen the search starts.).15 F .304
910(In the abo)5.304 F -.15(ve)-.15 G 2.804(,i).15 G 2.804(tw)-2.804 G .304
911(as white')-2.904 F(s)-.55 E(mo)72 576 Q 1.196 -.15(ve w)-.15 H .896
912(hen this w).15 F .896
913(as typed, meaning that it appears that crafty will be playing black.)
914-.1 F .895(Notice that white')5.896 F(s)-.55 E .725
915(king safety numbers are scaled by 20% to mak)72 588 R 3.225(ei)-.1 G
9163.225(ts)-3.225 G .725(lightly more cautious about its o)-3.225 F .726
917(wn king.)-.25 F .726(If you type)5.726 F .789
918("go" in this position, the scores get re)72 600 R -.15(ve)-.25 G .788
919(rsed as Crafty').15 F 3.288(ss)-.55 G .788(cores are al)-3.288 F -.1
920(wa)-.1 G .788(ys left alone \(with the asymmetry).1 F
921(option\) and the opponent')72 612 Q 2.5(ss)-.55 G(cores are scaled do)
922-2.5 E(wn as indicated.)-.25 E -1.1(Yo)72 636 S 3.434(uw)1.1 G .934
923(ill see similar numbers \(b)-3.434 F .934(ut not black and white sets\
924\) that represent the actual scores produced for)-.2 F .72
925(king tropism.)72 648 R .72
926(Note that pieces interact to choose which element of this v)5.72 F .72
927(ector is used, b)-.15 F .72(ut in general, the)-.2 F
928(more pieces are close to the king, the lar)72 660 Q
929(ger the element from this array)-.18 E(.)-.65 E 1.064
930(The "pscale" option is used to scale normal pa)72 684 R 1.065
931(wn structure scoring in the same w)-.15 F 1.065
932(ay as the other scaling)-.1 F 2.5(options. 100)72 696 R(is the def)2.5
933E 2.5(ault. V)-.1 F(alues less than 100 reduce this term, v)-1.11 E
934(alues o)-.25 E -.15(ve)-.15 G 2.5(r1).15 G(00 in\215ate it.)-2.5 E
9351.651(The "ppscale" option is used to scale some passed pa)72 720 R 1.65
936(wn scoring in the same w)-.15 F 1.65(ay as the other scaling)-.1 F EP
937%%Page: 8 8
938%%BeginPageSetup
939BP
940%%EndPageSetup
941/F0 10/Times-Roman@0 SF 3.127(options. 100)72 96 R .627(is the def)3.127
942F 3.127(ault. V)-.1 F .627(alues less than 100 reduce this term, v)-1.11
943F .627(alues o)-.25 F -.15(ve)-.15 G 3.127(r1).15 G .628
944(00 in\215ate it.)-3.127 F .628(This mainly)5.628 F(ef)72 108 Q .932
945(fects outside passed pa)-.25 F .932(wns/protected passed pa)-.15 F
9463.432(wns. The)-.15 F .931(normal pa)3.431 F .931
947(wn scoring computes the v)-.15 F .931(alue of a)-.25 F .711(passed pa)
94872 120 R 3.211(wn. This)-.15 F .711
949(term is then used to scale those terms that modify this v)3.211 F .711
950(alue further)-.25 F 3.211(,s)-.4 G .711(uch as tw)-3.211 F 3.212(oc)-.1
951G(on-)-3.212 E(nected passed pa)72 132 Q(wns on the 6th, or a passed pa)
952-.15 E(wn with the king supporting it in an endg)-.15 E(ame.)-.05 E 2.5
953(18. e)72 156 R(xtensions type v)-.15 E(alue)-.25 E 1.152
954(This command is used to control the e)72 180 R 1.152
955(xtension depth for the v)-.15 F 1.152(arious e)-.25 F 1.152
956(xtensions done in Crafty')-.15 F 3.651(ss)-.55 G(earch.)-3.651 E .206
957(The e)72 192 R .207(xtensions are set as decimel numbers that represen\
958t plies \(or fractions of plies\) to e)-.15 F .207(xtend for each par)
959-.15 F(-)-.2 E .933(ticular reason.)72 204 R .933(Most def)5.933 F .933
960(ault to 1.0 and .75, b)-.1 F .933(ut an)-.2 F 3.433(yv)-.15 G .932
961(alue can be used.)-3.683 F .932(Note that v)5.932 F .932
962(alue > 1.0 are _v)-.25 F(ery_)-.15 E .062(dangerous as the)72 216 R
9632.562(yc)-.15 G .062(an cause the search to become non-terminating \(cr\
964afty will stop when it runs out of time)-2.562 F(for the mo)72 228 Q
965-.15(ve)-.15 G 2.5(,b).15 G(ut it might not be able to get an)-2.7 E
966(ything useful from such a search\).)-.15 E .585(These e)72 252 R .585
967(xtensions are presently limited to a maximum of one ply of e)-.15 F
968.585(xtensions at an)-.15 F 3.084(yp)-.15 G .584(oint in the tree.)
969-3.084 F(IE)5.584 E(no matter what you set these v)72 264 Q
970(alues to, the)-.25 E 2.5(yc)-.15 G(an not e)-2.5 E
971(xceed one ply at present.)-.15 E 3.518(incheck This)72 288 R 1.019
972(is the amount to e)3.519 F 1.019(xtend when the side on mo)-.15 F 1.319
973-.15(ve m)-.15 H(ak).15 E 1.019(es a mo)-.1 F 1.319 -.15(ve t)-.15 H
9741.019(hat lea).15 F -.15(ve)-.2 G 3.519(st).15 G 1.019(he opponent in)
975-3.519 F 2.883(check. Note)72 300 R .383(that Crafty e)2.883 F .383
976(xtends on the ply where the check is played, not on the ne)-.15 F .383
977(xt ply where the oppo-)-.15 F(site side is in check.)72 312 Q 3.179
978(onerep This)72 336 R .679(is the one-reply-to-check e)3.179 F .68
979(xtensions, and is done at the point where one side is in check and)-.15
980F(has e)72 348 Q(xactly one le)-.15 E -.05(ga)-.15 G 2.5(lm).05 G .3
981-.15(ove t)-2.5 H 2.5(oe).15 G(scape from the check.)-2.5 E 2.5
982(pushpp This)72 372 R(is the e)2.5 E
983(xtension used for certain passed pa)-.15 E(wn pushes in the endg)-.15 E
984(ame.)-.05 E 2.744(recapture This)72 396 R .244(is the recapture e)2.744
985F .243(xtension, and is applied when the current mo)-.15 F .543 -.15
986(ve r)-.15 H .243(ecaptures an equal-v).15 F(alued)-.25 E .829
987(piece that made a capture at the pre)72 408 R .829(vious ply)-.25 F
9885.829(.I)-.65 G 3.329(EB)-5.829 G .829(xN, PxB.)-3.329 F .829
989(Note that this can only be applied once for)5.829 F -2.15 -.25(ev e)72
990420 T(ry tw).25 E 2.5(op)-.1 G(lies so that BxN, BxB, NxB, NxN w)-2.5 E
991(on')-.1 E 2.5(tl)-.18 G(ook lik)-2.5 E 2.5(et)-.1 G(hree recaptures.)
992-2.5 E 3.351(mate This)72 444 R .851(is the mate threat e)3.351 F .851
993(xtensions and is applied when a null mo)-.15 F 1.15 -.15(ve s)-.15 H
994.85(earch returns -MA).15 F .85(TED, which)-1.11 F .241
995(means that doing nothing gets the side on mo)72 456 R .542 -.15(ve m)
996-.15 H 2.742(ated. The).15 F .242(opponent must ha)2.742 F .542 -.15
997(ve s)-.2 H .242(ome sort of serious mate).15 F
998(threat in such a position.)72 468 Q 3.199(19. \215ag)72 492 R(on|of)
9993.199 E 5.699(fT)-.25 G .699
1000(his command is used to force crafty to end a g)-5.699 F .699
1001(ame where the opponent runs out of time)-.05 F
1002(with winboard/xboard \(on\) or to ignore this \(of)72 504 Q
1003(f\) if desired.)-.25 E 2.91(20. force)72 528 R([mo)2.91 E -.15(ve)-.15
1004G 5.41(]T).15 G .41(his command is used to force Crafty to play a mo)
1005-5.41 F .711 -.15(ve t)-.15 H .411(hat is dif).15 F .411
1006(ferent from the one cho-)-.25 F .087
1007(sen and played by the tree search.)72 540 R .087(If [mo)5.087 F -.15
1008(ve)-.15 G 2.587(]i).15 G 2.587(sg)-2.587 G -2.15 -.25(iv e)-2.587 H
1009.087(n, and it is a le).25 F -.05(ga)-.15 G 2.587(lm).05 G -.15(ove)
1010-2.587 G 2.587(,C).15 G .086(rafty will retract its last mo)-2.587 F
1011-.15(ve)-.15 G .521(and mak)72 552 R 3.021(et)-.1 G .521(his mo)-3.021 F
1012.821 -.15(ve i)-.15 H 3.021(nstead. It).15 F .521
1013(does not change the side on mo)3.021 F -.15(ve)-.15 G 3.021(,b).15 G
1014.521(ut does change the position of course.)-3.221 F(If [mo)72 564 Q
1015-.15(ve)-.15 G 2.5(]i).15 G 2.5(sn)-2.5 G(ot gi)-2.5 E -.15(ve)-.25 G
1016(n, Crafty will prompt you for a mo).15 E .3 -.15(ve t)-.15 H 2.5(om).15
1017G(ak)-2.5 E(e.)-.1 E 3.487(21. help This)72 588 R .987(command displays\
1018 multiple pages of one-line help, one command per line.)3.487 F .986
1019(If a line ends)5.986 F(with [help], then you can use help follo)72 600
1020Q(wed by the speci\214c command to get detailed help.)-.25 E 3.055
1021(22. history This)72 624 R .555(command displays the history in a v)
10223.055 F .555(ertical column with one mo)-.15 F .855 -.15(ve f)-.15 H
1023.555(or white and one per).15 F .561(black per line.)72 636 R .561
1024(There are other w)5.561 F .561(ays to display the current g)-.1 F .56
1025(ame mo)-.05 F -.15(ve)-.15 G 3.06(sa).15 G .56(nd also to sa)-3.06 F
1026.86 -.15(ve t)-.2 H .56(hem in \214les that).15 F(are e)72 648 Q
1027(xplained later)-.15 E(.)-.55 E 3.428(23. hash=x)72 672 R .928
1028(and hashp=x)3.428 F .928(These commands are used to adjust the size of\
1029 the hash tables in Crafty)5.928 F 5.929(.h)-.65 G(ash)-5.929 E 1.591(m\
1030odi\214es the size of the transposition/refutation table, while hashp m\
1031odi\214es the size of the pa)72 684 R 1.59(wn struc-)-.15 F .92
1032(ture/king safety hash table.)72 696 R .92
1033(The sizes may be entered as one of the follo)5.92 F .92(wing tw)-.25 F
10343.42(ot)-.1 G .92(ypes of v)-3.42 F .92(alues: nnnK)-.25 F .053
1035(where nnn is an inte)72 708 R .052(ger indicating ho)-.15 F 2.552(wm)
1036-.25 G(an)-2.552 E 2.552(yK)-.15 G .052
1037(bytes Crafty should use for this hash table; nnnM where nnn)-2.552 F
1038(is an inte)72 720 Q(ger indicating ho)-.15 E 2.5(wm)-.25 G(an)-2.5 E
10392.5(yM)-.15 G(bytes Crafty should use.)-2.5 E EP
1040%%Page: 9 9
1041%%BeginPageSetup
1042BP
1043%%EndPageSetup
1044/F0 10/Times-Roman@0 SF 1.511
1045(The transposition/Refutation table is the most critical of the tw)72 96
1046R 1.512(o, because it directly af)-.1 F 1.512(fects search ef)-.25 F
1047<8c2d>-.25 E(cienc)72 108 Q 1.689 -.65(y, p)-.15 H .389
1048(articularly in the endg).65 F 2.889(ame. F)-.05 F .389
1049(or this reason this should be maximized.)-.15 F .388(The most ef)5.389
1050F(fecti)-.25 E .688 -.15(ve s)-.25 H .388(ize for).15 F .043
1051(this hash table is 3/4 of your a)72 120 R -.25(va)-.2 G .044
1052(ilable memory).25 F 5.044(.I)-.65 G 2.544(fy)-5.044 G .044(ou don')
1053-2.544 F 2.544(tk)-.18 G(no)-2.544 E 2.544(wh)-.25 G .544 -.25(ow t)
1054-2.544 H 2.544<6f8c>.25 G .044(gure this out, b)-2.544 F .044(ut kno)-.2
1055F 2.544(wt)-.25 G .044(hat you)-2.544 F(ha)72 132 Q .884 -.15(ve 1)-.2 H
10563.084(6m).15 G -.15(eg)-3.084 G 3.084(sf).15 G .583(or e)-3.084 F .583
1057(xample, the)-.15 F 3.083(yy)-.15 G .583
1058(ou can say hash=16M and crafty will round that do)-3.083 F .583
1059(wn to 12M, which is)-.25 F .108(3/4 of a po)72 144 R .108(wer of tw)
1060-.25 F 2.608(os)-.1 G 2.608(ize. If)-2.608 F .108(you study the sizes t\
1061hat are possible, you will \214nd 3M, 6M, 12M, 24M, 48M,)2.608 F .423
1062(and so forth.)72 156 R(An)5.423 E .423(ything up to, b)-.15 F .423
1063(ut not including, the ne)-.2 F .423(xt size will be rounded do)-.15 F
1064.423(wn to the ne)-.25 F .423(xt lo)-.15 F .423(wer size.)-.25 F .298
1065(hashp should be set to approximately 1/2 of what is left.)72 168 R -.15
1066(Fo)5.298 G 2.799(re).15 G .299
1067(xample, the P6 Crafty runs on when playing)-2.949 F .071
1068(on ICC often uses hash=48M and hashp=8M.)72 180 R .071
1069(The only thing to w)5.071 F .07(atch for is that if you mak)-.1 F 2.57
1070(et)-.1 G .07(his too lar)-2.57 F(ge,)-.18 E .029
1071(particularly under windo)72 192 R .029(ws, performance will suf)-.25 F
1072.029(fer badly because of paging I/O o)-.25 F -.15(ve)-.15 G 2.53
1073(rhead. When).15 F .03(Crafty is)2.53 F .473
1074(searching in a normal \(non-book, non-endg)72 204 R .473
1075(ame database\) position, the disk light should *not* be on, indi-)-.05
1076F(cating lots of I/O.)72 216 Q .493
1077(There is no danger in making this table too lar)72 240 R .493
1078(ge, although you ha)-.18 F .793 -.15(ve t)-.2 H 2.993(ow).15 G .494
1079(atch out because if Crafty barely)-3.093 F .029(\214ts in memory)72 252
1080R 2.529(,d)-.65 G .028
1081(oing something else on the machine can cause Crafty to be sw)-2.529 F
1082.028(apped out completely or par)-.1 F(-)-.2 E(tially)72 264 Q 3.106(,d)
1083-.65 G .606(epending on the operating system you are using.)-3.106 F
1084.606(If you are going to use the machine for an)5.606 F(ything)-.15 E
1085.069(else while Crafty is running, it is better to "pretend" that the m\
1086achine only has 1/2 of the memory it actually)72 276 R
1087(does when computing the size of the hash tables you w)72 288 Q
1088(ant to use.)-.1 E 3.207(24. import)72 312 R .707(<\214lename> [clear])
10893.207 F .708(This command is used to import an)5.707 F 3.208(ys)-.15 G
1090.708(ort of learning data that Crafty sup-)-3.208 F 1.397(ports, which \
1091currently includes book learning data and position learning data.)72 324
1092R 1.397(This command reads the)6.397 F .899(appropriate <\214lename> an\
1093d imports that learned data, just as though Crafty had learned it by pl\
1094aying the)72 336 R -.05(ga)72 348 S 2.709(mes. The).05 F .209([clear] o\
1095ption, if speci\214ed, caused all old learned results to be cleared bef\
1096ore the import opera-)2.709 F(tion, otherwise the imported data is simp\
1097ly added to what is already present.)72 360 Q 2.821(25. input)72 384 R
10982.821(<\214lename> This)2.821 F .321
1099(command is used to redirect the console input I/O stream from the k)
11002.821 F -.15(ey)-.1 G .322(board to).15 F 2.831<618c>72 396 S 2.831
1101(le. Crafty)-2.831 F .331
1102(will then read commands from this \214le, rather than from the k)2.831
1103F -.15(ey)-.1 G .33(board, and e).15 F -.15(xe)-.15 G .33
1104(cute them just).15 F 1.667(as though the)72 408 R 4.167(yw)-.15 G 1.667
1105(ere typed in.)-4.167 F 1.668
1106(Such a command \214le *must* be terminated by an "e)6.667 F 1.668
1107(xit" command \(no)-.15 F .906
1108(quotes\) as the last command in the \214le.)72 420 R .906(This re)5.906
1109F -.15(ve)-.25 G .906(rts the input stream back to the k).15 F -.15(ey)
1110-.1 G .906(board, and prompts).15 F(you for another command or mo)72 432
1111Q -.15(ve)-.15 G(.).15 E .186(This command might be used to con\214gure\
1112 crafty for a speci\214c time control, by putting the appropriate time)
111372 456 R(control commands in the \214le, or to customize the hash table\
1114 sizes as needed.)72 468 Q 2.95(26. info This)72 492 R .449
1115(command is used to display information about Crafty and the current g)
11162.95 F 2.949(ame. Such)-.05 F .449(things as)2.949 F(the time control, \
1117the time left on the clocks and other information is sho)72 504 Q(wn.)
1118-.25 E 3.457(27. learn)72 528 R 3.457(nc)3.457 G .958
1119(ontrols the learning f)-3.457 F .958(acilities in crafty)-.1 F 5.958
1120(.C)-.65 G .958(urrently this is a 3-bit boolean switch,)-5.958 F .958
1121(bit 1 \(001\))5.958 F 1.913(controls book learning, bit 2 \(010\) cont\
1122rols position learning, and bit 3 \(100\) controls result learning.)72
1123540 R 1.008
1124(learn=0 disables all learning, learn=1 enables book learning only)72
1125552 R 3.509(,l)-.65 G 1.009(earn=2 enables position learning only)-3.509
1126F(,)-.65 E 1.325(and learn=4 enables result learning.)72 564 R 1.325
1127(Add the v)6.325 F 1.325
1128(alues together to turn on more than one type of learning)-.25 F(\(def)
112972 576 Q(ault=7 to enable e)-.1 E -.15(ve)-.25 G(rything\).).15 E 2.891
1130(28. le)72 600 R -.15(ve)-.25 G 2.891(l<).15 G .391(m> <t> <inc>)-2.891
1131F .391(This command w)5.391 F .391(as tak)-.1 F .392
1132(en directly from GnuChess so that the Xboard/W)-.1 F(inBoard)-.4 E
1133(interf)72 612 Q 1.405(ace w)-.1 F 1.405(ould interf)-.1 F 1.405
1134(ace with Crafty)-.1 F 6.405(.T)-.65 G 1.405(here are other better w)
1135-6.405 F 1.404(ays to set the time, b)-.1 F 1.404(ut this one is well-)
1136-.2 F(kno)72 624 Q 2.707(wn. The)-.25 F .207
1137(three parameters are <m> \(number of mo)2.707 F -.15(ve)-.15 G 2.707
1138(si).15 G 2.707(nt)-2.707 G .207(he g)-2.707 F 2.707(ame\) <t>)-.05 F
1139.208(initial time on the clock.)2.707 F(After)5.208 E .79(<m> mo)72 636
1140R -.15(ve)-.15 G 3.29(sa).15 G .79
1141(re made, this amount of time is added to the clock ag)-3.29 F 3.289
1142(ain. <inc>)-.05 F .789(is the Fischer)3.289 F .789(-Clock incre-)-.2 F
1143(ment that is added back to each clock after a mo)72 648 Q .3 -.15(ve i)
1144-.15 H 2.5(sm).15 G 2.5(ade. It)-2.5 F
1145(may be zero for a non-increment g)2.5 E(ame.)-.05 E(Examples:)72 672 Q
1146(le)72 696 Q -.15(ve)-.25 G 22.5 2.5(l050 \().15 H(ICS 5 0 g)-2.5 E
1147(ame\))-.05 E(le)72 708 Q -.15(ve)-.25 G 22.5 2.5(l053 \().15 H
1148(ICS 5 3 g)-2.5 E(ame\))-.05 E(le)72 720 Q -.15(ve)-.25 G 2.5(l01).15 G
11492.5(53)-2.5 G 25(0\()-2.5 G(ICS 15 30 g)-25 E(ame\))-.05 E EP
1150%%Page: 10 10
1151%%BeginPageSetup
1152BP
1153%%EndPageSetup
1154/F0 10/Times-Roman@0 SF 2.824(29. list)72 96 R 2.824(GM|IM|C|AK|S +name)
11552.824 F .324([+name ...] -name [-name ...])2.824 F .325
1156(This command is used to maintain the inter)5.324 F(-)-.2 E .199(nal "l\
1157ists" Crafty uses to auto-tune itself when playing on a chess serv)72
1158108 R(er)-.15 E 5.199(.T)-.55 G .199(here are three lists, GM, IM and)
1159-5.199 F 3.965(C. If)72 120 R(Crafty')3.965 E 3.965(so)-.55 G 1.465
1160(pponent is in an)-3.965 F 3.965(yo)-.15 G 3.965(ft)-3.965 G 1.465
1161(hese lists, Crafty adjusts internal controls that af)-3.965 F 1.466
1162(fect ho)-.25 F 1.466(w/when it)-.25 F 1.422(resigns or of)72 132 R
11631.422(fers dra)-.25 F 1.422(ws, and ho)-.15 F 3.922(wr)-.25 G 1.422
1164(andomly it will choose mo)-3.922 F -.15(ve)-.15 G 3.922(sf).15 G 1.422
1165(rom the opening book.)-3.922 F -.15(Fo)6.421 G 3.921(re).15 G(xample,)
1166-4.071 E 1.411(Crafty resigns much sooner ag)72 144 R 1.412
1167(ainst a GM, because it assumes he kno)-.05 F 1.412(ws ho)-.25 F 3.912
1168(wt)-.25 G 3.912(ow)-3.912 G 1.412(in a rook-up ending,)-3.912 F(re)72
1169156 Q -.05(ga)-.15 G 1.694(rdless of ho).05 F 4.193(wm)-.25 G 1.693
1170(uch time is left.)-4.193 F 1.693(By the same tok)6.693 F 1.693
1171(en, when playing ag)-.1 F 1.693(ainst computers, Crafty will)-.05 F(al)
117272 168 Q -.1(wa)-.1 G .097(ys assume that a dra).1 F 2.597(wi)-.15 G
11732.597(s0)-2.597 G .097(.000, so that it doesn')-2.597 F 2.597(tw)-.18 G
1174.098(reck its position trying to a)-2.597 F -.2(vo)-.2 G .098
1175(id repeating a position.).2 F .322
1176(The AK list will automatically kibitz scores/PV')72 192 R 2.822(si)-.55
1177G 2.822(ft)-2.822 G .321(he opponent is in this list.)-2.822 F .321
1178(The S list will turn on spe-)5.321 F
1179(cial scoring for opponents in this list.)72 204 Q
1180(The only current member is "mercilous".)5 E .209(The syntax +name1 +na\
1181me2 simply adds these players to the speci\214ed list.)72 228 R 1.809
1182-.8(To r)5.209 H(emo).8 E .509 -.15(ve a n)-.15 H .209(ame, use -name1)
1183.15 F 3.078(-name2. Y)72 240 R .578
1184(ou can use one command per name to remo)-1.1 F .878 -.15(ve o)-.15 H
11853.077(ra).15 G .577(dd, or you can use one command to add and)-3.077 F
1186(remo)72 252 Q .708 -.15(ve m)-.15 H .408(ultiple names.).15 F .409
1187(Note that all names must be entered in lo)5.408 F .409
1188(wercase characters, using an)-.25 F 2.909(yu)-.15 G(ppercase)-2.909 E
1189(characters will break the matching algorithm.)72 264 Q 2.741(30. log)72
1190288 R(of)2.741 E 2.741(f|on|<n> This)-.25 F .241
1191(command is used to disable logging.)2.741 F .24(The def)5.241 F .24
1192(ault is log on, which causes crafty to)-.1 F .341(produce a ne)72 300 R
11932.841(wl)-.25 G .341(og.nnn \214le for each g)-2.841 F .341(ame played.)
1194-.05 F .342(If you are running Crafty on a serv)5.341 F(er)-.15 E 2.842
1195(,y)-.4 G .342(ou might use log)-2.842 F(of)72 312 Q .911
1196(f, which disables creating these \214les as well as the g)-.25 F .91
1197(ame.nnn \214les used to restart a g)-.05 F .91(ame after you e)-.05 F
1198(xit)-.15 E .252(crafty and come back later)72 324 R 5.252(.I)-.55 G
11992.752(fy)-5.252 G .253(ou use the form "log n" crafty will simply displ\
1200ay the last n lines of the log)-2.752 F .035(on the screen.)72 336 R
1201.035(If you use "log n \214le" crafty will cop)5.035 F 2.535(yt)-.1 G
1202.034(he last n lines of the log to "\214le" which could be your)-2.535 F
1203(hard dri)72 348 Q -.15(ve)-.25 G 2.5(,o).15 G 2.5(ra\215)-2.5 G(opp)
1204-2.5 E -.65(y.)-.1 G .325(Note that if you run with log of)72 372 R .325
1205(f, you will be unable to \214nd out what Crafty w)-.25 F .326
1206(as thinking about since there)-.1 F .567(is no other record of the g)72
1207384 R 3.067(ame. Y)-.05 F .567(ou will al)-1.1 F -.1(wa)-.1 G .566
1208(ys see a g).1 F .566(ame.001 because as crafty plays a g)-.05 F .566
1209(ame, this con-)-.05 F .127(tains all the real mo)72 396 R -.15(ve)-.15
1210G 2.628(sp).15 G .128(layed so f)-2.628 F .128
1211(ar so that you can back up if needed.)-.1 F .128
1212(you will also see a log.001 \214le, b)5.128 F(ut)-.2 E
1213(it will be empty)72 408 Q(.)-.65 E 3.067(31. ls)72 432 R .567(<\214len\
1214ame> will list all the \214les that match the \214lename wildcard \(the\
1215 wildcards depend on the sys-)3.067 F .061(tem you are using, b)72 444 R
1216.061(ut generally *, ? will w)-.2 F .061(ork \214ne.)-.1 F .062
1217(you can also supply path information in the \214lename if)5.062 F .241
1218(you w)72 456 R .241(ant to list the contents of a dif)-.1 F .241
1219(ferent directory)-.25 F 5.241(.J)-.65 G .241
1220(ust use the same syntax you w)-5.241 F .241(ould if you were using)-.1
1221F("ls" under unix or "dir" under windo)72 468 Q(ws.)-.25 E 4.373
1222(32. mode)72 492 R 4.374(tournament|normal This)4.373 F 1.874
1223(command is primarily used to put Crafty into "tournament" mode,)4.374 F
1224.085
1225(which is intended for use when Crafty is playing in computer chess e)72
1226504 R -.15(ve)-.25 G 2.584(nts. It).15 F .084(accomplishes tw)2.584 F
12272.584(ot)-.1 G 2.584(hings: \(1\))-2.584 F(mak)72 516 Q .261(es all dra)
1228-.1 F .261(ws return a score of 0.000, and \(2\) mak)-.15 F .261
1229(es crafty issue a message after each mo)-.1 F .561 -.15(ve s)-.15 H(ho)
1230.15 E .262(wing the)-.25 F 1.026(internal chess clock time, and request\
1231ing that that operator check and adjust as needed using the "clock")72
1232528 R 3.415(command. This)72 540 R .915(primarily mak)3.415 F .915
1233(es Crafty comply with computer chess rules that say the operator can')
1234-.1 F 3.416(td)-.18 G(o)-3.416 E(an)72 552 Q
1235(ything not speci\214cally requested by the program.)-.15 E 4.769
1236(33. name)72 576 R 4.769(<name> This)4.769 F 2.268
1237(command is an ICS-play speci\214c command.)4.769 F(Xboard/W)7.268 E
12382.268(inBoard uses this to)-.4 F .676(inform Crafty of the opponent')72
1239588 R 3.176(sn)-.55 G 3.176(ame. Crafty)-3.176 F .676
1240(uses the name, and looks it up in its GM/IM/C lists, and if)3.176 F
12411.369(found, adjusts itself accordingly)72 600 R 6.369(.T)-.65 G 1.368
1242(his is not used by the PGN code and this will not cause the players)
1243-6.369 F(<name> to sho)72 612 Q 2.5(wu)-.25 G 2.5(pi)-2.5 G 2.5(nt)-2.5
1244G(he PGN tag section.)-2.5 E 3.207(34. ne)72 636 R 5.707(wT)-.25 G .707
1245(his command wipes e)-5.707 F -.15(ve)-.25 G .707
1246(rything out and starts a brand ne).15 F 3.207(wg)-.25 G 3.207(ame. It)
1247-3.257 F .708(closes the old log-\214le and)3.207 F -.05(ga)72 648 S
1248.865(me-\214le, and opens the ne).05 F .864
1249(xt sequential numbered \214le.)-.15 F .864(It also resets the g)5.864 F
1250.864(ame to the be)-.05 F .864(ginning and pre-)-.15 F .219
1251(pares to start a brand ne)72 660 R 2.719(wg)-.25 G 2.719(ame. This)
1252-2.769 F -.1(wa)2.719 G 2.719(sa).1 G .22(dded for Xboard, b)-2.719 F
1253.22(ut it turns out that Xboard does not use this,)-.2 F 1.05
1254(rather it starts Crafty fresh for each ne)72 672 R 3.55(wg)-.25 G 1.05
1255(ame by \214rst terminating the old cop)-3.6 F 3.55(yt)-.1 G 1.05
1256(hen starting a ne)-3.55 F 3.55(wo)-.25 G(ne.)-3.55 E .031
1257(Not nearly as ef)72 684 R .031(\214cient as using "ne)-.25 F .031(w" b)
1258-.25 F .031(ut lik)-.2 F .031(ely safer it a program can')-.1 F 2.531
1259(tb)-.18 G 2.531(es)-2.531 G .031(ure of resetting e)-2.531 F -.15(ve)
1260-.25 G .032(rything back).15 F(to the initial state.)72 696 Q 4.516
1261(35. noise)72 720 R 4.516(<n> This)4.516 F 2.016
1262(command sets the "noise" le)4.516 F -.15(ve)-.25 G 4.516(li).15 G 4.516
1263(nC)-4.516 G(rafty)-4.516 E 7.015(.B)-.65 G(asically)-7.015 E 4.515(,u)
1264-.65 G 2.015(ntil <n> nodes ha)-4.515 F 2.315 -.15(ve b)-.2 H(een).15 E
1265EP
1266%%Page: 11 11
1267%%BeginPageSetup
1268BP
1269%%EndPageSetup
1270/F0 10/Times-Roman@0 SF
1271(searched, crafty will be silent and not display analysis.)72 96 Q .201
1272(This is useful in tw)72 120 R 2.701(ow)-.1 G 2.701(ays. First,)-2.801 F
1273.201(in end-g)2.701 F .201
1274(ames, 20+ ply searches are not uncommon, and the search analy-)-.05 F
1275.194(sis for the \214rst fe)72 132 R 2.694(wp)-.25 G .194(lies arri)
1276-2.694 F -.15(ve)-.25 G 2.693(ss).15 G 2.693(oq)-2.693 G .193
1277(uickly that it is distracting.)-2.693 F .193(Second, when observing g)
12785.193 F .193(ames \(ne)-.05 F 2.693(wi)-.25 G(nter)-2.693 E(-)-.2 E -.1
1279(fa)72 144 S .587(ce only\) on ICS serv).1 F .587
1280(ers, this can be used to a)-.15 F -.2(vo)-.2 G .587(id ha).2 F .587
1281(ving Crafty generate too man)-.2 F 3.088(ya)-.15 G .588
1282(nalysis kibitzes.)-3.088 F(A)5.588 E -.25(va)72 156 S 1.682
1283(lue of 100000 will basically shut of).25 F 4.182(fa)-.25 G 1.982 -.15
1284(ny o)-4.182 H 1.681
1285(utput for the \214rst second or so \(on a P6/200\).).15 F(Similarly)
12866.681 E(,)-.65 E .325(1000000 will eliminate an)72 168 R 2.825(yo)-.15 G
1287.326(utput for about the \214rst 10 seconds.)-2.825 F .326(When w)5.326
1288F .326(atching and kibitzing g)-.1 F .326(ames lik)-.05 F(e)-.1 E .186
1289(the W)72 180 R .186(orld Championship g)-.8 F .186(ames on ICC, I gene\
1290rally use 5000000, which is almost one minute of silence so)-.05 F
1291(that the \214rst PV it kibitzes is a pretty deep search.)72 192 Q .098
1292(noise 0 will cause *all* analysis to be displayed, which on a f)72 216
1293R .098(ast machine causes no problems.)-.1 F .098(On a slo)5.098 F(wer)
1294-.25 E .621(machine, or o)72 228 R -.15(ve)-.15 G 3.121(ras).15 G(lo)
1295-3.121 E 3.121(wp)-.25 G .621
1296(hone connection, this might cause a big communication backlog.)-3.121 F
1297.62(The def)5.62 F .62(ault is)-.1 F
1298(roughly one second on a P6/200 \(100000\) b)72 240 Q
1299(ut can be modi\214ed by this command.)-.2 E 2.792(36. operator)72 264 R
13002.792(<n> Another)2.792 F .293(command intended for use when Crafty is \
1301playing in a tournament, operated by)2.792 F 2.68(ah)72 276 S 2.68
1302(uman. This)-2.68 F .18
1303(tells crafty to "hide" <n> minutes of time and not use them.)2.68 F .18
1304(This time is basically allocated)5.18 F .465(to the operator to mak)72
1305288 R 2.965(eu)-.1 G 2.965(pf)-2.965 G .465(or the time it tak)-2.965 F
1306.466(es to type in mo)-.1 F -.15(ve)-.15 G 2.966(sa).15 G .466
1307(nd/or correct mistak)-2.966 F 2.966(es. At)-.1 F .466(the WMCCC)2.966 F
1308-2.15 -.25(ev e)72 300 T .529(nts, the normal v).25 F .529
1309(alue we use is 5.)-.25 F .528(Playing on a serv)5.528 F(er)-.15 E 3.028
1310(,t)-.4 G .528(his is not needed, as it is not needed if you are)-3.028
1311F(playing Crafty yourself.)72 312 Q 3.067(37. perf This)72 336 R .568
1312(command is primarily used in optimizing Crafty)3.067 F 3.068(,o)-.65 G
13133.068(rt)-3.068 G 3.068(ot)-3.068 G .568(est the speed of the mo)-3.068
1314F .868 -.15(ve g)-.15 H(enerator).15 E .06(and Mak)72 348 R(eMo)-.1 E
1315-.15(ve)-.15 G(\(\)/UnMak).15 E(eMo)-.1 E -.15(ve)-.15 G .06
1316(\(\) on dif).15 F .059(ferent platforms.)-.25 F .059(It produces tw)
13175.059 F 2.559(or)-.1 G .059(esults, the mo)-2.559 F -.15(ve)-.15 G 2.559
1318(si).15 G 2.559(tc)-2.559 G .059(an generate)-2.559 F .171
1319(per second, and the mo)72 360 R -.15(ve)-.15 G 2.671(si).15 G 2.671(sc)
1320-2.671 G .172(an generate and mak)-2.671 F(e/unmak)-.1 E 2.672(ep)-.1 G
1321.172(er second.)-2.672 F .172(While this is not a perfect perfor)5.172 F
1322(-)-.2 E .51(mance indicator)72 372 R 3.01(,i)-.4 G 3.01(td)-3.01 G .51
1323(oes gi)-3.01 F .81 -.15(ve a)-.25 H 3.01(n").15 G .51
1324(approximation" for ho)-3.01 F 3.01(wf)-.25 G .51(ast Crafty might run.)
1325-3.11 F .51(In general, the higher the)5.51 F .29
1326(numbers, the better the program will play)72 384 R 2.79(,a)-.65 G .29
1327(lthough machines are certainly dif)-2.79 F 2.79(ferent. It')-.25 F 2.79
1328(sn)-.55 G .29(ot uncommon to)-2.79 F
1329(\214nd a machine that searches slo)72 396 Q(wer than another)-.25 E 2.5
1330(,b)-.4 G(ut has a higher "perf" v)-2.7 E(alue.)-.25 E 3.072(38. perft)
133172 420 R 3.072(<depth> This)3.072 F .571
1332(command is generally used to con\214rm that the mo)3.072 F .871 -.15
1333(ve g)-.15 H .571(enerator and bitmap opera-).15 F .989(tors are w)72
1334432 R .989(orking properly)-.1 F 5.989(.I)-.65 G 3.489(ts)-5.989 G .989
1335(imply tak)-3.489 F .989(es the current position, and generates/mak)-.1
1336F(es/unmak)-.1 E .99(es mo)-.1 F -.15(ve)-.15 G 3.49(sa).15 G(nd)-3.49 E
1337.938(counts them.)72 444 R(Man)5.938 E 3.438(yp)-.15 G .938
1338(rograms use this from a "standard" position to mak)-3.438 F 3.437(es)
1339-.1 G .937(ure that their mo)-3.437 F 1.237 -.15(ve g)-.15 H(enerator)
1340.15 E .703(does not miss generating odd mo)72 456 R -.15(ve)-.15 G 3.203
1341(sl).15 G(ik)-3.203 E 3.204(ee)-.1 G .704
1342(npassant/promotions and also to con\214rm that the mak)-3.204 F
1343(e/unmak)-.1 E(e)-.1 E .267(code correctly updates the board so that th\
1344e totals remain constant across dif)72 468 R .267
1345(ferent machines and programs,)-.25 F .039
1346(since there is no alpha/beta or e)72 480 R -.25(va)-.25 G .039
1347(luation things done.).25 F .039
1348(if <depth> is greater than 5 or 6, it will tak)5.039 F -5.038 2.539
1349(ea *)-.1 H(long*)-2.539 E .416
1350(time, since this is basically a minimax tree tra)72 492 R -.15(ve)-.2 G
1351.416(rsal that will visit *e).15 F -.15(ve)-.25 G .416
1352(ry* node within the <depth> search).15 F(horizon.)72 504 Q 2.668
1353(39. pgn)72 528 R .169(<tag> <v)2.668 F 2.669(alue> This)-.25 F .169
1354(command is used to set the usual PGN tags to meaningful v)2.669 F 2.669
1355(alues. The)-.25 F(recog-)2.669 E .434(nized tags are Ev)72 540 R .433(\
1356ent, Site, Round, Date, White, WhiteElo, Black, BlackElo, and Result, a\
1357nd the tags *are*)-.15 F .01(case sensiti)72 552 R -.15(ve)-.25 G 5.01
1358(.T).15 G .01(he <v)-5.01 F .01(alue> can be an)-.25 F 2.51(yv)-.15 G
1359.011(alid input and blanks and special characters are allo)-2.76 F 2.511
1360(wed. Note)-.25 F(that)2.511 E .615
1361(the date is clearly speci\214ed in the PGN standard and must be yyyy)72
1362564 R .614(.mm.dd with no v)-.65 F 3.114(ariance. V)-.25 F .614
1363(alid results)-1.11 F(are 1-0 \(white w)72 576 Q(on\), 0-1 \(black w)-.1
1364E(on\), 1/2-1/2 \(dra)-.1 E(wn\) and * \(unkno)-.15 E 2.5(wn\). Some)
1365-.25 F -.15(ex)2.5 G(amples:).15 E(pgn Ev)72 600 Q(ent 14th W)-.15 E
1366(orld MicroComputer Chess Championship)-.8 E(pgn Date)72 612 Q
1367(1996.10.8)5 E(pgn Site)72 624 Q(Jakarta, Indonesia)5 E(pgn Round 1)72
1368636 Q(pgn White Crafty)72 648 Q(pgn WhiteElo 2400)72 660 Q
1369(pgn Black assassin)72 672 Q(pgn BlackElo 2400)72 684 Q(pgn Result 1-0)
137072 696 Q .528(Setting these v)72 720 R .528
1371(alues will result in a proper PGN \214le when using the sa)-.25 F -2.25
1372-.15(veg a)-.2 H .529(me command.).15 F .529(Note that if you)5.529 F EP
1373%%Page: 12 12
1374%%BeginPageSetup
1375BP
1376%%EndPageSetup
1377/F0 10/Times-Roman@0 SF .972(use the "read" command to input a PGN g)72
137896 R .972(ame, these v)-.05 F .971(alues will be e)-.25 F .971
1379(xtracted from that g)-.15 F .971(ame if the)-.05 F 3.471(ya)-.15 G(re)
1380-3.471 E(gi)72 108 Q -.15(ve)-.25 G(n.).15 E 3.753(40. ponder)72 132 R
1381(of)3.753 E(f|on|<mo)-.25 E -.15(ve)-.15 G 6.253(>T).15 G 1.253
1382(his command serv)-6.253 F 1.253(es tw)-.15 F 3.753(op)-.1 G 3.753
1383(urposes. First,)-3.753 F 1.253(it can be used to disable \(of)3.753 F
13841.254(f\) or)-.25 F 1.873(enable \(on\) thinking on the opponent')72 144
1385R 4.373(st)-.55 G 1.872(ime \(or pondering as it is called in man)-4.373
1386F 4.372(yp)-.15 G 1.872(rograms including)-4.372 F(Crafty)72 156 Q 3.911
1387(.\) T)-.65 F 1.411(urning it of)-.45 F 3.911(fw)-.25 G 1.411(ill weak)
1388-3.911 F 1.412(en Crafty since it will not use an)-.1 F 3.912(ym)-.15 G
13891.412(achine time while w)-3.912 F 1.412(aiting on the)-.1 F .286
1390(opponent to mo)72 168 R -.15(ve)-.15 G 5.286(.I).15 G 2.786(ti)-5.286 G
13912.786(ss)-2.786 G .286(ometimes useful, ho)-2.786 F(we)-.25 E -.15(ve)
1392-.25 G 1.086 -.4(r, w).15 H .286(hen playing Crafty ag).4 F .286
1393(ainst another computer and the)-.05 F .912(machines are not equal.)72
1394180 R .912(If crafty is on a f)5.912 F .913
1395(aster machine, and you attempt to adjust for this by gi)-.1 F .913
1396(ving the)-.25 F .283(opponent more time than Crafty)72 192 R 2.783(,i)
1397-.65 G 2.783(td)-2.783 G(oesn')-2.783 E 2.783(tw)-.18 G .282
1398(ork quite as e)-2.883 F .282
1399(xpected, because while the opponent is thinking,)-.15 F .12
1400(so is Crafty)72 204 R 2.62(,w)-.65 G .12(hich lets it use the e)-2.62 F
1401.12(xtra opponent time in an une)-.15 F .12(xpected w)-.15 F(ay)-.1 E
14025.12(.I)-.65 G 2.62(ns)-5.12 G .12(uch a case, it')-2.62 F 2.62(sb)-.55
1403G .12(est to stop)-2.62 F(pondering in both programs.)72 216 Q .836
1404(If <mo)72 240 R -.15(ve)-.15 G 3.336(>i).15 G 3.336(sg)-3.336 G -2.15
1405-.25(iv e)-3.336 H .835(n, it directs Crafty to use that <mo).25 F -.15
1406(ve)-.15 G 3.335(>t).15 G 3.335(op)-3.335 G(onder)-3.335 E 3.335(,r)-.4
1407G .835(ather than the one from the pre)-3.335 F(vious)-.25 E 2.755
1408(search. Most)72 252 R .255(commonly this is used to set the right mo)
14092.755 F .555 -.15(ve t)-.15 H 2.755(op).15 G .256
1410(onder after Crafty has been stopped and then)-2.755 F .284
1411(restarted, assuming that it is the opponent')72 264 R 2.784(st)-.55 G
1412.284(urn to mo)-2.784 F .584 -.15(ve w)-.15 H .284(hen this happens.).15
1413F .284(Otherwise, it is probably bet-)5.284 F .228
1414(ter to not try to in\215uence things, although if you are w)72 276 R
1415.228(atching and suddenly w)-.1 F .228(onder "what w)-.1 F .228
1416(ould Crafty do)-.1 F .305(if the opponent plays mo)72 288 R .605 -.15
1417(ve ')-.15 H .305
1418(X'?", you can answer this by simply typing "ponder X" and then w).15 F
1419.305(atching the)-.1 F 2.5(analysis. Y)72 300 R
1420(ou should reset the correct ponder mo)-1.1 E .3 -.15(ve a)-.15 H
1421(fter you do this of course.).15 E 2.875(41. reset)72 324 R 2.875
1422(<n> This)2.875 F .375(command lets you back up in the current g)2.875 F
1423.376(ame to an)-.05 F 2.876(ym)-.15 G .676 -.15(ove o)-2.876 H 2.876(fy)
1424.15 G .376(our choice.)-2.876 F .376(reset <n>)5.376 F .348
1425(backs up the g)72 336 R .348(ame to mo)-.05 F .648 -.15(ve <)-.15 H
1426.348(n> with the same side on mo).15 F -.15(ve)-.15 G 5.348(.I).15 G
14272.848(fy)-5.348 G .348(ou w)-2.848 F .347
1428(ant to \214rst change the side to mo)-.1 F -.15(ve)-.15 G(,).15 E .183
1429(use the white/black command, then use the reset command to back up to \
1430the right mo)72 348 R -.15(ve)-.15 G 5.183(.N).15 G .183
1431(ote that you can)-5.183 F(also go forw)72 360 Q
1432(ard as well, just so there are mo)-.1 E -.15(ve)-.15 G 2.5(si).15 G 2.5
1433(nt)-2.5 G(he current g)-2.5 E(ame history)-.05 E(.)-.65 E 3.045
1434(42. resign)72 384 R 3.045(<n> This)3.045 F .545
1435(command sets the resign threshold.)3.045 F .544
1436(When running on ICC I typically use "resign 9")5.545 F .897
1437(which will mak)72 396 R 3.397(ec)-.1 G .897(rafty resign roughly \214v)
1438-3.397 F 3.397(em)-.15 G -.15(ove)-3.397 G 3.397(sa).15 G .897
1439(fter the score drops belo)-3.397 F 3.397(w-)-.25 G 3.397(9.000. F)
1440-3.397 F .897(or IM')-.15 F -5.896 3.397(sI c)-.55 H(hange)-3.397 E .286
1441(this to 6, and for GM')72 408 R 2.786(sIo)-.55 G .286
1442(ften use 3, so that it will resign quick)-2.786 F .285
1443(er and not drag a lost g)-.1 F .285(ame out unnecessar)-.05 F(-)-.2 E
1444(ily)72 420 Q(.)-.65 E 2.653(43. read/reada)72 444 R 2.653
1445([<\214lename>] This)2.653 F .154(command will read input, and e)2.653 F
1446.154(xtract the chess mo)-.15 F -.15(ve)-.15 G 2.654(sa).15 G .154
1447(nd mak)-2.654 F 2.654(et)-.1 G .154(hem to)-2.654 F .722
1448(set up the position at the end of the g)72 456 R 3.221(ame. It)-.05 F
1449.721(\214rst resets the chess board to the initial position \(read com-)
14503.221 F .409(mand only\) and then e)72 468 R .409
1451(xtracts the PGN tags \(if present\) from the front of the input.)-.15 F
1452.41(The rest of the input is)5.41 F .029(parsed for chess mo)72 480 R
1453-.15(ve)-.15 G 2.529(s\().15 G .029
1454(comments and similar things are culled automatically\) and the mo)
1455-2.529 F -.15(ve)-.15 G 2.528(sa).15 G .028(re made and)-2.528 F .646
1456(added to the g)72 492 R .646(ame history)-.05 F 5.646(.O)-.65 G .646
1457(nce this is done, you can back up, go forw)-5.646 F .646
1458(ard, or play from an)-.1 F 3.147(yp)-.15 G .647(oint in the)-3.147 F
1459-.05(ga)72 504 S 3.388(me. If).05 F .888(you specify a <\214lename> e)
14603.388 F -.15(ve)-.25 G .887
1461(rything is read from the \214le, otherwise it is read from the console)
1462.15 F -.1(ke)72 516 S(yboard.)-.05 E .32(The reada command reads mo)72
1463540 R -.15(ve)-.15 G .32(s, b).15 F .321
1464(ut appends them to the current g)-.2 F .321
1465(ame history/ position rather than reset-)-.05 F .535
1466(ting to the initial chess position.)72 552 R .535
1467(This lets you read in a g)5.535 F .535
1468(ame, then use reada to manually add some more)-.05 F(mo)72 564 Q -.15
1469(ve)-.15 G 2.5(st).15 G 2.5(os)-2.5 G(ee the resulting position.)-2.5 E
14703.388(44. sa)72 588 R -2.25 -.15(veg a)-.2 H .888(me <\214lename>).15 F
1471.889(This command is used to sa)5.888 F 1.189 -.15(ve t)-.2 H .889
1472(he current g).15 F .889(ame in a PGN-compliant \214le with)-.05 F .469
1473(the PGN tags included.)72 600 R .469(Note that the def)5.469 F .469
1474(ault T)-.1 F 1.269 -.4(AG v)-.93 H .469(alues might not be what you w)
1475.15 F .469(ant if you do not either)-.1 F
1476(use the pgn command to set them or else input a v)72 612 Q
1477(alid PGN \214le with the tags already \214lled in.)-.25 E .167(Be a)72
1478636 R -.1(wa)-.15 G .167(re that this command doesn').1 F 2.667(tc)-.18
1479G .168(heck the \214lename for le)-2.667 F -.05(ga)-.15 G .168
1480(lity since an).05 F .168(ything goes in UNIX.)-.15 F .168(In DOS,)5.168
1481F .906(you might produce a bad \214lename with either too man)72 648 R
14823.406(yc)-.15 G .906(haracters, too man)-3.406 F 3.406(yp)-.15 G .906
1483(eriods, or whate)-3.406 F -.15(ve)-.25 G 1.705 -.4(r, s).15 H 3.405(ob)
1484.4 G(e)-3.405 E .25(careful with the name you choose.)72 660 R .25
1485(Note also that this \214le will be o)5.25 F -.15(ve)-.15 G .251
1486(rwritten if it already e).15 F .251(xists, so be sure)-.15 F(to choose\
1487 a name that is not the name of a \214le that has something you conside\
1488r important in it.)72 672 Q 3.625(45. sa)72 696 R -.15(ve)-.2 G 1.125
1489(pos <\214lename>).15 F 1.124
1490(This command writes a single line into <\214lename> in FEN-lik)6.125 F
14913.624(en)-.1 G 3.624(otation. This)-3.624 F 1.119(lets you sa)72 708 R
14921.419 -.15(ve a p)-.2 H 1.119(osition, and then come back later to re-e)
1493.15 F 1.12(xamine it.)-.15 F -1.1(Yo)6.12 G 3.62(uw)1.1 G 1.12
1494(ould use the "in <\214lename>")-3.72 F
1495(command to input this \214le and set the position up.)72 720 Q EP
1496%%Page: 13 13
1497%%BeginPageSetup
1498BP
1499%%EndPageSetup
1500/F0 10/Times-Roman@0 SF 3.382(46. search)72 96 R(<mo)3.382 E -.15(ve)
1501-.15 G 5.882(>T).15 G .882(his command allo)-5.882 F .882
1502(ws you to specify one particular mo)-.25 F 1.182 -.15(ve f)-.15 H .881
1503(or the side on mo).15 F -.15(ve)-.15 G 3.381(,a).15 G(nd)-3.381 E .574
1504(then when you tell Crafty to search this position, this is the only mo)
150572 108 R .875 -.15(ve t)-.15 H .575(hat will be searched.).15 F .575
1506(This is used)5.575 F .763(internally by the annotate command, b)72 120
1507R .763(ut can be used to in)-.2 F -.15(ve)-.4 G(stig).15 E .763
1508(ate one speci\214c mo)-.05 F -.15(ve)-.15 G 5.763(.I).15 G 3.262(ft)
1509-5.763 G .762(he mo)-3.262 F 1.062 -.15(ve i)-.15 H 3.262(sn).15 G(ot)
1510-3.262 E .176(the best mo)72 132 R -.15(ve)-.15 G 2.676(,an).15 G .176
1511(ormal search w)-2.676 F(on')-.1 E 2.676(ts)-.18 G(ho)-2.676 E 2.676(wy)
1512-.25 G .176(ou wh)-2.676 F 2.676(yi)-.05 G 2.676(ti)-2.676 G 2.676(sb)
1513-2.676 G .176(ad, b)-2.676 F .176(ut this will.)-.2 F .176
1514(It is also quite a bit f)5.176 F .177(aster since)-.1 F(the other mo)72
1515144 Q -.15(ve)-.15 G 2.5(si).15 G 2.5(nt)-2.5 G
1516(he position are not searched at all.)-2.5 E 3.95(47. settc)72 168 R
1517(<mo)3.95 E -.15(ve)-.15 G 1.45(s> <ctime> <otime>).15 F 1.45
1518(This command is primarily used in tournaments, and is an error)6.45 F
1519(-)-.2 E(reco)72 180 Q -.15(ve)-.15 G .459(ry command.).15 F .459
1520(If the machine crashes and corrupts the g)5.459 F .46
1521(ame history \214le, frequently the operator will)-.05 F(ha)72 192 Q
1522.634 -.15(ve t)-.2 H 2.834(os).15 G .333(imply set the position using t\
1523he setboard command, and then use the settc command to restore the)
1524-2.834 F .996(time control v)72 204 R 3.496(alues. <mo)-.25 F -.15(ve)
1525-.15 G .996(s> is mo).15 F -.15(ve)-.15 G 3.497(su).15 G .997
1526(ntil the ne)-3.497 F .997(xt time control \(from Crafty')-.15 F 3.497
1527(sp)-.55 G(erspecti)-3.497 E -.15(ve)-.25 G 3.497(,b).15 G 3.497(ec)
1528-3.497 G(areful)-3.497 E .84(and don')72 216 R 3.34(tl)-.18 G .84
1529(ook at the opponent')-3.34 F 3.34(sm)-.55 G -.15(ove)-3.34 G 3.34(st)
1530.15 G 3.34(ot)-3.34 G .84(ime control by accident.\))-3.34 F .84
1531(<ctime> is minutes left on Crafty')5.84 F(s)-.55 E
1532(clock, <otime> is minutes left on the opponent')72 228 Q 2.5(sc)-.55 G
1533(lock.)-2.5 E 3.533(48. setboard)72 252 R 1.033(<FEN input>)3.533 F
15341.034(This command is used to set a chess position up for analysis and \
1535is the pre-)6.033 F .65(ferred w)72 264 R .65
1536(ay to do this, rather than using the gnu EDIT interf)-.1 F 3.149
1537(ace. It)-.1 F .649(uses a classic F)3.149 F(orsythe-lik)-.15 E 3.149
1538(en)-.1 G .649(otation to)-3.149 F(encode the position and also has pro)
153972 276 Q(visions for castling status and enpassant capture status.)-.15
1540E .678(the standard piece codes p,n,b,r)72 300 R .679
1541(,q,k are used to denote the type of piece on a square, upper/lo)-.4 F
1542.679(wer case are)-.25 F
1543(used to indicate the color of the piece \(uppercase=white pieces, lo)72
1544312 Q(wercase=black pieces\).)-.25 E .145
1545(the pieces are entered from the classic chess diagram')72 336 R 2.645
1546(so)-.55 G .145(rientation of a8 being the upper)-2.645 F .145
1547(-left-hand corner of)-.2 F .6
1548(the board, and this square is entered \214rst, follo)72 348 R .6
1549(wed by the remainder of the 8th rank left to right.)-.25 F 2.2 -.8
1550(To i)5.6 H(ndi-).8 E .195
1551(cate empty squares, use a number between 1 and 8 to indicate ho)72 360
1552R 2.695(wm)-.25 G(an)-2.695 E 2.695(ya)-.15 G .195
1553(djacent squares are empty)-2.695 F 5.195(.u)-.65 G .195(se a)-5.195 F
15542.678(/t)72 372 S 2.678(ot)-2.678 G .178
1555(erminate each rank after all of the pieces for that rank ha)-2.678 F
1556.478 -.15(ve b)-.2 H .178(een entered.).15 F .179
1557(Note that you do not ha)5.178 F .479 -.15(ve t)-.2 H(o).15 E
1558(account for all 8 squares on a gi)72 384 Q -.15(ve)-.25 G 2.5(nr).15 G
1559(ank, although man)-2.5 E 2.5(yt)-.15 G(est suites do this for clarity)
1560-2.5 E(.)-.65 E(the follo)72 408 Q
1561(wing input will setup the board position that gi)-.25 E -.15(ve)-.25 G
15622.5(nb).15 G(elo)-2.5 E(w:)-.25 E(k2r/ppp////Q/5PPP/7K/ B)87 432 Q(this\
1563 assumes that k represents a white king and -q represents a black queen\
1564.)72 456 Q 2.5(-k * *)127 480 R 2.5(-r * * * *)2.5 F(-p -p -p)127 492 Q
15655(*****)5 G 5(********)129.5 504 S 5(********)129.5 516 S 5(********)
1566129.5 528 S 5(q*******)129.5 540 S 5(*****ppp)129.5 552 S 5(*******k)
1567129.5 564 S 3.153(*t)259.5 576 S .653
1568(he \214eld after the \214nal "/" should be either b or w to indi-)
1569-3.153 F .927(cate which side is "on mo)72 588 R -.15(ve)-.15 G 3.427
1570(." after).15 F .927(this side-to-mo)3.427 F 1.227 -.15(ve \214)-.15 H
1571.927(eld an).15 F 3.427(yo)-.15 G 3.427(ft)-3.427 G .927(he follo)-3.427
1572F .927(wing characters can appear to)-.25 F .776(indicate the follo)72
1573600 R 3.276(wing: KQ:)-.25 F .775
1574(white can castle king-side/queen-side/both;)3.276 F .775
1575(kq: same for black;)5.775 F .775(a1-h8: indi-)5.775 F
1576(cates the square occupied by a pa)72 612 Q
1577(wn that can be captured enpassant.)-.15 E 3.815(49. score This)72 636 R
15781.315(command simply gi)3.815 F -.15(ve)-.25 G 3.815(st).15 G 1.316
1579(he positional score for the current position.)-3.815 F 1.316
1580(This score is from)6.316 F .367(whites perspecti)72 648 R -.15(ve)-.25
1581G 2.867(,s).15 G 2.867(oa+)-2.867 G .366
1582(score is good for white, a - score is good for black.)-.001 F .366
1583(Crafty also breaks the score)5.366 F(do)72 660 Q 2.169
1584(wn into major cate)-.25 F 2.169(gories \(from Ev)-.15 F 2.169
1585(aluate\(\)\) to indicate things lik)-.25 F 4.669(ep)-.1 G -.15(aw)
1586-4.669 G 4.67(ns).15 G 2.17(tructure, piece e)-4.67 F -.25(va)-.25 G
1587(luation,).25 E .802(passed pa)72 672 R .802(wns, de)-.15 F -.15(ve)-.25
1588G .802(lopment, and so forth.).15 F .801(Note that some of Crafty')5.801
1589F 3.301(se)-.55 G -.25(va)-3.551 G .801
1590(luation is asymmetric, so that if).25 F .227(you simply change sides w\
1591ith the white/black command and then enter "score" ag)72 684 R .227
1592(ain, you may get a dif)-.05 F(fer)-.25 E(-)-.2 E(ent v)72 696 Q 2.5
1593(alue. This)-.25 F(is *not* a b)2.5 E 2.5(ug. :\))-.2 F 2.724(50. sd)72
1594720 R 2.724(<n> This)2.724 F .224(command lets you specify a speci\214c\
1595 search depth limit that Crafty can not e)2.724 F 2.723(xceed. It)-.15 F
1596(still)2.723 E EP
1597%%Page: 14 14
1598%%BeginPageSetup
1599BP
1600%%EndPageSetup
1601/F0 10/Times-Roman@0 SF .114(pays attention to the clock, ho)72 96 R(we)
1602-.25 E -.15(ve)-.25 G .914 -.4(r, s).15 H 2.614(oo).4 G .115
1603(ften you will use the st <n> command \(belo)-2.614 F .115
1604(w\) in conjunction with)-.25 F .262(this if the search is going to tak)
160572 108 R 2.762(ea)-.1 G 2.761(ne)-2.762 G .261(xtended amount of time.)
1606-2.911 F .261(<n> is the depth \(in plies or 1/2 mo)5.261 F -.15(ve)-.15
1607G .261(s\) that).15 F 1.305(the search must reach.)72 120 R 1.305(Note \
1608that if Crafty is pondering, it still honors this limit and will stop a\
1609 ponder)6.305 F 1.281
1610(search after this depth has been completed as well.)72 132 R 1.281
1611(This is *not* the w)6.281 F 1.281(ay to mak)-.1 F 3.781(eC)-.1 G 1.281
1612(rafty play weak)-3.781 F(er)-.1 E(,)-.4 E(although this will be co)72
1613144 Q -.15(ve)-.15 G(red in a later section of this document.).15 E
16143.017(51. sho)72 168 R 3.017(w<)-.25 G(cate)-3.017 E 3.017(gory> This)
1615-.15 F .518(command forces Crafty to display additional information abo\
1616ut certain actions)3.017 F .428(it tak)72 180 R 2.928(es. Currently)-.1
1617F .428(the only <cate)2.928 F .428(gory> is "book" which will mak)-.15 F
16182.927(ec)-.1 G .427(rafty display information about all the)-2.927 F
1619.923(book mo)72 192 R -.15(ve)-.15 G 3.423(si).15 G 3.423(tf)-3.423 G
1620.923(ound in the database.)-3.423 F .923(More is gi)5.923 F -.15(ve)-.25
1621G 3.423(na).15 G .924
1622(bout this information in the BOOK section later in)-3.423 F
1623(this \214le.)72 204 Q 2.806(52. smpmt=n This)72 228 R .306(command is \
1624used to set the number of threads to use on a machine with more than on\
1625e)2.806 F(processor)72 240 Q 6.46(.F)-.55 G 1.46(or optimal performance\
1626, "n" should be set to the number of processors you ha)-6.61 F -.15(ve)
1627-.2 G 3.96(,a).15 G(lthough)-3.96 E .147(using fe)72 252 R .147
1628(wer will reduce the load on your machine.)-.25 F -.15(Fo)5.147 G 2.647
1629(rt).15 G .147(his command to w)-2.647 F .146(ork, Crafty must ha)-.1 F
1630.446 -.15(ve b)-.2 H .146(een com-).15 F .172(piled with SMP de\214ned.)
163172 264 R .173(When compiled with SMP enabled, mt=0 ef)5.172 F(fecti)-.25
1632E -.15(ve)-.25 G .173(ly disables the SMP code com-).15 F(pletely)72 276
1633Q(.)-.65 E .718(This command also has tw)72 300 R 3.218(ot)-.1 G .717
1634(hat are closely related.)-3.218 F .717(smpmin and smpmax.)5.717 F .717
1635(Both accept single numerical)5.717 F(ar)72 312 Q 3.333(guments. smpmin)
1636-.18 F .833(is used to control the minimum tree depth required at a nod\
1637e for it to be eligible for)3.333 F .356(parallel searching.)72 324 R
1638.356(IE smpmin 2 says don')5.356 F 2.855(ts)-.18 G .355
1639(plit unless at least tw)-2.855 F 2.855(om)-.1 G .355
1640(ore plies are left to search belo)-2.855 F 2.855(wt)-.25 G(his)-2.855 E
16412.569(node. smpmax)72 336 R .069
1642(sets the maximum for the same idea, is smpmax 10 says don')2.569 F
16432.569(ts)-.18 G .069(plit if more than 10 plies are)-2.569 F
1644(remaining belo)72 348 Q 2.5(wt)-.25 G(his node.)-2.5 E 3.164(53. sn)72
1645372 R 3.164(<n> This)3.164 F .664
1646(command is similar to the sd command, b)3.164 F .663
1647(ut instead of setting a speci\214c search depth, it)-.2 F .53
1648(sets a number of nodes to search.)72 384 R .531
1649(Once the search has searched this number of nodes \(+ maybe one more)
16505.53 F(second of searching to check the time\) the search will e)72 396
1651Q(xit.)-.15 E 3.41(54. st)72 420 R 3.41(<n> This)3.41 F .91
1652(command lets you specify a speci\214c search time limit for Crafty)3.41
1653F 5.909(.A)-.65 G -.05(ga)-5.909 G .909(in, this is not the).05 F .241
1654(preferred w)72 432 R .241(ay to set a time per mo)-.1 F -.15(ve)-.15 G
16552.741(,b).15 G .241(ecause this limit is absolute and Crafty will ne)
1656-2.741 F -.15(ve)-.25 G 2.741(rg).15 G 2.741(oo)-2.741 G -.15(ve)-2.891
1657G 2.741(rt).15 G .241(his limit,)-2.741 F -2.15 -.25(ev e)72 444 T 3.436
1658(ni).25 G 3.436(fi)-3.436 G 3.436(ts)-3.436 G .936
1659(ees that it is losing or getting mated.)-3.436 F .935
1660(Setting the time control with the usual "time" or "le)5.935 F -.15(ve)
1661-.25 G(l").15 E .696(command is *much* better)72 456 R 5.696(.<)-.55 G
1662.696(time> is gi)-5.696 F -.15(ve)-.25 G 3.197(ni).15 G 3.197(ns)-3.197
1663G .697(econds, although it may also be entered as mm:ss if pre-)-3.197 F
1664(ferred.)72 468 Q 2.837(55. swindle)72 492 R(on|of)2.837 E 5.337(fT)-.25
1665G .337(his command gi)-5.337 F -.15(ve)-.25 G 2.837(sy).15 G .337
1666(ou control o)-2.837 F -.15(ve)-.15 G 2.837(r").15 G .337
1667(swindle mode.")-2.837 F .337(When on, and playing a g)5.337 F(ame,)-.05
1668E 1.023(Crafty will try to win dra)72 504 R 1.023(wn endings \(accordin\
1669g to the tablebases\) if it has winning chances \(lik)-.15 F 3.524(eK)
1670-.1 G 3.524(Rv)-3.524 G(s)-3.524 E .056(KB, for e)72 516 R 2.556
1671(xample\). This)-.15 F .055(will put up v)2.556 F .055(ery stif)-.15 F
16722.555(f")-.25 G .055(resistance" to accepting the dra)-2.555 F 1.355
1673-.65(w, w)-.15 H .055(hile with this mode of).65 F .055(f, it)-.25 F
1674.762(may be v)72 528 R .763(ery easy to dra)-.15 F 3.263(wap)-.15 G .763
1675(osition once the tablebases say "dra)-3.263 F 3.263(wn." This)-.15 F
1676.763(mode is automatically turned)3.263 F("of)72 540 Q .224
1677(f" during analysis or when annotating a g)-.25 F .224
1678(ame, and is only used when actually playing a g)-.05 F .223(ame ag)-.05
1679F .223(ainst an)-.05 F 2.5(opponent. If)72 552 R
1680(there are no tablebases then this has no ef)2.5 E(fect on the g)-.25 E
1681(ame at all.)-.05 E 2.58(56. tags This)72 576 R .08(command will simply\
1682 display the current PGN tags \(you can edit them with the v)2.58 F .08
1683(arious PGN)-.25 F(commands\).)72 588 Q 3.06(57. test)72 612 R .56(<\
1684\214lename> [n] This command will run a suite of positions \(the \214le\
1685 must be in "Crafty" format as)3.06 F -.15(ex)72 624 S .532
1686(plained belo).15 F .532(w\) and produce a summary of ho)-.25 F 3.032
1687(wm)-.25 G(an)-3.032 E 3.032(yi)-.15 G 3.032(tg)-3.032 G .532
1688(ot right, wrong, etc.)-3.032 F .532(It uses the time per mo)5.532 F
1689-.15(ve)-.15 G 1.258(you set with the \(typically\) st <n> command.)72
1690636 R 1.257(The optional parameter [n] is the "early e)6.258 F 1.257
1691(xit" counter)-.15 F 6.257(.I)-.55 G(f)-6.257 E .455
1692(Crafty \214nds, and holds the solution mo)72 648 R .755 -.15(ve f)-.15
1693H .455(or n iterations, it will terminate the search.).15 F 2.955(Iu)
16945.455 G .455(se this to mak)-2.955 F 2.955(ea)-.1 G .517
1695(win at chess run tak)72 660 R 3.016(e<1)-.1 G 3.016(5m)-3.016 G .516
1696(inutes, e)-3.016 F -.15(ve)-.25 G 3.016(nt).15 G .516
1697(hough the time per position is set to 1 minute, by setting n to 2.)
1698-3.016 F .683(After tw)72 672 R 3.183(oc)-.1 G .683
1699(orrect iterations, Crafty goes on to the ne)-3.183 F .684(xt problem.)
1700-.15 F -.15(Fo)5.684 G 3.184(ra).15 G .684
1701(bsolutely correct results, this is not)-3.184 F .925
1702(advisable as it could ob)72 684 R .925
1703(viously change its mind later on, b)-.15 F .924
1704(ut for performance analysis, this sa)-.2 F -.15(ve)-.2 G 3.424(sal).15
1705G .924(ot of)-3.424 F(time.)72 696 Q(The test suite contains the follo)
170672 720 Q(wing lines:)-.25 E(\(this is a sample from my test suite for W)
17075 E(in At Chess.\))-.4 E EP
1708%%Page: 15 15
1709%%BeginPageSetup
1710BP
1711%%EndPageSetup
1712/F0 10/Times-Roman@0 SF(title w)72 96 Q(ac299)-.1 E
1713(setboard 1n2rr2/1pk3pp/pNn2p2/2N1p3/8/6P1/PP2PPKP/2RR4 w)72 108 Q
1714(solution Nca4)72 120 Q(title w)72 144 Q(ac300)-.1 E
1715(setboard b2b1r1k/3R1ppp/4qP2/4p1PQ/4P3/5B2/4N1K1/8 w)72 156 Q
1716(solution g6)72 168 Q(end)72 192 Q .322(The title command simply displa\
1717ys this message in the log \214le so you can look at the output and \
1718\214gure out)72 216 R(which position it goes with.)72 228 Q
1719(This is optional, b)5 E(ut useful.)-.2 E
1720(The setboard command sets the position as e)72 252 Q(xplained before.)
1721-.15 E .883(The solution command gi)72 276 R -.15(ve)-.25 G 3.383(st).15
1722G .883(he set of solution mo)-3.383 F -.15(ve)-.15 G 3.382(s\().15 G
1723.882(one or more mo)-3.382 F -.15(ve)-.15 G 3.382(st).15 G .882
1724(hat are separated by blanks\))-3.382 F 1.57
1725(and/or a set of "anti-solution" mo)72 288 R -.15(ve)-.15 G 4.07(s\().15
1726G(mo)-4.07 E -.15(ve)-.15 G 4.07(st).15 G 1.571
1727(hat must not be played to count the position as correct.\))-4.07 F
1728("anti-solution" mo)72 300 Q -.15(ve)-.15 G 2.5(sa).15 G
1729(re simply follo)-2.5 E(wed by a "?" character)-.25 E 2.5(,f)-.4 G(or e)
1730-2.5 E(xample:)-.15 E(solution Bxa7?)72 324 Q .856
1731(The solution command supplies a set of k)72 348 R 1.156 -.15(ey m)-.1 H
1732-.15(ove).15 G .856(s, and then starts the search.).15 F .856
1733(If, after the search termi-)5.856 F .152(nates, one of the k)72 360 R
1734.452 -.15(ey s)-.1 H .152(olution mo).15 F -.15(ve)-.15 G 2.652(sw).15 G
1735.152(as chosen \(or none of the anti-solution mo)-2.752 F -.15(ve)-.15 G
17362.653(sw).15 G .153(ere chosen\) the posi-)-2.653 F
1737(tion is counted as correct.)72 372 Q(The \214nal line should be "end" \
1738although end-of-\214le or EOF will also be detected in this case.)72 396
1739Q 2.62(57. time)72 420 R(CPU|elapsed|<v)2.62 E 2.62(alues> This)-.25 F
1740.12(command controls whether the program uses CPU time or w)2.62 F
1741(all-clock)-.1 E .248(time for timing.)72 432 R .249
1742(for tournament play)5.249 F 2.749(,i)-.65 G 2.749(ti)-2.749 G 2.749(ss)
1743-2.749 G .249(afer to use w)-2.749 F .249
1744(all-clock timing, for testing it may be more consis-)-.1 F(tent to use\
1745 CPU timing if the machine is used for other things concurrently with t\
1746he tests being run.)72 444 Q
1747(time is also used to set the basic search timing controls.)72 468 Q
1748(the general form of the command is as follo)5 E(ws:)-.25 E(time nmo)87
1749492 Q -.15(ve)-.15 G(s/ntime/[nmo).15 E -.15(ve)-.15 G
1750(s/ntime]/[increment]).15 E(nmo)72 516 Q -.15(ve)-.15 G .32
1751(s/ntime represents a traditional \214rst time control when nmo).15 F
1752-.15(ve)-.15 G 2.819(si).15 G 2.819(sa)-2.819 G 2.819(ni)-2.819 G(nte)
1753-2.819 E .319(ger representing the number)-.15 F .53(of mo)72 528 R -.15
1754(ve)-.15 G 3.03(sa).15 G .53(nd ntime is the total time allo)-3.03 F .53
1755(wed for these mo)-.25 F -.15(ve)-.15 G 3.03(s. the).15 F .53
1756([optional] nmo)3.03 F -.15(ve)-.15 G .53(s/ntime is a traditional).15 F
1757.999(secondary time control.)72 540 R .999(increment is a feature relat\
1758ed to ICS play and emulates the Fischer clock where)5.999 F
1759(<increment> is added to the time left after each mo)72 552 Q .3 -.15
1760(ve i)-.15 H 2.5(sm).15 G(ade.)-2.5 E .365(as an alternati)72 576 R -.15
1761(ve)-.25 G 2.865(,n).15 G(mo)-2.865 E -.15(ve)-.15 G 2.865(sc).15 G .366
1762(an be "sd" which represents a sudden death time control of the remaind\
1763er of the)-2.865 F -.05(ga)72 588 S .942(me played in ntime.).05 F .941
1764(the optional secondary time control can be a sudden-death time control\
1765, as in the)5.941 F(follo)72 600 Q(wing e)-.25 E(xample:)-.15 E
1766(time 60/30/sd/30)92 624 Q 1.876(this sets 60 mo)72 648 R -.15(ve)-.15 G
17674.376(si).15 G 4.376(n3)-4.376 G 4.376(0m)-4.376 G 1.876(inutes, then g)
1768-4.376 F 1.876(ame in 30 additional minutes.)-.05 F 1.876
1769(an increment can be added if)6.876 F(desired.)72 660 Q(One \214nal e)72
1770684 Q(xample is the follo)-.15 E(wing:)-.25 E(time sd/15)92 708 Q EP
1771%%Page: 16 16
1772%%BeginPageSetup
1773BP
1774%%EndPageSetup
1775/F0 10/Times-Roman@0 SF .95(which is a simple g)72 96 R .95
1776(ame/15 setting.)-.05 F .95
1777(This command can also be used to perform the same function as the)5.95
1778F("le)72 108 Q -.15(ve)-.25 G(l" command.).15 E -.15(Fo)5 G 2.5(re).15 G
1779(xample, to set up a classic ICS 2 12 g)-2.65 E(ame, the follo)-.05 E
1780(wing w)-.25 E(ould w)-.1 E(ould w)-.1 E(ork:)-.1 E(time sd/2/12)92 132
1781Q 3.086(59. trace)72 156 R 3.086(<n> This)3.086 F .586
1782(command is used to mak)3.086 F 3.086(ec)-.1 G .586
1783(rafty display the tree as it searches a position.)-3.086 F .586
1784(Due to the)5.586 F .343
1785(incredible speed at which this program can search, ho)72 168 R(we)-.25
1786E -.15(ve)-.25 G 1.142 -.4(r, t).15 H .342
1787(his is less than useful since it can sw).4 F .342(amp an)-.1 F(y)-.15 E
1788(kno)72 180 Q(wn display dri)-.25 E -.15(ve)-.25 G 2.5(ra).15 G(nd mak)
1789-2.5 E 2.5(et)-.1 G(hings scroll impossibly f)-2.5 E(ast.)-.1 E 1.037(A\
1790lso note that this command usually is disabled, because Crafty is gener\
1791ally compiled with the -DF)72 204 R(AST)-.74 E .547(\215ag, which remo)
179272 216 R -.15(ve)-.15 G 3.047(st).15 G .547
1793(he trace output code from the search to mak)-3.047 F 3.047(et)-.1 G
1794.546(hings slightly f)-3.047 F(aster)-.1 E 5.546(.Y)-.55 G .546
1795(ou will ha)-6.646 F .846 -.15(ve t)-.2 H(o).15 E .78
1796(recompile, without the -DF)72 228 R(AST)-.74 E 3.28(,i)-.74 G 3.28(fy)
1797-3.28 G .78(ou w)-3.28 F .78(ant to use this.)-.1 F(It')5.78 E 3.28(su)
1798-.55 G .78(tility is limited, e)-3.28 F .78(xcept for deb)-.15 F .78
1799(ugging, an)-.2 F(y-)-.15 E -.1(wa)72 240 S -.65(y.).1 G 3.078
1800(60. usage)72 264 R .578(<n> is simply a w)3.078 F .578
1801(ay to modify Crafty')-.1 F 3.078(st)-.55 G .578
1802(ime usage to \214t your tastes.)-3.078 F -1.1(Yo)5.578 G 3.078(uc)1.1 G
1803.578(an "suggest" a time)-3.078 F 1.044(limit with an)72 276 R 3.544(yo)
1804-.15 G 3.544(ft)-3.544 G 1.044(he options discussed pre)-3.544 F
1805(viously)-.25 E 3.544(,b)-.65 G 1.044(ut if you use an)-3.744 F 1.044
1806(ything other than the "st" command,)-.15 F .356
1807(Crafty will do its best to use time as you suggest, b)72 288 R .356
1808(ut it also anticipates that it will sa)-.2 F .656 -.15(ve s)-.2 H .355
1809(ome time by pon-).15 F .884
1810(dering, etc., and will therefore be more aggressi)72 300 R 1.184 -.15
1811(ve a)-.25 H 3.384(tt).15 G .884(rying to use time.)-3.384 F .884
1812(if <n> is a positi)5.884 F 1.184 -.15(ve i)-.25 H(nte).15 E(ger)-.15 E
18133.384(,i)-.4 G 3.384(ti)-3.384 G(s)-3.384 E(tak)72 312 Q .923(en as a p\
1814ercentage and crafty will compute the time limit it thinks is appropria\
1815te for the current clock)-.1 F .726
1816(settings, then increase this limit by this percentage \(50 w)72 324 R
1817.726(ould mak)-.1 F 3.226(ei)-.1 G 3.226(tt)-3.226 G(ak)-3.226 E 3.226
1818(e1)-.1 G .726(.5 times longer than normal.\))-3.226 F(-50 w)72 336 Q
1819(ould mak)-.1 E 2.5(ei)-.1 G 2.5(tt)-2.5 G(ak)-2.5 E 2.5(e1)-.1 G
1820(/2 the time it w)-2.5 E(ould normally tak)-.1 E(e.)-.1 E .1
1821(Crafty adjusts the usage internally based on time left, opponent')72
1822360 R 2.6(st)-.55 G .1(ime left, ho)-2.6 F 2.6(wq)-.25 G .1
1823(uickly or slo)-2.6 F .1(wly the oppo-)-.25 F(nent is mo)72 372 Q
1824(ving, etc.)-.15 E(Further modifying things with this is dangerous, b)5
1825E(ut possible.)-.2 E 2.807(61. whisper/kibitz)72 396 R 2.807(<n> These)
18262.807 F .307(commands are used to control what Crafty will whisper or k\
1827ibitz on a chess)2.807 F(serv)72 408 Q(er)-.15 E 5.834(.T)-.55 G .833(h\
1828e options are \(1\) only whispers or kibitzes mate announcements; \(2\)\
1829 adds time, score, depth to)-5.834 F .507(the pre)72 420 R .507
1830(vious option, b)-.25 F .507(ut no PV or mo)-.2 F -.15(ve)-.15 G 3.007
1831(s. \(3\)).15 F .507(adds the PV)3.007 F 5.507(.\()-1.29 G .508
1832(4\) adds book mo)-5.507 F .808 -.15(ve i)-.15 H .508
1833(nformation to the output.).15 F .737(The remaining tw)72 432 R 3.236
1834(oo)-.1 G .736
1835(ptions generate a lot of output and should be used with caution.)-3.236
1836F .736(\(5\) displays the PV)5.736 F .075
1837(after each iteration completes.)72 444 R 2.575(Iu)5.075 G .076
1838(se this when using my custom interf)-2.575 F .076
1839(ace to let Crafty observ)-.1 F .076(e/comment on)-.15 F -.05(ga)72 456
1840S 1.528(mes in progress on ICC.).05 F 1.528(Noise can be used to pre)
18416.528 F -.15(ve)-.25 G 1.527(nt shallo).15 F 4.027(ws)-.25 G 1.527
1842(earches from generating output and)-4.027 F -.1(ke)72 468 S .263
1843(eping "noise" do).1 F .263(wn on the g)-.25 F .263(ames being w)-.05 F
18442.764(atched. \(6\))-.1 F .264(basically will whisper/kibitz nearly e)
18452.764 F -.15(ve)-.25 G .264(rything you).15 F 1.303
1846(see on the console from a search, each PV when it changes, f)72 480 R
18471.302(ail highs and f)-.1 F 1.302(ail lo)-.1 F 1.302(ws, etc.)-.25 F
18483.802(As)6.302 G(igni\214cant)-3.802 E(amount of output that should be \
1849carefully weighed before turning it "loose.")72 492 Q 4.5
1850(62. xboard This)72 516 R 2.001(command turns on Xboard/W)4.501 F 2.001
1851(inBoard compatibility mode, and mak)-.4 F 2.001(es Crafty beha)-.1 F
1852-.15(ve)-.2 G(some)72 528 Q .138(what lik)-.25 F 2.638(eG)-.1 G 2.638
1853(nuChess. This)-2.638 F .137
1854(is designed to be used *only* when Crafty is interf)2.638 F .137
1855(acing with Xboard/W)-.1 F(in-)-.4 E 2.607(Board. Crafty)72 540 R .107
1856(will not w)2.607 F .107(ork with these tw)-.1 F 2.607(oG)-.1 G .107
1857(UIs without this option, and really w)-2.607 F(on')-.1 E 2.608(tw)-.18
1858G .108(ork v)-2.708 F .108(ery well with)-.15 F
1859(this option if it is not connected to one of them.)72 552 Q 3.336
1860(63. There)72 576 R .836(are other commands that are not documented.)
18613.336 F(The)5.835 E 3.335(ya)-.15 G .835
1862(re part of the xboard protocol and really)-3.335 F .091
1863(should not be used by the normal user)72 588 R 5.091(.Y)-.55 G .092
1864(ou can \214nd all the commands in option.c should you be interested.)
1865-6.191 F(Opening Book Setup and Usage)223.84 600 Q
1866(----------------------------)241.38 612 Q(Crafty uses tw)72 636 Q 2.5
1867(op)-.1 G(re-compiled opening books, called "book.bin" and "books.bin".)
1868-2.5 E .209(The \214le book.bin is usually b)72 660 R .209
1869(uild from a lar)-.2 F .209(ge te)-.18 F .209
1870(xt \214le containing PGN g)-.15 F .209(ames, often tak)-.05 F .208
1871(en from collections)-.1 F .063(of GM g)72 672 R 2.564(ames. Building)
1872-.05 F .064(book.bin is a simple e)2.564 F -.15(xe)-.15 G .064
1873(rcise and requires nothing other than the ra).15 F 2.564(wi)-.15 G .064
1874(nput \214le you)-2.564 F .06(are going to use.)72 684 R .06(Generally \
1875this will be either medium.zip or the set of four \214les lar)5.06 F .06
1876(ge[1-4].zip, all of which)-.18 F
1877(are stored on the ftp machine ftp.cis.uab)72 696 Q(.edu/pub/h)-.4 E
1878(yatt/.)-.05 E 4.472 -.8(To c)72 720 T 2.872
1879(reate the \214le book.bin, you need a PGN g).8 F 2.873
1880(ame collection that is a *real* PGN-compliant \214le.)-.05 F EP
1881%%Page: 17 17
1882%%BeginPageSetup
1883BP
1884%%EndPageSetup
1885/F0 10/Times-Roman@0 SF(Supposing this \214le is called "lar)72 96 Q
1886(ge.pgn" you w)-.18 E(ould use the follo)-.1 E(wing command:)-.25 E
1887(book create lar)72 120 Q(ge.pgn <m> [n] [wpct])-.18 E .163
1888(The only thing you ha)72 144 R .463 -.15(ve t)-.2 H 2.663(os).15 G .163
1889(upply is <m>, a number indicating ho)-2.663 F 2.663(wm)-.25 G(an)-2.663
1890E 2.663(ym)-.15 G -.15(ove)-2.663 G 2.663(sf).15 G .163(rom each g)
1891-2.663 F .163(ame are to be)-.05 F 1.938
1892(stored in the book.bin database.)72 156 R 4.439(It)6.939 G 1.939
1893(ypically use 60, which stores the \214rst 60 mo)-4.439 F -.15(ve)-.15 G
18944.439(sf).15 G 1.939(rom each g)-4.439 F(ame.)-.05 E 1.293(Increasing t\
1895his number slightly increases the probability that Crafty will stay in \
1896book longer)72 168 R 3.792(,b)-.4 G 1.292(ut it also)-3.992 F 1.064
1897(increases the probability that it will follo)72 180 R 3.564(wag)-.25 G
18981.064(ame too f)-3.614 F(ar)-.1 E 3.564(,s)-.4 G 3.564(ot)-3.564 G 1.064
1899(hat it be)-3.564 F 1.065(gins to reach positions where the)-.15 F(mo)72
1900192 Q 2.258 -.15(ve a)-.15 H 1.957
1901(ctually played might not be the best mo).15 F -.15(ve)-.15 G 4.457(,l)
1902.15 G 1.957(etting it f)-4.457 F 1.957(all into a bad hole.)-.1 F 1.957
1903(Increasing this also)6.957 F
1904(increases the size of the database as well.)72 204 Q -1.1(Yo)72 228 S
19052.631(uc)1.1 G .131(an decrease the size of the book, and also reduce t\
1906he number of ugly mo)-2.631 F -.15(ve)-.15 G 2.631(sb).15 G 2.631(ys)
1907-2.631 G .131(pecifying <n>, which)-2.631 F 1.862(says that unless a mo)
190872 240 R 2.162 -.15(ve i)-.15 H 4.362(sp).15 G 1.862
1909(layed in at least N g)-4.362 F 1.862(ames, the mo)-.05 F 2.161 -.15
1910(ve i)-.15 H 4.361(sd).15 G 4.361(iscarded. This)-4.361 F 1.861
1911(will substantially)4.361 F 1.492
1912(decrease the size of the book.bin \214le, and also eliminate single g)
191372 252 R 1.492(ame mo)-.05 F -.15(ve)-.15 G 3.992(st).15 G 1.492
1914(hat often ha)-3.992 F 1.792 -.15(ve s)-.2 H(igni\214cant).15 E
1915(errors or blunders.)72 264 Q -1.1(Yo)72 288 S 2.507(uc)1.1 G .007(an i\
1916ncrease the quality of book lines by specifying <wpct> which is the "wi\
1917nning percentage".)-2.507 F .006(This is)5.006 F .091
1918(speci\214ed as a percentage of lost g)72 300 R .091
1919(ames, and is used to discard mo)-.05 F -.15(ve)-.15 G 2.592(st).15 G
1920.092(hat led to mostly losses.)-2.592 F 2.592(As)5.092 G .092(afe v)
1921-2.592 F(alue)-.25 E .91
1922(is 50, which says that if a particular opening mo)72 312 R 1.21 -.15
1923(ve d)-.15 H(idn').15 E 3.41(tw)-.18 G .91(in at least 50% as man)-3.41
1924F 3.41(yg)-.15 G .91(ames as it lost, the)-3.46 F(mo)72 324 Q .671 -.15
1925(ve i)-.15 H 2.871(sc).15 G 2.871(ulled. A)-2.871 F -.25(va)2.871 G .371
1926(lue of 100 w).25 F .371(ould mean that mo)-.1 F -.15(ve)-.15 G 2.871
1927(sa).15 G .371(re culled if the)-2.871 F 2.871(yp)-.15 G .371
1928(roduced more losses than wins,)-2.871 F
1929(and is really a strict criterion.)72 336 Q 2.134
1930(After creating book.bin, you need to create books.bin.)72 360 R 2.134
1931(This is a small v)7.134 F 2.133(ersion of book.bin, which is)-.15 F
1932.374(intended to gi)72 372 R .674 -.15(ve y)-.25 H .374
1933(ou more control o).15 F -.15(ve)-.15 G 2.875(rt).15 G .375(he mo)-2.875
1934F -.15(ve)-.15 G .375(s/openings Crafty will play).15 F 5.375(.T)-.65 G
1935.375(his is usually b)-5.375 F .375(uilt from the)-.2 F .569
1936(\214le start.pgn on the ftp machine, b)72 384 R .568
1937(ut you can modify this \214le to suit your taste easily)-.2 F 5.568(.T)
1938-.65 G 3.068(ob)-6.368 G .568(uild books.bin,)-3.268 F
1939(you use the follo)72 396 Q(wing command:)-.25 E
1940(books create start.pgn 60)72 420 Q(Ag)72 444 Q .159
1941(ain, 60 is what I use, b)-.05 F .159
1942(ut none of my start.pgn lines go an)-.2 F .159(ywhere near that man)
1943-.15 F 2.659(ym)-.15 G -.15(ove)-2.659 G 2.659(s. The).15 F .159
1944(main point)2.659 F .557
1945(here is that in start.pgn, you can append a "!" to an)72 456 R 3.056
1946(ym)-.15 G .856 -.15(ove y)-3.056 H .556(ou w).15 F .556
1947(ant, and when it is Crafty')-.1 F 3.056(st)-.55 G .556(urn to mo)-3.056
1948F -.15(ve)-.15 G 1.255(for that color)72 468 R 3.755(,i)-.4 G 3.755(tw)
1949-3.755 G 1.255(ill play from the set of mo)-3.755 F -.15(ve)-.15 G 3.755
1950(sw).15 G 1.256(ith "!" if there are an)-3.755 F 2.556 -.65(y, i)-.15 H
19511.256(gnoring the rest of the book).65 F(mo)72 480 Q -.15(ve)-.15 G 2.5
1952(s. If).15 F(you only w)2.5 E(ant it to play 1. e4 as white, you w)-.1 E
1953(ould just enter the short g)-.1 E(ame:)-.05 E
1954([Crafty only plays 1. e4] 1. e4!)72 504 Q .431
1955(and you are \214nished!.)72 528 R -1.1(Yo)5.431 G 2.931(uc)1.1 G .431
1956(an enter as man)-2.931 F 2.931(ya)-.15 G 2.931(sy)-2.931 G .43(ou w)
1957-2.931 F 2.93(ant. If)-.1 F .43(on the other hand there is a mo)2.93 F
1958.73 -.15(ve y)-.15 H .43(ou don').15 F(t)-.18 E -.1(wa)72 540 S .319
1959(nt Crafty to play).1 F 2.819(,t)-.65 G .319(hen follo)-2.819 F 2.819
1960(wt)-.25 G .319(hat mo)-2.819 F .619 -.15(ve w)-.15 H .32
1961(ith a "?" and it will ne).15 F -.15(ve)-.25 G 2.82(rp).15 G .32
1962(lay it.)-2.82 F(Mo)5.32 E -.15(ve)-.15 G 2.82(si).15 G 2.82(nb)-2.82 G
1963.32(ooks.bin that are)-2.82 F(not \215agged with ! or ? don')72 552 Q
19642.5(th)-.18 G -2.25 -.2(av e)-2.5 H(an)2.7 E 2.5(yi)-.15 G
1965(n\215uence on Crafty')-2.5 E 2.5(sc)-.55 G(hoice at all.)-2.5 E(Here')
196672 576 Q 3.31(sh)-.55 G 1.31 -.25(ow t)-3.31 H .81(he \214les are used.)
1967.25 F .809
1968(When searching a position, Crafty \214rst enumerates the set of mo)5.81
1969F -.15(ve)-.15 G 3.309(si).15 G 3.309(tc)-3.309 G(an)-3.309 E 1.172
1970(\214nd in the opening database.)72 588 R 1.172
1971(It then does the same for the books.bin database, and performs a "mer)
19726.172 F(ge")-.18 E .609(operation to combine the ? and ! \215ags...)72
1973600 R .608(The purpose of the books.bin \214le is to gi)5.609 F .908
1974-.15(ve y)-.25 H .608(ou a small database).15 F .182
1975(that you can easily modify)72 612 R 2.682(,r)-.65 G(eb)-2.682 E .182
1976(uild, and repeat this process o)-.2 F -.15(ve)-.15 G 2.682(ra).15 G
1977.182(nd o)-2.682 F -.15(ve)-.15 G 3.782 -.55(r. S).15 H .182
1978(ince it tak).55 F .182(es a fraction of a sec-)-.1 F .758
1979(ond to completely reb)72 624 R .758(uild this \214le, it is v)-.2 F
1980.757(ery easy to modify this to control what Crafty will play)-.15 F
19813.257(,w)-.65 G(ithout)-3.257 E(ha)72 636 Q(ving to reb)-.2 E
1982(uild the lar)-.2 E(ge database.)-.18 E 1.486(One important characteris\
1983tic of the PGN input is the Result tag must be speci\214ed in most of t\
1984he lines,)72 660 R .588(because Crafty counts wins, losses and dra)72
1985672 R .588(ws for each book mo)-.15 F .888 -.15(ve a)-.15 H .587
1986(nd uses these counts with some of the).15 F(book selection options gi)
198772 684 Q -.15(ve)-.25 G 2.5(nb).15 G(elo)-2.5 E -.65(w.)-.25 G(Ho)72 708
1988Q 2.5(wt)-.25 G(he \215ags are used.)-2.5 E EP
1989%%Page: 18 18
1990%%BeginPageSetup
1991BP
1992%%EndPageSetup
1993/F0 10/Times-Roman@0 SF .612(The ! and ? \215ags should only appear in \
1994the small books.bin \214le, although there is no reason wh)72 96 R 3.113
1995(yt)-.05 G(he)-3.113 E 3.113(yc)-.15 G(an)-3.113 E .273
1996(not appear in the lar)72 108 R .273(ge \214le as well.)-.18 F -.15(Fo)
19975.273 G 2.773(rt).15 G .273(his discussion, it doesn')-2.773 F 2.772(tm)
1998-.18 G .272(atter since Crafty tak)-2.772 F .272(es the mo)-.1 F -.15
1999(ve)-.15 G 2.772(sf).15 G(rom)-2.772 E(both \214les and "mer)72 120 Q
2000(ges" the \215ags/etc into one entry for each mo)-.18 E -.15(ve)-.15 G
2001(.).15 E .847(Quite simply)72 144 R 3.347(,i)-.65 G 3.347(fa)-3.347 G
20021.147 -.15(ny b)-3.347 H .847(ook le).15 F -.05(ga)-.15 G 3.347(lb).05 G
2003.847(ook mo)-3.347 F 1.147 -.15(ve h)-.15 H .848
2004(as a ! \215ag, then Crafty will only play mo).15 F -.15(ve)-.15 G 3.348
2005(sf).15 G .848(rom the set of)-3.348 F(mo)72 156 Q -.15(ve)-.15 G 2.576
2006(sw).15 G .076(hich all ha)-2.576 F .376 -.15(ve t)-.2 H .076
2007(he ! \215ag.).15 F .076(If a mo)5.076 F .376 -.15(ve h)-.15 H .076
2008(as a ? \215ag, then that mo).15 F .376 -.15(ve i)-.15 H 2.576(si).15 G
2009.076(mmediately remo)-2.576 F -.15(ve)-.15 G 2.576(df).15 G .075
2010(rom the set)-2.576 F .257(of possible book mo)72 168 R -.15(ve)-.15 G
20112.757(s. If).15 F .257(the only le)2.757 F -.05(ga)-.15 G 2.757(lb).05 G
2012.257(ook mo)-2.757 F .557 -.15(ve h)-.15 H .258
2013(as a ? \215ag, it will not be played as a book mo).15 F .558 -.15(ve a)
2014-.15 H(nd).15 E .487
2015(Crafty will simply pretend that it found no book mo)72 180 R -.15(ve)
2016-.15 G 2.987(sa).15 G .487(nd will e)-2.987 F -.15(xe)-.15 G .486
2017(cute a normal tree search.).15 F .486(Pretty sim-)5.486 F(ple.)72 192 Q
2018(Ho)72 216 Q 2.5(wt)-.25 G 2.5(oc)-2.5 G(ontrol the frequenc)-2.5 E 2.5
2019(yo)-.15 G 2.5(fo)-2.5 G(pening mo)-2.5 E .3 -.15(ve s)-.15 H(election.)
2020.15 E 2.585(An)72 240 S .585 -.25(ew f)-2.585 H .085(eature in v).25 F
2021.085(ersion 15.15 and be)-.15 F .085(yond allo)-.15 F .085
2022(ws you to append a PGN comment to an)-.25 F 2.586(ym)-.15 G .386 -.15
2023(ove i)-2.586 H 2.586(nat).15 G -.15(ex)-2.586 G 2.586<748c>.15 G(le)
2024-2.586 E .105(used to create books.bin, of the form {play nn%}.)72 252 R
2025.105(This will force the mo)5.105 F .405 -.15(ve i)-.15 H 2.605(tf).15 G
2026(ollo)-2.605 E .105(ws to be played that per)-.25 F(-)-.2 E
2027(centage of the time, re)72 264 Q -.05(ga)-.15 G
2028(rdless of the normal book-ordering v).05 E(alues based on frequenc)-.25
2029E 2.5(ya)-.15 G(nd so forth.)-2.5 E .021
2030(Note that {play 0%} will not pre)72 288 R -.15(ve)-.25 G .021(nt a mo)
2031.15 F .321 -.15(ve f)-.15 H .021
2032(rom being played at all, as this will look just lik).15 F 2.522(eam)-.1
2033G .322 -.15(ove w)-2.522 H(ith).15 E(no percent speci\214ed.)72 300 Q
20341.6 -.8(To a)5 H -.2(vo).6 G(id playing a mo).2 E -.15(ve)-.15 G 2.5(,u)
2035.15 G(se the ? \215ag.)-2.5 E(Ho)72 324 Q 2.5(wd)-.25 G
2036(oes Crafty choose book mo)-2.5 E -.15(ve)-.15 G(s?).15 E(Crafty')72 348
2037Q 3.169(sb)-.55 G .669(ook selection algorithm depends on tw)-3.169 F
20383.169(ou)-.1 G(ser)-3.169 E .669(-de\214ned v)-.2 F .669
2039(alues that can be set at an)-.25 F 3.168(yt)-.15 G .668(ime during a)
2040-3.168 F -.05(ga)72 360 S(me:).05 E(book random <n>)72 384 Q
2041(book width <w>)72 408 Q .254
2042(The selection algorithm \214rst \214nds the set of le)72 432 R -.05(ga)
2043-.15 G 2.754(lb).05 G .254(ook mo)-2.754 F -.15(ve)-.15 G 2.754(sa).15 G
20442.754(sa)-2.754 G(bo)-2.754 E -.15(ve)-.15 G 5.254(.T).15 G .254
2045(his set will either be all ! mo)-5.254 F -.15(ve)-.15 G(s,).15 E 1.359
2046(or will ha)72 444 R 1.658 -.15(ve n)-.2 H 3.858(o!m).15 G -.15(ove)
2047-3.858 G 3.858(si).15 G 3.858(ni)-3.858 G 3.858(t. This)-3.858 F 1.358
2048(set is then sorted based on the setting of book random.)3.858 F(Here')
20496.358 E 3.858(st)-.55 G(he)-3.858 E(options:)72 456 Q .538
2050(book random 0.)72 480 R .538
2051(This is a special case for book selection.)5.538 F .539
2052(Crafty simply tak)5.538 F .539(es the set of book mo)-.1 F -.15(ve)-.15
2053G .539(s, and).15 F 1.131(searches only these mo)72 492 R -.15(ve)-.15 G
20543.631(su).15 G 1.131(sing a normal alpha/beta search, b)-3.631 F 1.13
2055(ut with a shorter than usual time limit.)-.2 F(It)6.13 E .437
2056(then plays the mo)72 504 R .737 -.15(ve t)-.15 H .437
2057(hat produces the best search v).15 F 2.937(alue. This)-.25 F .437
2058(has one serious disadv)2.937 F .438(antage in that there is)-.25 F .394
2059(no randomness to this at all.)72 516 R .393(It will al)5.393 F -.1(wa)
2060-.1 G .393(ys play the same mo).1 F .693 -.15(ve i)-.15 H 2.893(nt).15 G
2061.393(he same position, unless the e)-2.893 F -.25(va)-.25 G(luation).25
2062E .533(is modi\214ed, or the time per mo)72 528 R .833 -.15(ve i)-.15 H
20633.033(sd).15 G(if)-3.033 E .533
2064(ferent enough to let the search \214nd a dif)-.25 F .533(ferent mo)-.25
2065F .833 -.15(ve f)-.15 H .533(rom the book).15 F(mo)72 540 Q .3 -.15
2066(ve s)-.15 H(et.).15 E .959(book random 1.)72 564 R .959
2067(This enables a random form of book mo)5.959 F 1.258 -.15(ve s)-.15 H
2068.958(election, b).15 F .958(ut you ha)-.2 F 1.258 -.15(ve a l)-.2 H .958
2069(ot of control o).15 F -.15(ve)-.15 G(r).15 E(ho)72 576 Q 4.343(wm)-.25
2070G -.15(ove)-4.343 G 4.343(sa).15 G 1.843(re randomly chosen.)-4.343 F
20711.843(The mo)6.843 F -.15(ve)-.15 G 4.343(sa).15 G 1.843
2072(re ordered, based on 4 parameters:)-4.343 F(frequenc)6.844 E 4.344(yo)
2073-.15 G 4.344(fp)-4.344 G(lay)-4.344 E(,)-.65 E .374
2074(win/lose ratio, static e)72 588 R -.25(va)-.25 G .374
2075(luation and learned results.).25 F .374(Normally these are f)5.374 F
2076.374(actored into the v)-.1 F .373(alue used to sort)-.25 F 2.263
2077(the mo)72 600 R -.15(ve)-.15 G 2.263(s, based on def).15 F 2.263(ault \
2078settings that you can modify by using the command "bookw option N")-.1 F
2079("option" should be "freq", "ratio", "e)72 612 Q -.25(va)-.25 G
2080(l" and "learn".).25 E 2.5(Ns)5 G(hould be a number between 0 and 1.)
2081-2.5 E .241(Crafty \214nds the min and max v)72 636 R .241(alues for ea\
2082ch of the 4 parameters, and then maps this into the range 0-1000)-.25 F
20831.079(for each parameter)72 648 R 6.079(.E)-.55 G 1.079
2084(ach parameter is multiplied by the corresponding "weight" you ha)-6.079
2085F 1.38 -.15(ve a)-.2 H 1.08(ssigned, and).15 F .388(this is used as a v)
208672 660 R .388(alue to sort the mo)-.25 F -.15(ve)-.15 G 2.888(sf).15 G
2087.388(rom lo)-2.888 F 2.888(wt)-.25 G 2.888(oh)-2.888 G 2.888(igh. Note)
2088-2.888 F .388(that the \214rst sort v)2.888 F .387(alue is al)-.25 F -.1
2089(wa)-.1 G .387(ys the "play).1 F .539(percent" to mo)72 672 R .839 -.15
2090(ve t)-.15 H .539(hem to the top of the list.).15 F -.15(Fo)5.539 G 3.04
2091(rm).15 G -.15(ove)-3.04 G 3.04(sw).15 G .54(ith equal "play percent" v)
2092-3.04 F .54(alues, the normal sort-)-.25 F -.25(va)72 684 S .253
2093(lue is used as the second-le).25 F -.15(ve)-.25 G 2.753(ls).15 G .253
2094(ort v)-2.753 F .253(ariable \(if no mo)-.25 F -.15(ve)-.15 G 2.753(sh)
2095.15 G -2.25 -.2(av e)-2.753 H 2.753(ap)2.953 G .253
2096(lay-percent, then this second-le)-2.753 F -.15(ve)-.25 G 2.752(lv).15 G
2097(ari-)-3.002 E(able is the only one used, of course.\))72 696 Q 1.188
2098(Once Crafty has sorted the mo)72 720 R -.15(ve)-.15 G 3.688(sa).15 G
20993.688(sg)-3.688 G -2.15 -.25(iv e)-3.688 H 3.688(na).25 G(bo)-3.688 E
2100-.15(ve)-.15 G 3.688(,i).15 G 3.688(tn)-3.688 G -.15(ex)-3.688 G 3.688
2101(te).15 G 1.188(xcludes an)-3.838 F 3.689(yb)-.15 G 1.189(ook mo)-3.689
2102F -.15(ve)-.15 G 3.689(sw).15 G 1.189(hich ha)-3.689 F 1.489 -.15
2103(ve 0 w)-.2 H(ins.).15 E EP
2104%%Page: 19 19
2105%%BeginPageSetup
2106BP
2107%%EndPageSetup
2108/F0 10/Times-Roman@0 SF .591(This culls the odd lines where a player ch\
2109ose a bad line and lost quickly)72 96 R 5.59(.W)-.65 G .59
2110(ith zero wins, it will ne)-5.99 F -.15(ve)-.25 G 3.09(rb).15 G(e)-3.09
2111E .961(chosen, although Crafty will happily follo)72 108 R 3.462(wi)-.25
2112G 3.462(tf)-3.462 G .962(rom the other side.)-3.462 F 3.462(:\) This)
21135.962 F .962(is not an)3.462 F .962(ywhere near perfect,)-.15 F(ho)72
2114120 Q(we)-.25 E -.15(ve)-.25 G .8 -.4(r, b).15 H
2115(ecause an opening could ha).4 E .3 -.15(ve 1 w)-.2 H
2116(in and 19 losses and that still w).15 E(ould stay in the list.)-.1 E
2117.222(If a mo)72 144 R .522 -.15(ve h)-.15 H .222(as a learned v).15 F
2118.221(alue of > 100, this mo)-.25 F .521 -.15(ve i)-.15 H 2.721(se).15 G
2119(le)-2.721 E -.25(va)-.25 G .221(ted in priority to that of a ! mo).25 F
2120-.15(ve)-.15 G 2.721(,s).15 G .221(ince it appears)-2.721 F
2121(to win material instantly)72 156 Q 5(.I)-.65 G 2.5(fav)-5 G
2122(alue is < -100, it is gi)-2.75 E -.15(ve)-.25 G 2.5(na?s).15 G
2123(ince it appears to be a lemon.)-2.5 E .426
2124(After this, the setting for "book width <w>" is used to k)72 180 R .427
2125(eep the \214rst <w> mo)-.1 F -.15(ve)-.15 G 2.927(si).15 G 2.927(nt)
2126-2.927 G .427(he list, after the abo)-2.927 F -.15(ve)-.15 G 1.012
2127(culling has been completed.)72 192 R 1.012(The smaller you mak)6.012 F
21283.512(e<)-.1 G 1.012(w> the less randomness you get, b)-3.512 F 1.011
2129(ut the chance of)-.2 F(Crafty popping out a really bizarre book mo)72
2130204 Q .3 -.15(ve g)-.15 H(ets smaller as well.).15 E .311
2131(After sorting, the \214nal step is to fold in an)72 228 R 2.811(ym)-.15
2132G .311(andatory "play percent" v)-2.811 F 2.811(alues. What)-.25 F .311
2133(this step does is that it)2.811 F .757(\214nds all the mo)72 240 R -.15
2134(ve)-.15 G 3.257(si).15 G 3.257(nt)-3.257 G .757(he "playable mo)-3.257
2135F 1.057 -.15(ve s)-.15 H .757(et" just computed, which ha).15 F 1.057
2136-.15(ve n)-.2 H 3.257(op).15 G .757(ercent-to-play v)-3.257 F .757
2137(alue set.)-.25 F(It)5.757 E .382(sums the sort-v)72 252 R .382
2138(alues for these mo)-.25 F -.15(ve)-.15 G .382
2139(s, then adjusts the sort-v).15 F .382(alues for the other mo)-.25 F
2140-.15(ve)-.15 G 2.883(ss).15 G 2.883(ot)-2.883 G .383(hat their percent-)
2141-2.883 F(ages will be honored.)72 264 Q .072
2142(Once this has been done, crafty simply uses the "sort v)72 288 R .071
2143(alue" for each mo)-.25 F .371 -.15(ve t)-.15 H 2.571(oc).15 G .071
2144(ompute a total for all mo)-2.571 F -.15(ve)-.15 G(s.).15 E .177(It the\
2145n generates a random number between 1 and this limit, and chooses the m\
2146o)72 300 R .477 -.15(ve t)-.15 H .177(hat this probability dis-).15 F
2147(trib)72 312 Q(ution matches.)-.2 E(This will certainly e)5 E -.2(vo)
2148-.25 G(lv).2 E 2.5(eo)-.15 G -.15(ve)-2.65 G 2.5(rt).15 G(ime as ne)-2.5
2149E 2.5(wi)-.25 G(deas are de)-2.5 E -.15(ve)-.25 G(loped.).15 E -.15(Fo)
215072 336 S 3.349(rm).15 G 3.349(yp)-3.349 G .849
2151(lay on ICC, I use book random 1, and book width 5 normally)-3.349 F
21523.349(,a)-.65 G .849(lthough for titled players this is)-3.349 F .54
2153(reduced to book width 3.)72 348 R -.15(Fo)5.54 G 3.04(rc).15 G .541(om\
2154puters, I reduce this further to 2, to try to play reasonable openings \
2155and)-3.04 F(cull the g)72 360 Q(ambits and things that don')-.05 E 2.5
2156(tw)-.18 G(ork out.)-2.6 E(Ho)72 384 Q 2.5(wd)-.25 G
2157(oes book learning w)-2.5 E(ork and ho)-.1 E 2.5(wc)-.25 G
2158(an I share learned results?)-2.5 E 3.943(1. *all*)72 408 R 1.443
2159(of crafty')3.943 F 3.943(s")-.55 G 1.443(learned kno)-3.943 F 1.442
2160(wledge" is in the book.bin \214le.)-.25 F 1.442(It k)6.442 F 1.442
2161(eeps the learned v)-.1 F 1.442(alue and learned)-.25 F .414
2162(count right in the book \214le for speed.)72 420 R -1.1(Yo)5.414 G
21632.914(uc)1.1 G(an')-2.914 E 2.914(tm)-.18 G .414
2164(odify it, although "sho)-2.914 F 2.914(wb)-.25 G .414(ook" will mak)
2165-2.914 F 2.914(ec)-.1 G .414(rafty display)-2.914 F(all the book stuf)72
2166432 Q 2.5(fb)-.25 G(efore it mak)-2.5 E(es a mo)-.1 E -.15(ve)-.15 G(.)
2167.15 E 3.206(2. the)72 456 R .706(book.lrn \214le has tw)3.206 F 3.206
2168(op)-.1 G 3.206(urposes: \(a\))-3.206 F .706(to serv)3.206 F 3.206(ea)
2169-.15 G 3.205(sal)-3.206 G .705(og for your prying e)-3.205 F .705
2170(yes, so you can see what it')-.15 F(s)-.55 E .012(learned, ag)72 468 R
2171.012(ainst whom, and what the score w)-.05 F .012
2172(as that got its attention in the \214rst place.)-.1 F .012(The v)5.012
2173F .012(alues on the end)-.25 F
2174(of each book line, inside the {} characters are as follo)72 480 Q(ws:)
2175-.25 E({v)82 492 Q 1.703(alue, depth, rating_dif)-.25 F 1.703
2176(ference} v)-.25 F 1.703(alue is the v)-.25 F 1.703(alue of the "k)-.25
2177F -.15(ey)-.1 G 4.202("s).15 G 1.702
2178(earch that comes from the \214rst 10)-4.202 F(mo)72 504 Q -.15(ve)-.15
2179G 2.849(so).15 G .349(ut of book.)-2.849 F(it')5.349 E 2.849(si)-.55 G
21802.849(nc)-2.849 G(entipa)-2.849 E .349(wns, and + is good - is bad.)-.15
2181F .35(depth is the depth the search reached at this)5.35 F("k)72 516 Q
2182-.15(ey)-.1 G 3.151("p).15 G .651
2183(osition, the deeper the search, the more the v)-3.151 F .651
2184(alue is "trusted.")-.25 F(rating_dif)5.65 E .65(ference is crafty')-.25
2185F 3.15(sr)-.55 G .65(ating -)-3.15 F(opponent')72 528 Q 3.08(sr)-.55 G
2186.58(ating a ne)-3.08 F -.05(ga)-.15 G(ti).05 E .88 -.15(ve v)-.25 H .58
2187(alue means pay more attention to the score since the opponent is bette\
2188r than)-.1 F(crafty)72 540 Q 2.973(,ap)-.65 G(ositi)-2.973 E .773 -.15
2189(ve v)-.25 H .473(alue means to tak)-.1 F 2.973(et)-.1 G .473
2190(he score with a grain of salt, because the opponent w)-2.973 F .472
2191(as weak)-.1 F .472(er than)-.1 F(Crafty)72 552 Q(.)-.65 E -1.1(Yo)72
2192576 S 3.544(uc)1.1 G 1.044(an delete this \214le at an)-3.544 F 3.544
2193(yt)-.15 G 1.044(ime, and it has no ef)-3.544 F 1.045(fect on learning.)
2194-.25 F 1.045(As I mentioned, the learning tak)6.045 F(es)-.1 E .943(pla\
2195ce in book.bin... this is mainly for you to peek at if you are interest\
2196ed.)72 588 R(Ho)5.942 E(we)-.25 E -.15(ve)-.25 G 1.742 -.4(r, t).15 H
2197.942(his is the "portable).4 F .437
2198(learning data \214le" also, and can be gi)72 600 R -.15(ve)-.25 G 2.937
2199(nt).15 G 2.937(oo)-2.937 G .437(thers to import into their crafty)
2200-2.937 F 2.937(,w)-.65 G .437(here it will af)-2.937 F .437
2201(fect the open-)-.25 F .341(ing book just lik)72 612 R 2.841(et)-.1 G
2202.341(heir crafty had played the openings and got the same scores.)-2.841
2203F .341(There are tw)5.341 F 2.841(ow)-.1 G .341(ays to use)-2.941 F
2204(such "lrn" \214les:)72 624 Q 2.567(1. "import)72 648 R .067
2205(<\214lename>" will read <\214lename> and import the kno)2.567 F .068
2206(wledge therein into your book.bin.)-.25 F .068(Since I)5.068 F .614
2207(use the same learning code as is used when playing g)72 660 R .614
2208(ames, this information also gets appended to *your*)-.05 F .548
2209(book.lrn \214le as well, so that your book.lrn al)72 672 R -.1(wa)-.1 G
2210.548(ys re\215ects *e).1 F -.15(ve)-.25 G .548
2211(rything* your program has learned, so long).15 F .696(as you don')72
2212684 R 3.196(te)-.18 G -.15(ve)-3.446 G 3.196(rr).15 G(emo)-3.196 E .996
2213-.15(ve t)-.15 H .696(his \214le.).15 F .696(It w)5.696 F .696
2214(ould be a mistak)-.1 F 3.196(et)-.1 G 3.196(ou)-3.196 G .696
2215(se this command on your o)-3.196 F .696(wn book.lrn \214le,)-.25 F
2216(because the things w)72 696 Q
2217(ould get counted twice, which might or might not be a good thing.)-.1 E
22182.688(2. "import)72 720 R .188
2219(<\214lename> clear" will read <\214lename\) and import the kno)2.688 F
2220.188(wledge as abo)-.25 F -.15(ve)-.15 G 2.688(,b).15 G .189
2221(ut \214rst clears *all*)-2.888 F EP
2222%%Page: 20 20
2223%%BeginPageSetup
2224BP
2225%%EndPageSetup
2226/F0 10/Times-Roman@0 SF .817(learned results from book.bin.)72 96 R .817
2227(you will w)5.817 F .817
2228(ant to do this if you import my book.lrn, *and*, you ha)-.1 F 1.116
2229-.15(ve c)-.2 H(on-).15 E(trib)72 108 Q .025
2230(uted to my book.lrn data by sending me yours.)-.2 F(I')5.025 E .025
2231(ll tak)-.1 F 2.525(ec)-.1 G .025
2232(are of eliminating duplicates if you scre)-2.525 F 2.526(wu)-.25 G
22332.526(pi)-2.526 G(n)-2.526 E .373(what you send me, b)72 120 R .373
2234(ut once you send me something, you run the risk of getting it "back ag)
2235-.2 F .373(ain" later)-.05 F 5.373(.T)-.55 G(his)-5.373 E 1.676
2236(is going to be a problem until e)72 132 R -.15(ve)-.25 G 1.676
2237(ryone gets used to sharing something that is rather "v).15 F 1.677
2238(apid" lik)-.25 F 4.177(et)-.1 G(his)-4.177 E("learned info" is...)72
2239144 Q .761(Other than that, we are no)72 168 R 3.261(w")-.25 G .761
2240(open for b)-3.261 F 3.261(usiness"... when)-.2 F .761(the ur)3.261 F
2241.761(ge strik)-.18 F .761(es you, email me your .lrn \214le, I')-.1 F
2242(ll)-.1 E -.1(ke)72 180 S .772(ep a lar).1 F .773
2243(ge master here and update it on occasion.)-.18 F .773
2244(Probably the best thing to do is to send me your .lrn)5.773 F .211
2245(and at the same *instant* delete yours.)72 192 R .211
2246(This will capture an)5.211 F .211
2247(ything learned *after* you send me the \214le, b)-.15 F(ut)-.2 E(you')
224872 204 Q .283(ll get it all right back with the ne)-.1 F .283(xt v)-.15
2249F .283(ersion of book.lrn that I distrib)-.15 F 2.783(ute. after)-.2 F
2250.284(getting this ne)2.783 F 2.784(wb)-.25 G(ook.lrn)-2.784 E
2251(back, here')72 216 Q 2.5(sw)-.55 G(hat you should do:)-2.5 E 2.5
2252(1. rename)72 240 R(your old book.lrn to something else.)2.5 E(I')5 E
2253(ll call it "book.lrn.old" here.)-.1 E 4.559(2. cop)72 264 R 4.559(ym)
2254-.1 G 4.559(yb)-4.559 G 2.059(learn.dat to your machine, b)-4.559 F
22552.058(ut *do not* put it in the directory with your book.bin and)-.2 F
2256.352(books.bin \214le because it will get confusing v)72 276 R .353
2257(ery quickly if you do.)-.15 F .353(put it some)5.353 F .353
2258(where else, because you are)-.25 F(going to remo)72 288 Q .3 -.15(ve i)
2259-.15 H 2.5(tq).15 G(uickly an)-2.5 E(yw)-.15 E(ay)-.1 E 5(.I)-.65 G -.1
2260('l)-5 G 2.5(lc).1 G(all it ne)-2.5 E -.65(w.)-.25 G(lrn for this e).65
2261E(xample.)-.15 E 2.5(3. import)72 312 R(ne)2.5 E -.65(w.)-.25 G
2262(lrn clear).65 E(import book.lrn.old)82 324 Q .139
2263(and you are ready to rumble ag)72 348 R 2.639(ain. The)-.05 F .139
2264(\214rst command clears the learned v)2.639 F .139
2265(alues, sucks in my ne)-.25 F 2.639(wl)-.25 G .138(earn \214le)-2.639 F
22661.086(and updates e)72 360 R -.15(ve)-.25 G 3.586(rything. the).15 F
22671.086(second command re-learns e)3.586 F -.15(ve)-.25 G 1.086
2268(rything you').15 F 1.387 -.15(ve l)-.5 H 1.087
2269(earned since you sent me the).15 F .227(last book.lrn \214le.)72 372 R
2270.226(After doing this your book.lrn will ha)5.226 F .526 -.15(ve m)-.2 H
22712.726(y.).15 G .226(lrn stuf)-2.726 F .226(f, plus your old.lrn stuf)
2272-.25 F .226(f, just w)-.25 F(aiting)-.1 E(to be sent to me ag)72 384 Q
2273(ain...)-.05 E .561(If this is confusing, I can probably add an automat\
2274ic command to do all of this by renaming book.lrn, etc.)72 408 R
2275(Hopefully this is not too error)72 420 Q(-prone for the time being an)
2276-.2 E(yw)-.15 E(ay)-.1 E(...)-.65 E(What is this ne)72 444 Q 2.5(wP)-.25
2277G(osition Learning I')-2.5 E .3 -.15(ve h)-.5 H(eard about?).15 E .73
2278(Crafty no)72 468 R 3.23(wh)-.25 G .73
2279(as a "permanent" hash table that is k)-3.23 F .729(ept from g)-.1 F
2280.729(ame to g)-.05 F 3.229(ame. A)-.05 F .729
2281(position gets into this "hash)3.229 F(\214le" when Crafty e)72 480 Q
2282-.15(xe)-.15 G(cutes a search and the search v).15 E
2283(alue is signi\214cantly lo)-.25 E(wer than the last search v)-.25 E
2284(alue.)-.25 E .197(When this happens, Crafty stores the current informa\
2285tion for this position in the permanent hash \214le, which)72 504 R .24
2286(can hold up to 65536 positions.)72 516 R .24
2287(Once it \214lls up, the positions are replaced on a FIFO basic al)5.24
2288F -.1(wa)-.1 G .24(ys k).1 F(eeping)-.1 E(the most recent 64K entries.)
228972 528 Q .439(Each time crafty starts a search, the positions/scores fr\
2290om this \214le are stuf)72 552 R .44(fed into the normal transposition)
2291-.25 F .752(table, and used during the search just lik)72 564 R 3.252
2292(ea)-.1 G 1.052 -.15(ny o)-3.252 H .752(ther table entry).15 F 5.752(.H)
2293-.65 G(ere')-5.752 E 3.252(sh)-.55 G 1.252 -.25(ow i)-3.252 H 3.252(th)
2294.25 G 3.252(elps: In)-3.252 F 3.252(ag)3.252 G .752(ame that w)-3.302 F
2295(as)-.1 E(played, the follo)72 576 Q(wing mo)-.25 E -.15(ve)-.15 G 2.5
2296(sa).15 G(nd scores were found by crafty \(playing white\):)-2.5 E 2.5
2297(1. Ng5)72 600 R 2.5(\(+.277\) h6)2.5 F 2.5(2. Nh7)2.5 F 2.5
2298(\(+.321\) Kg8)2.5 F 2.5(3. Qh5)2.5 F 2.5(\(+.133\) Qg7)2.5 F 2.5
2299(4. Ng5)2.5 F(\(-2.122\) hxg5)2.5 E 2.004
2300(So, the knight got trapped at h7, and at mo)72 624 R 2.305 -.15(ve 4 c)
2301-.15 H 2.005(rafty disco).15 F -.15(ve)-.15 G 2.005
2302(red that this is gross and "learns" this).15 F(result/position.)72 636
2303Q 2.311 -.8(We p)72 660 T .711(lay the e).8 F .711(xact same g)-.15 F
2304.711(ame ag)-.05 F 3.211(ain: e)-.05 F .711(xcept that tw)-.15 F 3.211
2305(ot)-.1 G .71(hings can happen here.)-3.211 F .71
2306(It might be that Ng7 is the)5.71 F .399
2307(*only* square the knight can mo)72 672 R .699 -.15(ve t)-.15 H 2.899
2308(oh).15 G .399(ere, which means this whole thing is forced.)-2.899 F
2309.399(the \214rst search w)5.399 F(ould)-.1 E(\214nd:)72 684 Q 3.088
2310(1. Ng5)72 708 R .588
2311(\(-2.122\) if the search can reach 8 plies deep, which happens e)3.088
2312F -.15(ve)-.25 G 3.088(ni).15 G 3.088(n5s)-3.088 G .588(econd g)-3.088 F
23133.087(ames. It')-.05 F 3.087(sl)-.55 G(earned)-3.087 E .023
2314(that Ng5 is bad.)72 720 R .024(It stores *this* position in the perman\
2315ent hash \214le also, and the ne)5.023 F .024(xt time you try this same)
2316-.15 F EP
2317%%Page: 21 21
2318%%BeginPageSetup
2319BP
2320%%EndPageSetup
2321/F0 10/Times-Roman@0 SF .447(trap, it will disco)72 96 R -.15(ve)-.15 G
23222.947(r4).15 G .447(-5 mo)-2.947 F -.15(ve)-.15 G 2.947(se).15 G .447
2323(arlier that if the knight gets to g5 it is in trouble.)-2.947 F .446
2324(Each g)5.446 F .446(ame will di)-.05 F -.15(ve)-.25 G -.18(rg).15 G(e)
2325.18 E(from the \214rst g)72 108 Q(ame 3-4 mo)-.05 E -.15(ve)-.15 G 2.5
2326(se).15 G(arlier)-2.5 E 5(.S)-.55 G(imple and ef)-5 E(fecti)-.25 E -.15
2327(ve)-.25 G(.).15 E 3.507(2. Ng5)72 132 R 1.007
2328(might not be forced, and if not, it kno)3.507 F 1.007
2329(ws Ng5 loses a piece for a pa)-.25 F 1.008
2330(wn, so it will promptly play)-.15 F(something else, which is e)72 144 Q
2331(xactly what is desired.)-.15 E .81(This is implemented with tw)72 168 R
23323.31(o\()-.1 G .81(count 'em, tw)-3.31 F .81(o\) \214les.)-.1 F .81
2333(One \214le "position.bin" is a binary \214le that contains)5.81 F .03
2334(the hash table entries, and it right at one me)72 180 R -.05(ga)-.15 G
2335.03(byte in size, *max*.).05 F .03
2336(\(16 bytes per hash entry X 65536 entries)5.03 F 2.517(=e)72 192 S .017
2337(xactly one me)-2.667 F .017(g, b)-.15 F .017(ut I ha)-.2 F .317 -.15
2338(ve 8 ex)-.2 H .016
2339(tra bytes for the FIFO queue implementation and to see ho).15 F 2.516
2340(wm)-.25 G(an)-2.516 E 2.516(ye)-.15 G(ntries)-2.516 E
2341(are currently in the \214le if it is not full.)72 204 Q 1.773(The seco\
2342nd \214le is "position.lrn" and is, you guessed it, a \214le that can b\
2343e shared with others, just lik)72 228 R(e)-.1 E 3.08(book.lrn. It)72 240
2344R .58(contains all information needed to reconstruct the position, the \
2345score, the depth, etc.)3.08 F .58(and also)5.58 F
2346(included the pgn tags for who w)72 252 Q(as what color and when the g)
2347-.1 E(ame w)-.05 E(as played...)-.1 E 1.099
2348(This data can be imported with the ne)72 276 R 3.599(w")-.25 G 1.1
2349(import" command \(the old book learn <\214lename> is no longer)-3.599 F
2350.104(around\) which will import either book.lrn type data or position.l\
2351rn type data and can tell them apart without)72 288 R .005(your ha)72
2352300 R .005(ving to do an)-.2 F 2.505(ything. The)-.15 F .005
2353(<clear> option is still there, should you w)2.505 F .006
2354(ant to use it, and simply remo)-.1 F -.15(ve)-.15 G(s).15 E(the positi\
2355on.lrn and position.bin \214les before starting the import process for \
2356position learning.)72 312 Q .976(This can be turned of)72 336 R .975
2357(f, if you lik)-.25 F .975
2358(e, by checking out the "learn" command, which gi)-.1 F -.15(ve)-.25 G
23593.475(sy).15 G .975(ou the ability to)-3.475 F .035(turn of)72 348 R
23602.535(fb)-.25 G .036(ook learning \(as it presently w)-2.535 F .036
2361(orks\), position learning, and the ne)-.1 F .036
2362(xt book learning stage which will)-.15 F(add to the book in addition t\
2363o learning which book lines are good and bad.)72 360 Q(What is this ne)
236472 384 Q 2.5(w")-.25 G(result" learning?)-2.5 E .386(Result learning w)
236572 408 R .386(orks just lik)-.1 F 2.886(en)-.1 G .386
2366(ormal book learning, e)-2.886 F .386
2367(xcept that if Crafty is checkmated or resigns, it will)-.15 F .548(ste\
2368p back through the book line to \214nd the last point where it had more\
2369 than one mo)72 420 R .848 -.15(ve t)-.15 H 3.048(oc).15 G .549
2370(hoose from.)-3.048 F(It)5.549 E(will \215ag the mo)72 432 Q .3 -.15
2371(ve i)-.15 H 2.5(tc).15 G(hose as "ne)-2.5 E -.15(ve)-.25 G 2.5(rp).15 G
2372(lay ag)-2.5 E(ain".)-.05 E .151
2373(This handles the case where the \214rst ten non-book mo)72 456 R -.15
2374(ve)-.15 G 2.651(sp).15 G .151(roduce reasonable scores, b)-2.651 F .151
2375(ut the position is one)-.2 F .398(that Crafty simply can')72 468 R
23762.898(th)-.18 G .398(andle v)-2.898 F .398(ery well.)-.15 F .399
2377(If it loses such a g)5.398 F .399(ame, it will still v)-.05 F .399
2378(ary the ne)-.25 F .399(xt time this open-)-.15 F 1.843
2379(ing is played, as otherwise it w)72 480 R 1.842
2380(ould possibly repeat the same opening, and w)-.1 F 1.842
2381(ould certainly repeat the)-.1 F(remainder of the g)72 492 Q(ame.)-.05 E
2382.33(All three learning modes are turned on by def)72 516 R .33
2383(ault, although an)-.1 F 2.83(yo)-.15 G 2.83(ft)-2.83 G .33
2384(hem can be disabled with the appropri-)-2.83 F
2385(ate command option to "learn".)72 528 Q EP
2386%%Trailer
2387end
2388%%EOF
This page took 0.515372 seconds and 4 git commands to generate.