refactor in evaluate
This commit is contained in:
1 parent
1ce08aa0cb
commit
968d0f5377
3 files changed
+9
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user