Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Two WAC positions (Crafty's output)

Author: Robert Hyatt

Date: 19:40:58 10/21/03

Go up one level in this thread


On October 21, 2003 at 20:59:58, Sune Fischer wrote:

>On October 21, 2003 at 16:05:39, Robert Hyatt wrote:
>
>Bob, I'm curious, how do you format this output?
>The score is right-aligned and the PV nicely broken and indented, how do you do
>that?

You have to do the PV "manually".  IE first produce the entire PV in a
string, then copy parts to an output line up until a " " which forms a
convenient "break" point.

Score is done the same way.  you can always use a field width specifier
%6.2f (6 cols wide, 2 decimel digits, assuming you output on float by
dividing an int by 100.0



>
>Does x-/winboard accept this output or do you build a new string specially for
>xboard?

I think xboard/winboard has a specific format, although what you put in it
is ok.  IE I send my Mat07 type scores and xboard is perfectly happy (I think).

>
>-S.
>
>>Here is crafty's output for the first one.  Certainly proves that Bd3 is
>>a reasonable move, with at least a mate in 41:
>[...]
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. d6+ cxd6
>>                                    10. Re1+ Re6 11. Kf1
>>               10->   2.81  -6.31   1. ... Qg2+ 2. Nxg2 hxg2+ 3. Kxg2 Bf3+
>>                                    4. Qxf3 exf3+ 5. Kg1 Rf5 6. Rfe1 Rfh5
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. d6+ cxd6
>>                                    10. Re1+ Re6 11. Kf1
>>               11     2.89     ++   1. ... Qg2+!!
>>               11->   3.41  -6.70   1. ... Qg2+ 2. Nxg2 hxg2+ 3. Kxg2 Bf3+
>>                                    4. Qxf3 exf3+ 5. Kg1 Rf5 6. Rfe1 Rfh5
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. d6+ cxd6
>>                                    10. Re1+ Re6 11. Kf1
>>               12     3.56     ++   1. ... Qg2+!!
>>               12     4.32 -Mat11   1. ... Qg2+ 2. Nxg2 hxg2+ 3. Kxg2 Bf3+
>>                                    4. Qxf3 exf3+ 5. Kg1 Rf5 6. Rfe1 Rfh5
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. Re1+ Kd8
>>                                    10. Re8+ Kxe8 11. dxc6 Rh1#
>>               12->   4.98 -Mat11   1. ... Qg2+ 2. Nxg2 hxg2+ 3. Kxg2 Bf3+
>>                                    4. Qxf3 exf3+ 5. Kg1 Rf5 6. Rfe1 Rfh5
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. Re1+ Kd8
>>                                    10. Re8+ Kxe8 11. dxc6 Rh1#
>>               13     7.36 -Mat11   1. ... Qg2+ 2. Nxg2 hxg2+ 3. Kxg2 Bf3+
>>                                    4. Qxf3 exf3+ 5. Kg1 Rf5 6. Rfe1 Rfh5
>>                                    7. Re8+ Kf7 8. Re7+ Kxe7 9. Re1+ Kd8
>>                                    10. Re8+ Kxe8 11. dxc6 Rh1#



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.