generating pawn moves

This commit is contained in:
rektdie committed 2025-03-24 00:33:21 +01:00
1 parent 55c751fb89
commit 28ce0bc64c
8 files changed
+134 -598

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
#include "movegen.h"
static U64 HelperPerft(Board board, int depth) {
MOVEGEN::GenerateMoves(board);
MOVEGEN::GenerateMoves<All>(board);
if (depth == 1) return board.currentMoveIndex;
if (depth == 0) return 1ULL;
@@ -21,7 +21,7 @@ static U64 HelperPerft(Board board, int depth) {
}
void Perft(Board &board, int depth) {
MOVEGEN::GenerateMoves(board);
MOVEGEN::GenerateMoves<All>(board);
U64 totalNodes = 0;