added killer moves to move ordering

This commit is contained in:
rektdie committed 2024-06-22 05:50:19 +02:00
1 parent cb403943cb
commit 8c4a157797
5 files changed
+37 -8

No files matched your search

+1 -2
View File
@@ -49,8 +49,7 @@ int Bitboard::getLS1BIndex() const {
return -1;
}
Bitboard Bitboard::getOccupancy(int index, Bitboard attackMask) {
Bitboard occupancy;
Bitboard Bitboard::getOccupancy(int index, Bitboard attackMask) { Bitboard occupancy;
int squareCount = attackMask.PopCount();
for (int count = 0; count < squareCount; count++) {