Search found 17955 matches

by hgm
Sun Nov 03, 2019 5:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 866

Re: XBoard GTK

How does that need any new graphics? I thought it was just a matter of adding the played move(s) as a (parentheses-enclosed) 'comment' to the moves in training mode, as long as they differ from the move of the main line or from each other. That would be a pure back-end change (and thus work in XBoar...
by hgm
Sat Nov 02, 2019 9:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: XBoard GTK
Replies: 14
Views: 866

Re: XBoard GTK

Version 2, IIRC. I don't know Glade. I suppose it is a tool for designing dialogs with GTK. XBoard does not use it; all its dialogs are generated dynamically from tables. It needed a routine to do that anyway for the Engine Settings dialogs, from the table of options it receives from the engine. I t...
by hgm
Fri Nov 01, 2019 8:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 60
Views: 2704

Re: UCI Win/Draw/Loss reporting

In UCI2WB I just scan with strstr (or StrCaseStr) for the keywords of the standard infos, and then read the token that follows them as the corresponding value. So it would indeed just ignore the 'wdl' and its parameters. This is not optimally efficient; it would be better to just scan through the i...
by hgm
Fri Nov 01, 2019 8:23 am
Forum: Computer Chess Club: General Topics
Topic: Tactics cannot be very important for chess
Replies: 90
Views: 3489

Re: Tactics cannot be very important for chess

Striving for tactically complex positions under the assumption that you will be able to handle theose better than your opponent is indeed a form of contempt. And contempt requires an asymmetric evaluation. If you are an alpha-beta engine, it is justified to have a modest amount of such contempt, as ...
by hgm
Thu Oct 31, 2019 8:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 60
Views: 2704

Re: UCI Win/Draw/Loss reporting

In UCI2WB I just scan with strstr (or StrCaseStr) for the keywords of the standard infos, and then read the token that follows them as the corresponding value. So it would indeed just ignore the 'wdl' and its parameters. This is not optimally efficient; it would be better to just scan through the in...
by hgm
Thu Oct 31, 2019 4:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 60
Views: 2704

Re: UCI Win/Draw/Loss reporting

For example Stockfish almost fully respect that convention: But this becomes a decision of the engine author. No matter what we define as a standard name, the case insensitivity gives the engine author the freedom to 'style' the option name in any way he prefers. Most likely, what he will prefer fo...
by hgm
Thu Oct 31, 2019 3:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 60
Views: 2704

Re: UCI Win/Draw/Loss reporting

I thought UCI options were not case sensitive.
by hgm
Thu Oct 31, 2019 2:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 60
Views: 2704

Re: UCI Win/Draw/Loss reporting

I think that is a bad idea to have to introduce a separate standard option for every future extension of the UCI info command. Much better to solve it once and for all with a single option. For CECP I will probably define a new string feature: feature infos="name1,name2,..." to indicate the engine w...
by hgm
Wed Oct 30, 2019 6:36 pm
Forum: Computer Chess Club: General Topics
Topic: Tactics cannot be very important for chess
Replies: 90
Views: 3489

Re: Tactics cannot be very important for chess

towforce wrote:
Wed Oct 30, 2019 4:11 pm
hgm wrote:
Wed Oct 30, 2019 3:20 pm
"Tactics is what you do when there is something to do. Strategy is what you do when there is nothing to do."
I like that: I've added it to my archive! 8-)
It is also one of my favorites. It is a quote from GM Tartakower.
by hgm
Wed Oct 30, 2019 4:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 7
Views: 504

Re: Ubuntu Shell file

A script cd 'path' ./configure make sudo make install Should work without problems; the effect of the 'cd' would remain valid within the same script. The shell that had executed it would only terminate when it reaches the end of the script. After that the shell from which you invoked the script woul...