Computer Chess Club Archives


Search

Terms

Messages

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

Author: Normand M. Blais

Date: 16:28:15 04/20/01

Go up one level in this thread


On April 20, 2001 at 18:02:34, William H Rogers 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
>
>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

Thank you for your answer. I made this post while I was at work. Tired probably.
I ment pawn = 100 not 1000. Sorry about that.

NMB




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.