aboutsummaryrefslogtreecommitdiff
path: root/src/evaluate.hpp
blob: 0bb96546438f3429906c04ea5274a79b63979bac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SRC_EVALUATE_H_
#define SRC_EVALUATE_H_

#include "board/board.hpp"

/*
 * Return static evaluation of board from white player pespective.
 * This function is very expensive for computation.
 */
int EvaluateBoardForWhite(Game *g);

/*
 * Evaluate board for white wrapper that return score for current player
 */
int EvaluateBoard(Game *g);

bool IsEndgame(const Game *g);

#endif /* SRC_EVALUATE_H_ */