Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Value of King in SEE

Author: Robert Hyatt

Date: 07:20:03 01/07/02

Go up one level in this thread


On January 07, 2002 at 10:03:41, David Rasmussen wrote:

>In SEE, the king should of course be the last to capture, as no piece can
>capture the king. But the king should also have some large value to indicate a
>winning capture for the opposing side. In a position such as this:
>
>[D]2rqkb1r/p1pnpppp/3p3n/3B4/2BPP3/1QP5/PP3PPP/RN2K1NR w KQk - 0 1
>
>The captures on f7 will be bishop, knight, bishop, king, queen.
>
>In my program in general, the king has a value of 0, as the kings value has
>never been used for anything before. For SEE, the value has to be used, however.
>To be safe, I would really want to give my king the value of 9 queens plus the
>value 2 knights, bishops and rooks, but then the value of a position with these
>pieces, and only one king on the opposing side will be to big to hold in my
>current Score type, as I am only willing to spend so many bits of scores, so it
>doesn't use up to much space in a hashentry. Actually, writing this, I will
>think out loud that there will always be two kings on the board, and as such,
>the values of the kings will balance out, which means it doesn't matter. Instead
>of not sending this post, I will send it anyway, as a windows into my idiotic
>brain.
>
>/David

Make it something impossibly large.  Then make sure that the king is the _last_
piece used to make a capture.  All works fine that way...



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.