Quark 2.35 draw claim bug

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Quark 2.35 draw claim bug

Postby Igor Korshunov » 28 Mar 2005, 05:37

Hi there!

Quark claim a draw just one move before being mated !!!



[Event "Computer chess game"]
[Site "WILDCAT-FC58790"]
[Date "2005.03.28"]
[Round "-"]
[White "WildCat"]
[Black "Quark v2.35Paderborn"]
[Result "1/2-1/2"]
[TimeControl "60+2"]
[FEN "kqQ5/8/NKn5/8/8/8/8/8 w - - 0 1"]
[SetUp "1"]

{--------------
k q Q . . . . .
. . . . . . . .
N K n . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
white to play
--------------}
1. Qxb8+ Nxb8
{Not enough material to mate !} 1/2-1/2



2. Nc7# mate!!!

Best regards,
Igor
Igor Korshunov
 
Posts: 15
Joined: 17 Dec 2004, 11:14

Re: Quark 2.35 draw claim bug

Postby Sven Schüle » 28 Mar 2005, 14:56

Hi Andrew,

Andrew Fan wrote:I guess Quark is a bit lazy with it's "not enough material" draws (KNvKN). Should not consider material draws if the king(s) are in any of the corners.

in the "Programming" subforum there is a recent thread about insufficient material and claiming draw. I'm sure you know that KNKN does not fall into this category, an engine may never claim draw here according to the rules. What you can do for KNKN if the enemy king is not in a corner is for example:
a) to offer a draw,
b) to accept a draw offer,
c) (at depth > 0) to return a zero value instead of searching the subtree,
d) (at depth = 0) to play a random move without any searching.

Besides checking for "enemy king not in corner", one could define more criteria which tell us if a mate-in-1 is possible (position of knights, own king), but this would go too far for such a rare case. One could even omit checking for corner square, just search one ply and return 0 if no mate is found. (A value >= 0 is guaranteed for the side to move in KNKN.)

More details belong into "Programming" indeed; sorry for bringing this up here. I just had the impression that "claiming draw" and "evaluating as draw" are mixed up sometimes.

Sven
User avatar
Sven Schüle
 
Posts: 240
Joined: 26 Sep 2004, 20:19
Location: Berlin, Germany

Same bug in Crafty...

Postby George Lyapko » 29 Mar 2005, 08:02

Code: Select all
[Event "Computer chess game"]
[Site "LYAPKO"]
[Date "2005.03.29"]
[Round "-"]
[White "Crafty-19.19"]
[Black "Crafty-19.19"]
[Result "1/2-1/2"]
[TimeControl "120"]
[FEN "kqQ5/8/NKn5/8/8/8/8/8 w - - 0 1"]
[SetUp "1"]

{--------------
k q Q . . . . .
. . . . . . . .
N K n . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
white to play
--------------}

1. Qxb8+
{Insufficient material} 1/2-1/2


Best regards,
George
User avatar
George Lyapko
 
Posts: 49
Joined: 27 Sep 2004, 14:34
Location: Mukachewo(Ukraine)/Ried(Austria)

Re: Quark 2.35 draw claim bug

Postby Thomas Mayer » 29 Mar 2005, 10:55

Hi Igor,

first of all: thanks for pointing that out...

it's definitely new for me, because Quark should only claim draw when just one piece is on the board and not in the case you showed... I will check that...

Greets, Thomas
User avatar
Thomas Mayer
 
Posts: 40
Joined: 26 Oct 2004, 13:45
Location: Germany


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 32 guests