Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can't mate with K+R vs K

Author: Robert Hyatt

Date: 07:34:10 02/20/99

Go up one level in this thread


On February 19, 1999 at 20:52:53, James Robertson wrote:

>My program can beat up a lot of programs all the way until the endgame, when it
>can't mate with K+R vs K. Sometimes I wonder in K+Q vs K. How can I teach my
>program to do this?
>
>James

define a special piece / square table for the losing king.  It gets big
bonuses for staying in the center, and big penalties for being forced to the
edge/corner of the board.  Once you get it to the edge, and then close to a
corner, the mate is trivial to find for a 4-5 ply search.



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.