Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess Programming: how to identify ending phase?

Author: William H Rogers

Date: 15:02:34 04/20/01

Go up one level in this thread


On April 20, 2001 at 15:49:33, Normand M. Blais wrote:

>Hi,
>
>I'm using the following:
>
>#define ENDING \
>((pawn_mat[side]+pawn_mat[xside] <= 1200) && \
>(piece_num[side]+piece_num[xside] <= 5))
>
>
>Assuming a value of 1000 for a pawn and that the kings or the pawns are not
>counted as a pieces for "piece_num", is the expression above correct?
>
>Thank you for your help.
>
>NMB

It usually happens when you get down to a few major pieces i.e.
Rook  5000 Knight  3200 Bishop  3500
It is up to you to decide just how many constitutes and end.
Those were based upon your pawn being 1000 of course
Say 19000 or so which is equal to about 1/2 of all your pieces.
Bill



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.