Search found 3441 matches

by Sven
Tue Apr 13, 2021 10:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 155
Views: 31486

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()...
by Sven
Tue Apr 13, 2021 5:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 155
Views: 31486

Re: Complicating code in C#

What is the meaning of endBitCoord and moveBB?
by Sven
Mon Apr 12, 2021 7:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Subroutines, shared variables, etc.
Replies: 8
Views: 304

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. :lol:
by Sven
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: 3098

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.
by Sven
Mon Mar 29, 2021 6:50 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Progress on Rustic
Replies: 243
Views: 43290

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...
by Sven
Sun Mar 28, 2021 4:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Progress on Rustic
Replies: 243
Views: 43290

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...
by Sven
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: 1967

Re: I've written a chess openings explorer for Windows that shows you a detailed wiki page for each opening as you play

Jonathan003 wrote:
Fri Mar 26, 2021 12:28 pm
I 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.
I get a virus warning from Kaspersky when downloading already ...
by Sven
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: 3098

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...
by Sven
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: 3098

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)...
by Sven
Fri Mar 26, 2021 11:53 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question about the way to use bitboards.
Replies: 35
Views: 3098

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