reverted move order values | bench 1183891

This commit is contained in:
rektdie committed 2025-03-14 20:00:28 +01:00
1 parent f9bc72fff8
commit 326f4b9598
1 file changed
+3 -3
+3 -3
View File
@@ -24,7 +24,7 @@ Stopwatch sw;
static int ScoreMove(Board &board, Move &move) { static int ScoreMove(Board &board, Move &move) {
TTEntry *current = TT.GetRawEntry(board.hashKey); TTEntry *current = TT.GetRawEntry(board.hashKey);
if (current->bestMove == move) { if (current->bestMove == move) {
return 500000; return 50000;
} }
if (move.IsCapture()) { if (move.IsCapture()) {
@@ -38,9 +38,9 @@ static int ScoreMove(Board &board, Move &move) {
return moveScoreTable[attackerType][targetType] + 10000; return moveScoreTable[attackerType][targetType] + 10000;
} else { } else {
if (killerMoves[0][ply] == move) { if (killerMoves[0][ply] == move) {
return 490000; return 9000;
} else if (killerMoves[1][ply] == move) { } else if (killerMoves[1][ply] == move) {
return 480000; return 8000;
} else { } else {
return historyMoves[board.sideToMove][move.MoveFrom()][move.MoveTo()]; return historyMoves[board.sideToMove][move.MoveFrom()][move.MoveTo()];
} }