Fail soft #13

Merged
rektdie merged 7 commits from fail_soft into legalMovegen 2025-03-09 09:35:27 +01:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 15676a09e0 - Show all commits

No files matched your search

+1
View File
@@ -334,6 +334,7 @@ void Board::Promote(int square, int pieceType, int color, bool isCapture) {
} }
void Board::MakeMove(Move move) { void Board::MakeMove(Move move) {
nodes++;
// Null Move // Null Move
if (!move) { if (!move) {
-4
View File
@@ -94,8 +94,6 @@ static SearchResults Quiescence(Board board, int alpha, int beta) {
} }
} }
nodes++;
int staticScore = Evaluate(board); int staticScore = Evaluate(board);
int bestScore = alpha; int bestScore = alpha;
@@ -190,8 +188,6 @@ SearchResults PVS(Board board, int depth, int alpha, int beta) {
int score = -inf; int score = -inf;
int nodeType = AllNode; int nodeType = AllNode;
nodes++;
GenerateMoves(board, board.sideToMove); GenerateMoves(board, board.sideToMove);
SortMoves(board); SortMoves(board);