Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Code for "krrkrb" missing in egtb.cpp (crafty et al.)

Author: Guido

Date: 00:05:54 06/06/01

Go up one level in this thread


IMHO in the last question you are right: it is possible to use one only
tablebase (.nbw or .nbb) to find the response for an ending position. I did it
with my tablebases, not with EGTB, seemingly with success, but the program
becames very complicated and cpu time increases consequently, so I abandon the
idea.

In fact, suppose you use a .nbw file, there are four possible situation:

1) you can use the .nbw tablebase directly
2) after exchange of the men colour you can use the .nbw tablebase directly
3) you have to make a ply and after you can use the .nbw tablebase
4) you have to make a ply and exchange the men colour and then you can use the
.nbw tablebase

But in the two last cases you have to analize all the possible plies to find the
best result, but what happens if the ply is a promotion or a capture? Obviously
you have to load another tablebase and  repeat the procedure; moreover the
loaded tablebase could not be used directly, but it could need an exchange of
men colour or, in the worst case, the execution of another ply or both. And this
process could continue so the code must be recursive.
During this process you have to save the best result for the player, keeping
into account every time you need of a ply or of an exchange of colour. Very
simple :-)!

So my opinion is that the game is not worth the candle (italian: il gioco non
vale la candela)

Ciao
Guido Antonelli




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.