Author: Dann Corbit
Date: 22:15:14 12/21/99
Go up one level in this thread
On December 22, 1999 at 00:45:47, Paulo Soares wrote:
[snip]
>Thanks a lot more one time. BTW, can you give an easy
>example how I can test a position after I run the program?
>Sorry, but I don't obtain this, and I don't know what
>I am doing wrong.
The program can be run in two very different ways. It has its own language that
can be used. For instance:
E:\chest-3.19>type b
LE
f 8/6P1/5P2/1k6/8/p7/8/6K1
z8w
..
E:\chest-3.19>chest319 < b
CHEST version 3.19, 18-Dec-1999
Input file: STDIN
Reading job:
W: Kg1 Pf6 Pg7 (3)
B: Kb5 Pa3 (2)
FEN: 8/6P1/5P2/1k6/8/p7/8/6K1 w - -
analysing (mate in 8 moves):
Solution (in 8 moves):
Pg7 - g8Q
refu 1: g8=Q Kc6 [ 6-]
solu 1: a2 [ 6+]
solu 2: Kb6 [ 6+]
solu 3: Kc6 [ 7+]
solu 4: Kc5 [ 5+]
solu 5: Kb4 [ 5+]
solu 6: Ka5 [ 6+]
solu 7: Ka6 [ 6+]
solu 8: Ka4 [ 6+]
refu 2: g8=N a2 [ 7-]
refu 3: g8=R a2 [ 7-]
refu 4: g8=B a2 [ 7-]
refu 5: f7 a2 [ 7-]
refu 6: Kh1 a2 [ 7-]
refu 7: Kf1 a2 [ 7-]
refu 8: Kg2 a2 [ 7-]
refu 9: Kh2 a2 [ 7-]
refu 10: Kf2 a2 [ 7-]
Refu tab: 10 refu, 8 solu
Time (virt) = 11.827 sec
Now, let's look at the input file:
LE >>> Language is English
f 8/6P1/5P2/1k6/8/p7/8/6K1 >>> Fen Position
z8w >>> look for mate in 8 with white to move
.. >>> Then you are done.
Now, consider an EPD file input:
E:\chest-3.19>type hmm2.epd
; Test-Suite for CHEST: 2-movers
1n5b/3p4/1K1p4/2pN1Q2/Bpk1r1n1/8/8/BN1R1b1q w - - bm Kb7; c0 "Tagesspiegel, 1988
-11-27, Herbert Ahues (Urdruck)"; dm 2; id "CHEST-m2-001";
3N1r1r/3p3p/3p4/R2nk1PK/3np1Qp/8/4q2N/B4R2 w - - bm Rf7; c0 "Tagesspiegel, 1988-
12-18, Herbert Ahues (Urdruck)"; dm 2; id "CHEST-m2-002";
4K3/bB2p3/2R5/1q5p/6p1/1N1PNkP1/r4P2/5Q2 w - - bm Nf5; c0 "Tagesspiegel, 1989-02
-12, Herbert Ahues (Urdruck)"; dm 2; id "CHEST-m2-003";
4r3/2Q1p2p/4Bk1K/2p2Ppb/2NNp3/1n3n2/1B6/4b3 w - - bm Nd6; c0 "Tagesspiegel, 1991
-06-23, Herbert Ahues, Bremen (Urdruck), \"Zwei praezise Zuege\""; dm 2; id "CHE
ST-m2-004";
B7/8/2R1b3/3R1p2/8/8/8/5K1k w - - bm Rc3; c0 "Tagesspiegel, 1995-12-17, Wassili
Markowtzi, \"Die Schwalbe\" 1995"; dm 2; id "CHEST-m2-005";
Here is the output:
E:\chest-3.19>chest319 -b hmm2.epd
; Test-Suite for CHEST: 2-movers
1n5b/3p4/1K1p4/2pN1Q2/Bpk1r1n1/8/8/BN1R1b1q w - - acn 383; acs 0; bm Kb7; c0 "Ta
gesspiegel, 1988-11-27, Herbert Ahues (Urdruck)"; ce 32764; dm 2; id "CHEST-m2-0
01"; pv Kb7 b3 Na3#;
3N1r1r/3p3p/3p4/R2nk1PK/3np1Qp/8/4q2N/B4R2 w - - acn 144; acs 0; bm Rf7; c0 "Tag
esspiegel, 1988-12-18, Herbert Ahues (Urdruck)"; ce 32764; dm 2; id "CHEST-m2-00
2"; pv Rf7 Qxg4+ Nxg4#;
4K3/bB2p3/2R5/1q5p/6p1/1N1PNkP1/r4P2/5Q2 w - - acn 196; acs 0; bm Nf5; c0 "Tages
spiegel, 1989-02-12, Herbert Ahues (Urdruck)"; ce 32764; dm 2; id "CHEST-m2-003"
; pv Nf5 Qxc6+ Bxc6#;
4r3/2Q1p2p/4Bk1K/2p2Ppb/2NNp3/1n3n2/1B6/4b3 w - - acn 785; acs 0; bm Nd6; c0 "Ta
gesspiegel, 1991-06-23, Herbert Ahues, Bremen (Urdruck), \"Zwei praezise Zuege\"
"; ce 32764; dm 2; id "CHEST-m2-004"; pv Nd6 g4 Nxe4#;
B7/8/2R1b3/3R1p2/8/8/8/5K1k w - - acn 59; acs 0; bm Rc3; c0 "Tagesspiegel, 1995-
12-17, Wassili Markowtzi, \"Die Schwalbe\" 1995"; ce 32764; dm 2; id "CHEST-m2-0
05"; pv Rc3 f4 Rh5#;
Do you see how chest has added the direct mate count, count of nodes, and best
move to make?
HTH.
There are documents that explain it much better than me.
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.