Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opening, Middlegame, Endgame (for authors)

Author: Fabien Letouzey

Date: 10:18:49 06/17/04

Go up one level in this thread



On June 17, 2004 at 13:01:54, Uri Blass wrote:

>phase in the code that I plan is the weight of the interpolation(the same as
>fruit code.

Yes, my point is I guess most engines have "only" 3 to 5 phases.
That's too few to be considered "continuous".

>You have

> phase = TotalPhase;

>   phase -= wp * PawnPhase;
>   phase -= wn * KnightPhase;
>   phase -= wb * BishopPhase;
>   phase -= wr * RookPhase;
>   phase -= wq * QueenPhase;

>   phase -= bp * PawnPhase;
>   phase -= bn * KnightPhase;
>   phase -= bb * BishopPhase;
>   phase -= br * RookPhase;
>   phase -= bq * QueenPhase;

>the problem that I see is that phase is the same for both sides.

I did not say it was better.  But more simple also has advantages.

Fabien.




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.