Search found 17662 matches

by hgm
Thu Jun 20, 2019 6:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ambiguous: UCI and option Clear Hash
Replies: 9
Views: 191

Re: Ambiguous: UCI and option Clear Hash

I don't think this is anything the standard would care about; this just defines what effect the commands have on the engine. The GUI designer has the freedom to use them as he says fit. There is also no requirement that the Engine Settings dialog should have an 'OK' button, or indeed that there shou...
by hgm
Thu Jun 20, 2019 8:43 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ambiguous: UCI and option Clear Hash
Replies: 9
Views: 191

Re: Ambiguous: UCI and option Clear Hash

The button should be in the Engine Settings dialog when you have loaded an engine that declares this option. Fairy-Max also supports it.
by hgm
Thu Jun 20, 2019 6:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ambiguous: UCI and option Clear Hash
Replies: 9
Views: 191

Re: Ambiguous: UCI and option Clear Hash

Can someone explain to me how the option work? What happens when user clicks to “clear hash” button? What commands GUI should send to engines? What “standard” reactions by GUI when working with option type of button? Thanks. So options of type 'button' are treated a bit different from other engine-...
by hgm
Wed Jun 19, 2019 6:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Turnover Chess
Replies: 2
Views: 120

Re: Turnover Chess

Indeed. This is even more true for 'Piece Chess' ( Paco Shako ), where I really have no idea what to strive for as an intermediate goal (as all material always stays on the board). In Turnover Chess you can at least decimate the number of rings the opponent controls. So my first attempt at a hand-cr...
by hgm
Wed Jun 19, 2019 1:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 4298

Re: UCI2WB 4.0

That surely localizes the trouble, but I still cannot say I understand it. ReserveGame(), called from GameEnd() ends as follows: if(appData.debugMode) fprintf(debugFP, "pick next game from '%s': %d\n", q, nextGame); if(nextGame <= appData.matchGames && resChar != ' ' && !abortMatch) { // reserve nex...
by hgm
Wed Jun 19, 2019 11:21 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Turnover Chess
Replies: 2
Views: 120

Turnover Chess

I came across a very original game related to Chess (I would hesitate to call it a chess variant). The pieces there are composits of up to 3 concentric rings I(nner), M(iddle) and O(uter), which can be combined in 6 ways (I, M, O, IM, MO, IMO; I+O does not 'fit' and is illegal) to represent the 6 di...
by hgm
Wed Jun 19, 2019 10:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 4298

Re: UCI2WB 4.0

The last two lines should give a very strong clue. To prevent recursive calling of GameEnd I have it set a variable 'endingGame' when we enter it, to be cleared again when it returns. But before doing that it checks the variable, and immediately returns without doing anything if it is set. If ExitEv...
by hgm
Wed Jun 19, 2019 7:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 4298

Re: UCI2WB 4.0

Thanks! So there were no popups complaining about denied access to the tourney file? Then the crashes must have a different reason. Were the two surviving WinBoard's still responsive? I am a bit puzzled that they could not finish what they are supposed to do, and still stay responsive. The last thin...
by hgm
Tue Jun 18, 2019 8:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strange code for tt
Replies: 3
Views: 280

Re: strange code for tt

Well, that depends. Alpha = max(start_apha, best_score), and thus redundant. But you have to pass alpha to every recursive call, and you might not want to calculate the maximum every time, but keep track of it incrementally. Then you only have to do something when best_score is incremented, which is...
by hgm
Tue Jun 18, 2019 6:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 4298

Re: UCI2WB 4.0

OK, next attempt. I uploaded a new WinBoard-AA.zip package to the same link. (Beware of browser caching; version = 4.9.190618.) The UCI2WB in this package should now run at normal priority, and kill engines that do not respond to quit. It also protects itself from overflow of the input buffer. (Whic...