Author: Thomas McBurney
Date: 06:36:58 09/04/04
Go up one level in this thread
On September 03, 2004 at 18:49:27, Alessandro Scotti wrote: >I was trying to teach my engine this ending, and so far I haven't found a >solution I really like. I more or less know how the ending should be played, and >my attempts mainly focused on moving the lone king towards the "bishop corner" >and the other king in a sort of opposition. While I was tuning the parameters, I My approach to this problem was to generate two small tables when my engine starts up, and when my engine detects a k vs kbn game, then it gives a bonus for the winning side based on which square the losing sides king is on. It works well for me. This is the table I use when the bishop is on a black square... 0 10 20 30 40 50 60 70 10 10 20 30 40 50 60 60 20 20 20 20 20 20 50 50 30 30 20 10 10 20 40 40 40 40 20 10 10 20 30 30 50 50 20 20 20 20 20 20 60 60 50 40 30 20 10 10 70 60 50 40 30 20 10 0 and this is the table I use when the bishop is on a white square... 70 60 50 40 30 20 10 0 60 60 50 40 30 20 10 10 50 50 20 20 20 20 20 20 40 40 20 10 10 20 30 30 30 30 20 10 10 20 40 40 20 20 20 20 20 20 50 50 10 10 20 30 40 50 60 60 0 10 20 30 40 50 60 70 As you can see from the values in the table, the engine is encouraged to push the enemy king into a corner where the square colour is the same as the square colour as the bishop and to also push the king away from the centre of the board. Cheers, Tom.
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.