new move ordering values | bench 1827966

This commit is contained in:
rektdie committed 2025-03-14 19:35:05 +01:00
1 parent fafa122123
commit 3bb80b7d4c
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 50000; return 500000;
} }
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 9000; return 490000;
} else if (killerMoves[1][ply] == move) { } else if (killerMoves[1][ply] == move) {
return 8000; return 480000;
} else { } else {
return historyMoves[board.sideToMove][move.MoveFrom()][move.MoveTo()]; return historyMoves[board.sideToMove][move.MoveFrom()][move.MoveTo()];
} }