Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: KQ vs kr position

Author: Ricardo Gibert

Date: 13:24:58 08/04/99

Go up one level in this thread


I think I figured out what the problem is.

Consider W: Kf2, Re2, Pa2; B: Kh2.

Distance to mate will return:
1 Re3 Kh1 2 Rh3#

Distance to mate or winning pawn move or winning capture will return:
1 a4 Kh3 2 a5 Kg4, etc.

The pawn move is a 1 mover that leads to a winning position, while the rook move
is a 2 mover to lead to mate. To avoid this idiotic behavior, distance to mate
must be used at the expense of extremely rare positions that will instead of win
due to the 50 move rule. The rest of the program must deal with 3-fold
repetition (easy) and the 50 move rule as best as it can.



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.