refactor in evaluate

This commit is contained in:
rektdie committed 2025-03-20 19:56:23 +01:00
1 parent 1ce08aa0cb
commit 968d0f5377
3 files changed
+9 -3

No files matched your search

+3
View File
@@ -1,5 +1,7 @@
#include "evaluate.h"
namespace HCE {
static int GetPhaseWeight(Board &board, int color) {
int phase = 0;
@@ -60,3 +62,4 @@ int Evaluate(Board &board) {
return board.sideToMove ? -score : score;
}
}