Author: Robert Hyatt
Date: 20:21:28 03/09/00
Go up one level in this thread
On March 08, 2000 at 15:00:36, John Stanback wrote: >On March 08, 2000 at 05:11:11, Howard Exner wrote: > >>Test your chess engine if it handles this repition theme correctly. To do this >>set up the position below and play the white side yourself. Do not enter the >>winning move Kh5 but instead play the blunder Kg5. Now let your program play the >>black side at say game/15. It will of course play Kd5+ which forces perpetual >>check. After it does that try to trick the program and reply Kg4. >>Now the test - does your program play the correct Qd1+ or does it blunder and >>mistakenly repeat the position with Qe4+, assuming that the opponent will >>blunder again with Kg5? Rebel Century failed this test and assumed white would >>play again the poor move Kg5. >>Why would a program do this? Do other programs fall into this trap of assuming >>a repetition of moves even when not forced? >> >>[D]8/4k3/7Q/8/4q1KP/6P1/8/8 w - - > >Zarkov does not have a problem with this test since I do not >count the 2nd repetition of a position as a draw in the first >2 plies of the search. > >John Actually, you or someone else had mentioned this idea to me a couple of years ago. I tried it but never decided to keep it. I found the old code (trivial, actually) and it does solve this pretty cleanly without hurting things too much compared to the other approach I used a couple of years ago (2 in search or 1 in search + 2 in history = draw). I am running with it now to see if I see anything I don't like, but it does solve this simple test easily.
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.