How do you fix this.

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
JVMerlino
Posts: 1016
Joined: Wed Mar 08, 2006 9:15 pm
Location: San Francisco, California

Re: How do you fix this.

Post by JVMerlino » Mon May 18, 2020 3:07 am

lauriet wrote:
Mon May 18, 2020 2:50 am
Yes, you guessed it, I found a bug.
Or should I say a dumb logic mistake.

:oops: :oops: :oops:
Beware of other subtle logic mistakes. It took me over two years before I realized there was a bug in Myrddin that caused it to fail to check if a move that would cause a 50-move draw would ALSO cause checkmate. :oops:

bob
Posts: 20896
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: How do you fix this.

Post by bob » Mon May 18, 2020 9:15 pm

And as ChrisW mentioned. you don't need 3 repetitions, you only need 2. If the engine repeats the second time and can only reach a draw score, what would it do differently before reaching the 3rd repletion as opposed to doing the same thing before the second. MUCH more effective.

Post Reply