Author: William H Rogers
Date: 07:43:02 02/20/01
Go up one level in this thread
On February 20, 2001 at 07:51:15, Leen Ammeraal wrote: >On February 19, 2001 at 15:09:21, William H Rogers wrote: > >>On February 19, 2001 at 14:18:15, Leen Ammeraal wrote: >> >>>On February 19, 2001 at 14:04:44, Mogens Larsen wrote: >>> >>>>On February 19, 2001 at 13:07:27, Leen Ammeraal wrote: >>>> >>>>>Does that mean that, with pondering on, my program, which currently does not >>>>>implement pondering, get less computer time than its opponent if the >>>>>latter implements pondering? >>>> >>>>Not necessarily. It's possible to switch off pondering with most programs. >>>> >>>>Mogens. >>> >>>Yes, I know. That is why I had written "with pondering on" in my >>>question above. If other people use my program in a match >>>against others, the chances are that they will play with >>>pondering on, with a big disadvantage for my program because >>>it cannot ponder. So I am afraid, I cannot afford NOT implementing >>>pondering, only so far I don't have a clue how to begin. >>>Any help would be very welcome. >>>Leen >> >>First take the best move that your program decided was best for the opponent, >>then after you make your move, switch sides and make you opponents best move and >>then calculate your possible reply to it. You must watch the keyboard for input >>so that you will know when to stop. After the opponent has made his move, you >>then compare it to the move that you guessed he would make, if it is the same >>one then you can continue you depth, if not, then you start your normal search. >>I hope that this makes sense, if not I'll try again. >>Bill > >Thanks. There is one difficulty for me in what you are writing: how can I >'watch the keyboard for input'? I use mainly VC++ (and sometimes gcc). >Leen How do you normally query the keyboard for input, even when it's the opponets turn? Use a seperate input/query subroutine to see if a key has been pressed, if not then continue with your search. Bill
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.