#define CHECKMATE_SCORE INT32_MAX
#define QUEEN_VALUE 994
#define ROOK_VALUE 548
#define KNIGHT_VALUE 305
#define BISHOP_VALUE 350
#define PAWN_VALUE 100
#define PAWN_MOVE_SCORE 10
#define LEGAL_MOVE_VALUE 1
#define CASTLE_SCORE (2000 / ((turn_count+depth-1)>>1))
#define CHECK_SCORE 1

#define STALEMATE_SCORE -4000
#define REPETITION_SCORE -6000

#define DEADEND_SCORE (-(2*QUEEN_VALUE))
#define DEADEND_DEPTH_LIMIT ROOK_VALUE

#define MAX_MOVES (7+7+7+6)

#define TIMECTRL_NONE 0
#define TIMECTRL_TIMEPERPLAYER 1
#define TIMECTRL_TIMEPERMOVE 2
