Search found 4089 matches

by Henk
Thu Apr 22, 2021 10:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

Re: Complicating code in C#

Sven wrote:
Thu Apr 22, 2021 7:39 pm
Is that the number of nodes actually visited, or the number of leaves determined via bulk-counting?
O wait that was a question for Roadwarrior.
by Henk
Thu Apr 22, 2021 8:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

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. Perft in my C# chess engine runs at about 80 M nodes per second on a single core of a mid-range Intel i7-7700 CPU running at 3.6 GHz. So shurely shome mishtake? Test which computes these four perfts take abo...
by Henk
Thu Apr 22, 2021 7:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

Re: Complicating code in C#

The number of nodes visited while counting null move and standingpats as 1. By the way I get 150km/sec if I do nothing in evaluation except returning sign * psqValue. If I try to evaluate pawnshields, isolated pawns etc then speed drops below 90kN/sec. I also think my immutable transposition table s...
by Henk
Wed Apr 21, 2021 10:07 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

Re: Complicating code in C#

Looks like Skipper still unable to win from Stockfish. [Event "Computer Chess Game"] [Site "LAPTOP-1FK7MTIP"] [Date "2021.04.21"] [Round "-"] [White "Skipper_8_5"] [Black "Stockfish 13"] [Result "0-1"] [TimeControl "300"] [Annotator "1. +0.10 1... -0.27"] 1. e4 {+0.10/10} e5 {-0.27/29 20} 2. d4 {+0....
by Henk
Fri Apr 16, 2021 11:55 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

Re: Complicating code in C#

hi, hi, hi. public double ComputeFeatureValue(IChessPosition pos, ColorSign side, Func<ISquares<ISquareEval>, IChessPosition, PieceTypeEnum, double> func) { double result = 0; for (var kind = Pawn_Kind; kind <= King_Kind; kind++) { var type = ConvertToPieceType(kind, side); result += func(SquaresEva...
by Henk
Fri Apr 16, 2021 9:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

Re: Complicating code in C#

Current interface of chessboard. Previous generic one was an efficiency disaster. Bytes() not necessary if you use zobrist key. public interface IChessBoard { IChessBoard Move(IMoveBase move); IChessBoard PutOnBoard(PieceTypeEnum PieceSort, ulong coord); ColorSign OccupierColSign(ulong bit); Kind Pi...
by Henk
Wed Apr 14, 2021 10:26 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

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 ...
by Henk
Wed Apr 14, 2021 7:42 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

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 8:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Complicating code in C#
Replies: 161
Views: 34337

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: 161
Views: 34337

Re: Complicating code in C#

So again making it unnecessarily complex.

(Perhaps Ni in 6th slot. See MBTI John Beebe 8 function model)