Search found 3442 matches
- Thu Apr 22, 2021 7:39 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Complicating code in C#
- Replies: 165
- Views: 34812
Re: Complicating code in C#
Is that the number of nodes actually visited, or the number of leaves determined via bulk-counting?
- Tue Apr 13, 2021 10:03 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Complicating code in C#
- Replies: 165
- Views: 34812
Re: Complicating code in C#
What is the meaning of endBitCoord and moveBB? var endBitCoord = UBit(move.End.Index); // = (End).ToBitBoardValue(); var moveBB = move.BitBoardValue; // = (Start.ToBitBoardValue() | (End).ToBitBoardValue(); That would mean: endBitCoord ^ moveBB == ((Start.ToBitBoardValue() | (End).ToBitBoardValue()...
- Tue Apr 13, 2021 5:05 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Complicating code in C#
- Replies: 165
- Views: 34812
Re: Complicating code in C#
What is the meaning of endBitCoord and moveBB?
- Mon Apr 12, 2021 7:36 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Subroutines, shared variables, etc.
- Replies: 8
- Views: 441
Re: Subroutines, shared variables, etc.
I would disagree only slightly. A program using only global variables and no subroutine parameters (or even worse, no subroutines at all ...) is probably 5% faster and 500% more buggy than a "normal" program. 

- Fri Apr 02, 2021 10:57 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Question about the way to use bitboards.
- Replies: 35
- Views: 4104
Re: Question about the way to use bitboards.
I think the pawn move generation code indeed needs to be color-specific due to the shift left vs. shift right operations.
- Mon Mar 29, 2021 6:50 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Progress on Rustic
- Replies: 243
- Views: 46304
Re: Progress on Rustic
but it only achieved 1781 in the CCRL-list. There can be a few possibilities: [...] - I only test Rustic against other engines: the other engines don't play one another. (I don't have the computing power to do this; if I upgrade to a 16+ core computer at some time, I may have the option to do a few...
- Sun Mar 28, 2021 4:46 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Progress on Rustic
- Replies: 243
- Views: 46304
Re: Progress on Rustic
but it only achieved 1781 in the CCRL-list. There can be a few possibilities: [...] - I only test Rustic against other engines: the other engines don't play one another. (I don't have the computing power to do this; if I upgrade to a 16+ core computer at some time, I may have the option to do a few...
- Fri Mar 26, 2021 12:58 pm
- Forum: Computer Chess Club: General Topics
- Topic: I've written a chess openings explorer for Windows that shows you a detailed wiki page for each opening as you play it.
- Replies: 14
- Views: 2375
Re: I've written a chess openings explorer for Windows that shows you a detailed wiki page for each opening as you play
I get a virus warning from Kaspersky when downloading already ...Jonathan003 wrote: ↑Fri Mar 26, 2021 12:28 pmI get a virus warning from Malwarebytes if I try to run raven_openings_explorer.exe
Trojan.Glupteba
It is probably a false virus alert from Malwarebytes.
- Fri Mar 26, 2021 12:49 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Question about the way to use bitboards.
- Replies: 35
- Views: 4104
Re: Question about the way to use bitboards.
That is not my point. The goal is to clear all bits on file A. I do this by clearing all bits on file A. (... AND NOT FileA) You do this by clearing all other pawn bits and then flipping all pawn bits again. That is cryptography 😎 So is a matter of "sthetic"? (Not few thinking in a future understan...
- Fri Mar 26, 2021 12:07 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Question about the way to use bitboards.
- Replies: 35
- Views: 4104
Re: Question about the way to use bitboards.
For white pawns left captures: ((((WhitePawns AND File1) XOR WhitePawns) shl 7) AND BlackPieces) give me the bitboard with all the "to" I would rename "File1" into "FileA" but that is a matter of taste. More important, the expression above is wrong, it should be: (((WhitePawns AND NOT FileA) shl 7)...