Author: Johan Melin
Date: 00:54:11 06/09/03
Go up one level in this thread
On June 08, 2003 at 15:38:08, Johan Hutting wrote: >My code seemed to work ok, up to a game in which this position showed up: >[D]8/8/2K1k3/8/4Pp2/5P2/8/8 w - - 0 85 > >Celes played e4-e5 here, with a mate in 23 score. >note that I only had 3/4men TBs installed at that moment. > >However, celes doesn't consider Kxe5 after e5 because it returns a matescore: >setboard 8/8/2K5/4k3/5p2/5P2/8/8 w - - >dumpegtb >EGTB score: 32738 That result would be correct if it was black to move. Since material is symmetric things might get flipped around, but perhaps you didn't flip side to move? /Johan Melin >(after Kc5) >setboard 8/8/8/2K1k3/5p2/5P2/8/8 b - - >dumpegtb >EGTB score: 0 > >Suddenly it's a draw instead of mate :( >after 8/8/2K5/4k3/5p2/5P2/8/8 w - - >this is send to the TBs: >ind = PfnIndCalc(iTb, side_to_move) (psqW, psqB, sqEnP, fInvert); > iTb = 6 > side_to_move = 0 > psqW [6, 1, 0, 0, 36, 29, 0, 0] > psqB [6, 1, 0, 0, 42, 21, 0, 0] > sqEnP 127 > fInvert 1 >returnvalue (ind) = 1840412 > >Could someone verify these are the correct values?
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.