Computer Chess Club Archives


Search

Terms

Messages

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

Author: Normand M. Blais

Date: 16:29:38 04/20/01

Go up one level in this thread


On April 20, 2001 at 17:58:22, José Carlos wrote:

>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
>

>  There doesn't exist a 'correct expression'. Even strong humans disagree
>sometimes about whether a postion is late midgame or early endgame.
>  Anyway, I'd suggest you not to count the pawns at all. BTW, I suspect your
>value for a pawn is 100 rather than 1000. Otherwise, you're saying it's not
>endgame phase until there's only one pawn on the board.
>
>  José C.

Thanks. You are right. I ment 100 not 1000.

NMB




This page took 0.01 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.