Search found 18883 matches

by hgm
Mon Nov 23, 2020 9:01 am
Forum: Computer Chess Club: General Topics
Topic: What is the outcome of this unusual endgame
Replies: 30
Views: 879

Re: What is the outcome of this unusual endgame

Evaluation doesn't mean a thing. Engines can evaluate a dead-lost position as +8.5. You would have to play out the game.
by hgm
Sun Nov 22, 2020 7:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: c-chess-cli
Replies: 98
Views: 23648

Re: c-chess-cli

So I would rather make the state persist in a tournament file, and be able to resume from that. That is how I do it in XBoard. A tournament is a file, describing all tourney parameters, and the results so far are at the end, so new results can easily be added as they are produced. (Game records go ...
by hgm
Sun Nov 22, 2020 4:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Implement an opening book to my Python engine
Replies: 5
Views: 228

Re: Implement an opening book to my Python engine

There are two different issues: 1) Do you want to create a .bin book 2) Do you want to use an existing .bin book For (1) there are tools. E.g. XBoard can convert a set of games to a bin book, and has an Edit Book dialog where you can change the content of an existing book (e.g. adding or deleting mo...
by hgm
Sun Nov 22, 2020 10:48 am
Forum: Computer Chess Club: General Topics
Topic: SFNNUE Fails!! In this Positions!!
Replies: 53
Views: 8739

Re: SFNNUE Fails!! In this Positions!!

In human-engine games this happens a lot. I played my Chu Shogi engine some time on the 81dojo server, and in one game it was ahead by the equivalent of a Queen and two Rooks, when it saw the opponent had a deep mate. So it sacrificed three Queen-class pieces and three Rook-class pieces in a row to ...
by hgm
Sat Nov 21, 2020 1:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: c-chess-cli
Replies: 98
Views: 23648

Re: c-chess-cli

I am not sure whether it would be much different. I suppose the pausing would still finish ongoing games. (You could of course also have a 'hard' pausing mode, which aborts all ongoing games; in XBoard you select that on a per-game basis, by either just quitting an XBoard worker, or switching off it...
by hgm
Sat Nov 21, 2020 12:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: c-chess-cli
Replies: 98
Views: 23648

Re: c-chess-cli

A generalization of this would be interactively modifying the concurrency. Setting it to 0 would pause the tournament. But you could then make exactly enough system resources available to do what you wanted to do on the side, by typing any other number. That brings it on par with XBoard, where you c...
by hgm
Fri Nov 20, 2020 4:01 pm
Forum: Computer Chess Club: General Topics
Topic: SFNNUE Fails!! In this Positions!!
Replies: 53
Views: 8739

Re: SFNNUE Fails!! In this Positions!!

There is a difference between delaying by offering tough resistance, and delaying by silly sacrifices. I agree that in human blitz/bullet chess things are a bit different, because "the clock is a piece" there, and board positions that are game-theoretical losses can be certain wins there because of ...
by hgm
Fri Nov 20, 2020 3:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Place to find correct perft result from a fen position
Replies: 18
Views: 468

Re: Place to find correct perft result from a fen position

There are no known errors in qperft. But when you use hashing (which shouldn't be necessary for comparatively low depths), there is always the (very small) risk of a key collision spoiling the count. This is a divided perft for 3-move sequences of the given position: $ ./perft 6 -4 "K1k5/8/P7/8/8/8/...
by hgm
Fri Nov 20, 2020 2:09 pm
Forum: Computer Chess Club: General Topics
Topic: SFNNUE Fails!! In this Positions!!
Replies: 53
Views: 8739

Re: SFNNUE Fails!! In this Positions!!

Going for the fastest mate is not always the best. I remember that from when I still played Chess myself (which must be 40 years ago!). I was often criticized by my team mates for my end-game play: "Why did you play that? Now it will take much longer to win!" When I then sat down at the board again ...
by hgm
Fri Nov 20, 2020 11:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Place to find correct perft result from a fen position
Replies: 18
Views: 468

Re: Place to find correct perft result from a fen position

Usually people generate such counts as they need them, with the aid of an engine or dedicated perft program such as qperft . Then you can generate the counts for any position you would like, by just specifying the FEN. (Popular positions are the FIDE start positions, or 'Kiwi Pete'; the latter has m...