summaryrefslogtreecommitdiff
path: root/minimax.cpp
blob: 3c0793d7816968548300f2609dbd9c036106417f (plain)
1
2
3
4
5
6
7
8
9
#include "minimax.h"


int evaluate_pieceScore(const Board &board) {
	int score = board.pieceScore[WHITE] - board.pieceScore[BLACK];
	// cerr << board << endl;
	// cerr << " -> score = " << score << endl;
	return score;
}