Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty and EGTB Question

Author: Mike Byrne

Date: 17:44:23 06/16/04

Go up one level in this thread


On June 16, 2004 at 20:27:45, Ed Trice wrote:

>I have in my crafty.rc file:
>
>tbpath=D:\Tablesbases
>egtb
>
>I runup an interesting game to the point where crafty would display:
>
>end-game phase
>
>After conducting a search of 15 plies, I still get:
>
>endgame tablebase-> probes = 0 hits = 0
>
>1. Is there a threshhold of simplication that must occur in the parent position
>before the endgame tablebases will be probed?
>
>2. Is there a way to "force" crafty to probe the endgame tablebases during the
>search?
>
>Any feedback would be appreciated.


Just set up a postion at the command prompt KBQk, set noise to one and type "go"

[d] 7k/8/8/8/8/8/8/5BNK w - - 0 1

You can just copy and paste the fen string above right into the console under
Win2K and you will get this

1. Kh2 Kg7 2. Kg3! Kf6 3. Kf4! Ke6 4. Bc4+! Kd6 5. Ke4! Kc5 6. Bd5!
Kb4 7. Kd4! Ka3! 8. Kc3! Ka4 9. Bc4! Ka5! 10. Nh3 Kb6! 11. Nf4 Kc5
12. Ng6! Kb6 13. Kb4! Kc6! 14. Bf7 Kd6! 15. Kb5! Kc7 16. Kc5! Kb7
17. Be8 Kc7 18. Bc6! Kc8 19. Nf8 Kd8! 20. Kd6! Kc8 21. Nd7! Kd8 22.
Nc5! Kc8 23. Bd7+! Kb8! 24. Kc6! Ka7! 25. Kc7! Ka8 26. Kb6! Kb8 27.
Na6+! Ka8 28. Bc6#

if you then type "go" ,you will get this (with noise=1)

the "!" are best moves when there is only one best move

White(1): go
end-game phase
              clearing hash tables
              time surplus   0.00  time limit 22.50 (3:30)
              time surplus   0.00  time limit 22.50 (3:30)
              depth   time  score   variation (1)
                1     0.00   7.69   1. Kh2
                1->   0.00   7.69   1. Kh2
                2     0.00     +1   1. Kh2!!
                2     0.00     +3   1. Kh2!!
                2     0.00     +M   1. Kh2!!
                2     0.00  Mat28   1. Kh2 <EGTB>
                2->   0.00  Mat28   1. Kh2 <EGTB>
                3     0.00  Mat28   1. Kh2 <EGTB>
                3->   0.00  Mat28   1. Kh2 <EGTB>
                4     0.00  Mat28   1. Kh2 <EGTB>
                4->   0.02  Mat28   1. Kh2 <EGTB>
              time=0.02  cpu=0%  mat=6  n=15  fh=100%  nps=10K
              ext-> chk=0 cap=0 pp=0 1rep=0 mate=0
              predicted=0  nodes=15  evals=1  50move=0
              endgame tablebase-> probes=2  hits=2
              SMP->  split=0  stop=0  data=0/128  cpu=0.00  elap=0.02

mate in 28 moves.


White(1): Kh2
              time used:   0.02

I use this in crafty.rc (with other commands)
==============================
tbpath=d:\tb
egtb
exit     -> "exit" command required in crafty.rc
         -> "blank line" not required, but out of habit, having a "blank line"
as your last line ensures a return key
==============================



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.