Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Naive time allocation algorithm -- what would you do?

Author: Inmann Werner

Date: 05:14:46 10/29/99

Go up one level in this thread


On October 29, 1999 at 00:25:42, Michael de la Maza wrote:

>Imagine that you are writing a naive time allocation algorithm for a chess
>program that will be playing against humans.  Suppose that the time allocation
>can only be a function of the move number.
>
>To simplify things, assume that the first 10 moves are all book moves and are
>played instantly.  Also assume that the computer has a total of 60 minutes to
>make all of its moves.
>
>Here are some possible time allocation algorithms:
>
>1. Allocate 30s per move
>This would allow the machine to make 130 moves (the 10 instant book moves + 120
>more) which is enough to complete all but the longest games.
>
>2. Allocate 60s for moves 11-40 and 20s per move thereafter
>With this algorithm, the machine could make a total of 100 moves, and would
>spend more time immediately following the opening and in the middle game.
>
>3. Allocate 120s for moves 11-39 and 2s per move thereafter
>The idea here is to win during the middle game.
>

I do something like 2)
More time in middlegame, cause there I have a chance to get in tactics and come
ahead of the opponent. My program is not strong enough to kill a human in
endgame, if not a little ahead.

with 3) you have no real chance, cause you must get your victory home!

Most time against better players you do not win full in midgame, and if he
knows, you are a computer he will maybe not resign but look at your endgame.
In the late Endgame, the TBs give you back much speed....
Most problems, I have with dead drawn positions (but no repetition possible). If
I give there to small time (2 secs) i can loose, but I often get the flag.....

In real, everything runs some different. You have PB, fail lows, "clear todo
moves", "very unclear moves" .....

>What would you do and why?
>
>More generally, if we assume that the strength of the program is tactics should
>the time allocation algorithm allocate more time to the middle game to support
>this strength or should it allocate more time to the end game to cover this
>weakness?  Should the program allocate a lot of time in the middle game in the
>hope of getting a decisive advantage or should the time be spread out more
>evenly to avoid blunders?
>
>Remember that the program is playing against humans, not computers.
>
>Michael



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.