use eval_simple() as base for eval()
This commit is contained in:
11
src/eval.h
11
src/eval.h
@@ -19,13 +19,12 @@
|
||||
#include "chessdefs.h"
|
||||
#include "piece.h"
|
||||
|
||||
#define EVAL_MAX \
|
||||
KING_VALUE + \
|
||||
QUEEN_VALUE * 9 + \
|
||||
ROOK_VALUE * 2 + \
|
||||
BISHOP_VALUE * 2 + \
|
||||
KNIGHT_VALUE * 2
|
||||
/* max pieces eval is KING_VALUE + 9*QUEEN_VALUE + 2*ROOK_VALUE + 2*BISHOP_VALUE
|
||||
* + 2*KNIGHT_VALUE which around 30000.
|
||||
* We are on secure sire with -50000/+50000
|
||||
*/
|
||||
|
||||
#define EVAL_MAX (50000)
|
||||
#define EVAL_MIN (-EVAL_MAX)
|
||||
#define EVAL_INVALID INT_MIN
|
||||
|
||||
|
Reference in New Issue
Block a user