Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I need some help with time management and again.

Author: Antonio Dieguez

Date: 19:41:54 01/08/03

Go up one level in this thread


Well, I could not leave it that way. I have to correct.

This has to do with allocating a target time.

if (game_in_x)
{
    // starting at move 28, assume max 32 moves left.

     if (ply/2>=28) { time_allocated = time_rem / 32; }
     else           { time_allocated = time_rem / (60-(ply/2)); }

     time_allocated+=(5*inc/6); // bad bad bad I know
}
else
{
    int moves_rem = movs_per_control - ((ply/2) % movs_per_control);

    // starting at move 28, assume max 32 moves left.

    if (ply/2>=28)
    { moves_rem = min (32, moves_rem + SAFETY_MARGIN); } // my margin is 4
    else
    { moves_rem = min (60-ply/2, moves_rem + SAFETY_MARGIN); }

    time_allocated = time_rem / moves_rem;
}

And when going thru the iterations, it is encouraged to see at least 3 moves of
each ply, and all of them in the case the score has declined more than 1/3 of a
pawn respect to previous ply (altough seeing all of them always doesn't make
much difference)

I don't use a time_rem / x. I confess I have not even tried. But that is because
it looked and looks strange to me to use the same time if we get out of book at
move 3 or move 20.
In my case anyway with my tiny and only released book it won't never get to 20
in book...



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.