Search found 4081 matches

by Henk
Tue Apr 13, 2021 8:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

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 Henk
Tue Apr 13, 2021 6:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

Re: Complicating code in C#

So again making it unnecessarily complex.

(Perhaps Ni in 6th slot. See MBTI John Beebe 8 function model)
by Henk
Tue Apr 13, 2021 6:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

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 Henk
Tue Apr 13, 2021 1:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

Re: Complicating code in C#

Creepy optimizations. I had in DoMove something like this. Pieces[kind] ^= endBitCoord; Pieces[kind] ^= moveBB; So I thought it would be equal to this: Pieces[(kind] ^= endBitCoord | moveBB; But no it should be: Pieces[(kind] ^= endBitCoord ^ moveBB; Fortunately perft test detected it. By the way th...
by Henk
Mon Apr 12, 2021 9:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

Re: Complicating code in C#

I think I fixed the bug in movecount. Now it is back to normal. That is less than 80kn/sec. 1 48 8 4 d2d4 2 5 11 129 d2d4 g8f6 3 48 13 616 d2d4 g8f6 g1f3 4 7 15 1353 d2d4 b8c6 g1f3 g8f6 5 50 37 11813 d2d4 b8c6 g1f3 g8f6 b1c3 6 11 60 24771 d2d4 g8f6 b1c3 b8c6 g1f3 d7d5 7 51 101 58692 d2d4 g8f6 b1c3 b...
by Henk
Mon Apr 12, 2021 3:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

Re: Complicating code in C#

Current figures: 1 42 9 4 d2d4 2 0 12 139 d2d4 d7d5 3 42 15 619 d2d4 d7d5 c1e3 4 4 18 2015 d2d4 d7d5 c1e3 g8f6 5 42 41 13852 d2d4 d7d5 c1e3 g8f6 b1c3 6 5 70 33130 d2d4 d7d5 b1c3 g8f6 c1e3 c8e6 7 37 136 100296 d2d4 d7d5 c1e3 g8f6 b1c3 c8e6 g1f3 8 4 243 226199 d2d4 d7d5 c1e3 g8f6 b1c3 b8c6 g1f3 9 12 4...
by Henk
Mon Apr 12, 2021 2:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 151
Views: 29807

Re: Complicating code in C#

Changed a lot today but maybe only 7% speed gain. Disappointing.
Often when you optimize code getting less clear or more ugly.
by Henk
Thu Apr 08, 2021 6:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney April
Replies: 16
Views: 636

Re: On-line engine blitz tourney April

This was the video. See chess bots getting more accepted:

https://www.youtube.com/watch?v=2wv9ejQ9q28
by Henk
Thu Apr 08, 2021 5:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney April
Replies: 16
Views: 636

Re: On-line engine blitz tourney April

Today I saw a video where Botez sisters were playing against Magnus Bot at level 10 years old. Magnus himself was invited as well to give comment on that game. So we might invite Botez sisters and Magnus to participate. O wait Magnus probably tried to sell his Bot. And Botez sisters want to make che...
by Henk
Thu Apr 08, 2021 4:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney April
Replies: 16
Views: 636

Re: On-line engine blitz tourney April

By the way is it possible that humans can participate as well ?
I can imagine that some people like to play against some other engines but not take the time to install them on their own computer.
Also any club player has a good chance to win against Skipper.