Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is it a bug in Movei(what is your opinion?)

Author: Stephen A. Boak

Date: 23:18:40 10/17/05

Go up one level in this thread


On October 17, 2005 at 23:56:38, Uri Blass wrote:

>On October 17, 2005 at 23:43:46, Daniel Shawul wrote:

>In this case Movei claimed the draw simply because the last 100 plies were with
>no conversion so it even did not start to search the 101th ply.
>
>
>> i fixed the problem by doing 50 move claims starting at the 101th half ply
>>move.
>>daniel
>
>It is possible also to do it in Movei but in this case I may need to
>claim a draw in case that movei makes a move that leads to draw by the 50 move
>rule because movei may play a move that allows the opponent to mate because it
>evaluate draw by the 50 move rule as 0.00 even if the opponent can mate in the
>next move and it is right because it can claim a draw before the opponent mates.
>
>Uri

Uri,

Isn't this pretty trivial to fix?  (I'm guessing.)

Keep a count of moves (or plies) since the last piece capture or pawn move.
At the beginning of each move, check the count & check to see if the opponent
has offered a draw & then proceed accordingly.

If your opponent has forced a draw (by the rules), then accept.
If not, calculate your PV & eval.

Also, after a draw is offered, or whenever you detect a forced draw by your
opponent, can't you use that fact to set an alpha-beta cutoff (not sure of the
term) to avoid searching a line too deep if you can't even obtain at least an
even score?

If you think your eval is better than a draw, make your best move (Mate or
whatever).

If you think your eval is worse than a draw, accept the offer if you wish, else
make your best move if you wish to play on.

Regards,
--Steve



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.