Hi people!
Actually my engine build score always from white side regardless the side the engine is playing and I think most of the engines build score from the side the engine is playing.
Could this makes any compatibility problem with Xboard or some GUI or just could give me some more complications to programming?
Thanks!
Score from white side or from playing side?
Moderators: hgm, Rebel, chrisw
-
- Posts: 464
- Joined: Sat Feb 28, 2015 4:37 pm
- Location: Argentina
-
- Posts: 27814
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Score from white side or from playing side?
De-facto standard in WB protocol is to print scores from side-to-move POV. If you do it otherwise some adjudication options based on engine scores will not work, and the Eval Graph in WinBoard will look funny.
-
- Posts: 464
- Joined: Sat Feb 28, 2015 4:37 pm
- Location: Argentina
Re: Score from white side or from playing side?
Could I solve it easy just changing the sign when corresponding in showthinking?hgm wrote:De-facto standard in WB protocol is to print scores from side-to-move POV. If you do it otherwise some adjudication options based on engine scores will not work, and the Eval Graph in WinBoard will look funny.
...
Or not show thinking at all?
-
- Posts: 931
- Joined: Tue Mar 09, 2010 3:46 pm
- Location: New York
- Full name: Álvaro Begué (RuyDos)
Re: Score from white side or from playing side?
Yes, this is a good way to handle a lot of things in programs: Use whatever internal representation is most natural to the way you are writing your program, and convert to whatever format is expected of the program right at the time when you output the value.Luis Babboni wrote:Could I solve it easy just changing the sign when corresponding in showthinking?hgm wrote:De-facto standard in WB protocol is to print scores from side-to-move POV. If you do it otherwise some adjudication options based on engine scores will not work, and the Eval Graph in WinBoard will look funny.
-
- Posts: 464
- Joined: Sat Feb 28, 2015 4:37 pm
- Location: Argentina
Re: Score from white side or from playing side?
Thanks Álvaro and HG!