Search found 16996 matches

by bob
Thu Apr 09, 2020 7:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiling crafty 25.6
Replies: 6
Views: 150

Re: Compiling crafty 25.6

Should inline naturally, but it won't hurt. Or you can just compile "crafty.c" which will solve it as well, maybe faster executable.
by bob
Thu Apr 09, 2020 4:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiling crafty 25.6
Replies: 6
Views: 150

Re: Compiling crafty 25.6

There is still a "crafty.c" file that #includes all source files. That should avoid this at the expense of increased compile time with the gain of better function inlining/unrolling.
by bob
Tue Apr 07, 2020 5:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 787

Re: The devilish fail low

Indeed it seems never good to spend a much different time as your opponent. Even if the opponent thinks much faster or slower than what is objectively optimal, you should at least partly (perhaps as much as 80%) adapt to him, rather than stick to the ideal schedule. As to reductions: these only man...
by bob
Sun Apr 05, 2020 9:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN and 3rd repetition rule. No information?
Replies: 46
Views: 886

Re: FEN and 3rd repetition rule. No information?

My problem with that is as follows: When you play a game, do you decide when to offer/accept a draw or when to resign, or do you ask someone else (who is not even familiar with the current game)? I personally like to make my own decisions. I know what is going on in the game, regardless of the curr...
by bob
Sun Apr 05, 2020 9:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN and 3rd repetition rule. No information?
Replies: 46
Views: 886

Re: FEN and 3rd repetition rule. No information?

The only "interface" I care about is the one on the G.U.I. The Graphical User Interface, and what I can do with it. If I want to run a tourney where games are adjudicated as draws or the games are resigned when both engines agree continuing is a waste of time, I do that in the GUI. And it works. Th...
by bob
Sun Apr 05, 2020 9:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 787

Re: The devilish fail low

Another panic mode could be to search wider instead of deeper The engine hadn't been seeing the problem in the move turn before, or else it would have avoided it already. So if the current iteration of pruning search found the engine is in trouble, then this will probably be in one of the last two ...
by bob
Sun Apr 05, 2020 9:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 787

Re: The devilish fail low

That is an interesting idea and one I have never thought of as a solution, switch to pure alpha-beta. That is likely NOT going to work. If you are at depth=30 with a typically pruned search, trying to search at depth=30 with alpha/beta is going to burn the cpu and give you absolutely nothing back.
by bob
Sun Apr 05, 2020 9:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 787

Re: The devilish fail low

Watching chess programs analyze positions, I noticed something strange. When a program gets a fail low, it simply plows forward, no matter what the cost, to find out how truly terrible the current move is. I have never seen an engine that does it this way because it wouldn't even make sense, defeat...
by bob
Sun Apr 05, 2020 2:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN and 3rd repetition rule. No information?
Replies: 46
Views: 886

Re: FEN and 3rd repetition rule. No information?

My problem with that is as follows: When you play a game, do you decide when to offer/accept a draw or when to resign, or do you ask someone else (who is not even familiar with the current game)? I personally like to make my own decisions. I know what is going on in the game, regardless of the curre...
by bob
Sun Apr 05, 2020 2:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 787

Re: The devilish fail low

First "half your loss" is hard to define, since all you know is score is <= alpha. Second, this is a question that has been asked for 40 years. There are several schools of thought: (1) resolve the fail low so that you have a good score which gives you information you can use to adjust your time lim...