Author: Dan Honeycutt
Date: 18:12:50 08/31/04
Go up one level in this thread
On August 31, 2004 at 20:37:00, Rick Bischoff wrote: >Hello all, > >This question is about time management. But first, a little side note-- I am a >patzer and I scratch my head at the most obvious of tactics.. That being said, I >KNOW when captures are obvious recaptures-- > >My engine right now is using code based on the idea from TSCP to use "Time >Left/30" for every move-- mine is actually a little bit different, if it is >before move 10 use "Time Left/60", everything after that until move 60 use "Time >Left/30" and after move 60 use "Time Left/20"; But, unlike TSCP, I don't just >stop after this time is elapsed. If my score is less than the previous depth's >score by a certain amount (and I am not already winning by a rook or more), I >keep searching until I complete the current depth or I reach a maximum time per >move threshold. > >That is all just superflous though, because the engine WASTES time searching >when the recapture is obvious-- how can you describe such a concept in code? If it looks like an obvious recapture set an easy_move flag. Start your search. If anything untoward happens (root fail hi, fail lo, new best move) turn off the flag. If, after your time allocation is about half used, the easy_move flag is still set return the move. Dan H.
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.