Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: EGTBs

Author: James Swafford

Date: 12:23:31 09/09/99

Go up one level in this thread


On September 08, 1999 at 08:22:19, frank phillips wrote:

>After struggling with EGTBs for a while, I finally got them working with help
>and suggestion from one or two people here - thanks.
>
>Thanks also to Eugene for making them available in the first place.
>
>My last difficulty was caused by an inability to read, forgetting advice on
>examination technique about reading the question first before answering - rather
>than assuming it says what you expect it to.
>
>Failure to solve this position was frustrating
>
>8/5p2/2k5/K7/8/1P6/8/8 b - - 0 1
>
>And made me think that my implementation was not working until I realised that
>Eugene really meant
>
>sqEnP=XX;  //square of en-passant capture, IF IT'S POSSIBLE, or XX
>
>ie that the stm can actually make an enpassant capture.  Not just that there is
>an enpassant square.  Just in case others struggling out there also do not read
>what is actually written, as well.  Come to think of it, now I know, the
>capitals are a pretty big hint...........
>
>
>Frank
>
>Ps the solution is Kd5/Kd4 then f7-f5.  My program was seeing the king moves as
>wins but could not find the pawn move.

Ahh.. those wretched e.p. captures have caused me grief before, too.
One of my "favorite" bugs was when my program tried to promote
a b7 pawn to a8, *without* capturing.  If no en passant was possible,
ep_square was = 0, and a8 = 0. :-)

To top it all off, the program was playing on ICC, and had a won
game.  I was forced to resign on its behalf...

--
James




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.