Arena shows mate in engine think without its says!?

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

User avatar
Luis Babboni
Posts: 464
Joined: Sat Feb 28, 2015 4:37 pm
Location: Argentina

Arena shows mate in engine think without its says!?

Post by Luis Babboni »

I´m experimenting with show thinking in Soberango.
Mate for my enigne has a value of +/- 100,000 being the maximum in any other case +/- 39.
Actually Arena shows in Soberango thinking window the values Soberango says but when Soberango send value=+/-100,000 Arena shows for example M4!!
I guess it have a value over wich it considers mate and then shows the "M" and the "4" was deducted from the number Soberango sends as depth thinking.

The question is, in case I´m right, if someone knows wich is that value that Arena consider as mate?
What about other GUIs?

note: I always thought that the "M5" I use to saw in other engines thinking window was sent by the engine itself, not printed by Arena!

Thanks!
User avatar
hgm
Posts: 27701
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena shows mate in engine think without its says!?

Post by hgm »

In WB protocol the score should always be a pure integer; no 'M' or anything. It is up to the GUI how to display it.

WinBoard interprets numbers over 100,000 as mate scores, using the rule that 100000+N means mate in N (and then displays that as #N). Similarly -(100000+N) would mean mated in N, displayed as #-N.
User avatar
Luis Babboni
Posts: 464
Joined: Sat Feb 28, 2015 4:37 pm
Location: Argentina

Re: Arena shows mate in engine think without its says!?

Post by Luis Babboni »

hgm wrote:In WB protocol the score should always be a pure integer; no 'M' or anything. It is up to the GUI how to display it.

WinBoard interprets numbers over 100,000 as mate scores, using the rule that 100000+N means mate in N (and then displays that as #N). Similarly -(100000+N) would mean mated in N, displayed as #-N.
Thanks HG!!!

Strange is that in fact I said Soberango gives 100,000 to not need to explain too much. But the real evaluation is 100,000 - N when are whites the colour near to mate and -100,000 + N when are blacks the colour near to mate. So the absolute value of evaluation never reaches 100,000.
I use that N for evaluation, to mate in less moves as is possible as I explain in other post.
I think I just need to change a little what is send to show as thinking then.