History #19

Merged
rektdie merged 6 commits from history into legalMovegen 2025-03-15 12:47:47 +01:00
Showing only changes of commit 326f4b9598 - Show all commits
+3 -3
View File
@@ -24,7 +24,7 @@ Stopwatch sw;
static int ScoreMove(Board &board, Move &move) {
TTEntry *current = TT.GetRawEntry(board.hashKey);
if (current->bestMove == move) {
return 500000;
return 50000;
}
if (move.IsCapture()) {
@@ -38,9 +38,9 @@ static int ScoreMove(Board &board, Move &move) {
return moveScoreTable[attackerType][targetType] + 10000;
} else {
if (killerMoves[0][ply] == move) {
return 490000;
return 9000;
} else if (killerMoves[1][ply] == move) {
return 480000;
return 8000;
} else {
return historyMoves[board.sideToMove][move.MoveFrom()][move.MoveTo()];
}