Search found 17771 matches

by hgm
Fri Aug 16, 2019 12:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Shogi Perft numbers
Replies: 15
Views: 415

Re: Shogi Perft numbers

Note that in Shogi it is a matter of taste whether you consider some moves as illegal, or as a legal move that loses, as it has the rule that any illegal move loses. In an engine it is usually simpler to consider Pawn-drop mates as a move that loses. Then you can use the normal mate detection, and j...
by hgm
Thu Aug 15, 2019 2:53 pm
Forum: Computer Chess Club: General Topics
Topic: WCCC 2019 Macau..
Replies: 68
Views: 5284

Re: WCCC 2019 Macau..

Why doesn't ICGA provide opening books for the participants? And engines? That would make it easier for everyone, wouldn't it? Then even someone who hadn't ever seen a computer in its life could participate, and have a good chance to become world champion. Everyone knows that requiring any effort fr...
by hgm
Thu Aug 15, 2019 2:01 pm
Forum: Computer Chess Club: General Topics
Topic: WCCC 2019 Macau..
Replies: 68
Views: 5284

Re: WCCC 2019 Macau..

Well, my wife would do better because she would take it seriously, be properly instructed by me, and she would practice it in advance. It is not my intention to clobber last year's operator after the fact. But it seems that because of the events the impression now has arisen that you do not stand a ...
by hgm
Thu Aug 15, 2019 12:11 pm
Forum: Computer Chess Club: General Topics
Topic: WCCC 2019 Macau..
Replies: 68
Views: 5284

Re: WCCC 2019 Macau..

The question remains: what is it that the operator needs to do in person that can't be done remotely? These discussions sound like the things you'd expect to send by snail mail, taking ages to send and receive letters to communicate, ignoring the existence of emails, or online forums. The WCCC, as ...
by hgm
Thu Aug 15, 2019 1:37 am
Forum: Computer Chess Club: General Topics
Topic: WCCC 2019 Macau..
Replies: 68
Views: 5284

Re: WCCC 2019 Macau..

Ok, it's a balance between desire to go there and amount of hassle. Indeed if we really wanted to go there, we could free up time from work, we would prepare visas etc. But it's just too much hassle, and too tiring (22 hours in a plane one way, then 3 days there and then 22 hours back) -- just not ...
by hgm
Wed Aug 14, 2019 4:04 pm
Forum: Computer Chess Club: General Topics
Topic: WCCC 2019 Macau..
Replies: 68
Views: 5284

Re: WCCC 2019 Macau..

I wonder how much of this is true. That about visa is nonsense for sure: I am here in Macau, and I didn't need a visa at all. I entered through Hong Kong, and that didn't require a visa either. (Considering the situation there in the airport now, this might have been an unlucky choice... Time will t...
by hgm
Tue Aug 13, 2019 4:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: killer index by "ply" or "ply"
Replies: 16
Views: 1249

Re: killer index by "ply" or "ply"

No, you are still off by 1 ply. There are two killers because when a different REPLY to Nb5 isn't refuted by Nc7+ (e.g. because Nc7+ only forks a King unprotected Rook, but this particular reply attacked your Queen) but by some other quiet move (like moving that Queen to safety), you will not lose t...
by hgm
Tue Aug 13, 2019 3:50 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bitboard logic: identifying 4 squares in a block
Replies: 8
Views: 395

Re: Bitboard logic: identifying 4 squares in a block

For a pattern of all 1 bits the shift & AND solution given by Chris should work fine. For arbitrary patterns: If the board were really small, you could use the entire board as an index in a lookup table that indicates whetre the pattern is there or not. If the board is too large for that, you could ...
by hgm
Sat Aug 10, 2019 3:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: draw masking a win
Replies: 8
Views: 355

Re: draw masking a win

You mean there was another move than the sac with a positive score, and yet it played something it evaluated as a draw? That can only happen with a very bad bug. If it earlier had a PV where the sac was evaluated as winning, but when it actually got to it the win had disappeared... Well, that can ha...
by hgm
Sat Aug 10, 2019 1:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: queen zone
Replies: 6
Views: 288

Re: queen zone

You could also limit this to evasions that are not capture of the attacker (after having tried that first), as some implementations of check extension do to avoid extending pointless checks. The idea behind this is that you want to avoid a side that stands to lose something can too easily push the t...