Computer Chess Club Archives


Search

Terms

Messages

Subject: EGTBs

Author: frank phillips

Date: 05:22:19 09/08/99


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.



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.