Computer Chess Club Archives


Search

Terms

Messages

Subject: Chess Programming: how to identify ending phase?

Author: Normand M. Blais

Date: 12:49:33 04/20/01


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




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.