Search found 17671 matches

by hgm
Sun Jun 23, 2019 6:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FRC / Chess960 -- Some Lessons I Learned
Replies: 16
Views: 512

Re: FRC / Chess960 -- Some Lessons I Learned

[d]5rkr/8/8/8/8/8/8/RKR5 w - - 0 1 Castling is never allowed when you have no castling rights! Not sure what you mean. Do you mean no "KQkq" included in the fen? At least. '-' in the castling rights field means no castlings are possible anymore. But it is more than that: KQkq would not be a valid c...
by hgm
Sun Jun 23, 2019 6:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How many elo do ponder equals to
Replies: 17
Views: 445

Re: How many elo do ponder equals to

Another workaround is to disable the ponder fuction internally in stockfish, and rename it as "SF_Ponder_OFF" inside GUI. Any help will be appreciated. Sure, but that requires programming and compiling. HGM: which winboard version do you recommend? 4.8.0. Just install the engine you don't want to p...
by hgm
Sun Jun 23, 2019 5:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FRC / Chess960 -- Some Lessons I Learned
Replies: 16
Views: 512

Re: FRC / Chess960 -- Some Lessons I Learned

I have the following scheme, which seems to be the fastest I can come up with. Ease of move type detection is worth speed, and its about more then just figuring out how to apply the move, you have to consider all the places in evaluation, movepicking, searching, where move type is needed. Promotion...
by hgm
Sun Jun 23, 2019 5:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FRC / Chess960 -- Some Lessons I Learned
Replies: 16
Views: 512

Re: FRC / Chess960 -- Some Lessons I Learned

D Sceviour wrote:
Sun Jun 23, 2019 4:37 pm
[d]5rkr/8/8/8/8/8/8/RKR5 w - - 0 1
Castling is never allowed when you have no castling rights!
by hgm
Sun Jun 23, 2019 6:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FRC / Chess960 -- Some Lessons I Learned
Replies: 16
Views: 512

Re: FRC / Chess960 -- Some Lessons I Learned

I would never recommend KxR encoding in an engine. My favorite encoding scheme uses 13 bits for move encoding; from-square, 1-bit flag to indicate whether the move is special or not, and depending on that the to-square or a table index that indicates all additional info on the special move. (Like pr...
by hgm
Sun Jun 23, 2019 6:22 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How many elo do ponder equals to
Replies: 17
Views: 445

Re: How many elo do ponder equals to

WinBoard offers a work-around for this kind of things: the commands 'new' and 'computer', sent at the start of each game, are actually configurable strings on a per-engine basis, through the options /firstInitString and /firstComputerString. You could include commands to switch ponder on or off in t...
by hgm
Sat Jun 22, 2019 8:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strange code for tt
Replies: 9
Views: 539

Re: strange code for tt

OK, that perhaps explains it. With plain alpha-beta the search window varies much more throughout the tree than with PVS, where it is mostly a null window around the current root score. I once noticed that (in end-games, at least) the alpha-beta search often needs two different kind of bound types (...
by hgm
Fri Jun 21, 2019 9:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strange code for tt
Replies: 9
Views: 539

Re: strange code for tt

Amazing that this matters so much. After all, the move did fail low. 80 Elo amounts to more than halving the search speed (time-to-depth). It shouldn't be that common that you search the same position with a different window, so that the move would be useful to get above beta again. Was this in a PV...
by hgm
Fri Jun 21, 2019 11:48 am
Forum: Computer Chess Club: General Topics
Topic: Polyglot 64-bit
Replies: 22
Views: 918

Re: Polyglot 64-bit

The problem of not wanting to allocate even half the memory was also plaguing my EGT generator. With 4GB of physical memory it would not allow me to allocate more than 1GB! But this is inflicted by the library function for allocation, not by the OS itself. I could get around it by just declaring a s...
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: 253

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...