📄 defs14.h
字号:
#define MAX_PLY 4
#define VERSION "1.4"
#define SIZE_X 9
#define SIZE_Y 10
#define BOARD_SIZE SIZE_X*SIZE_Y
#define MOVE_STACK 4096
#define HIST_STACK 50
#define EMPTY 7
#define REDSIDE 0
#define BLACKSIDE 1
#define PAWN 0
#define BISHOP 1
#define ELEPHAN 2
#define KNIGHT 3
#define CANNON 4
#define ROOK 5
#define KING 6
#define INFINITY 20000
#define NORMAL 0
#define SELECT 1
#define MOVETIME CLOCKS_PER_SEC*6
typedef struct {
short from, dest;
} move;
typedef struct {
move m;
int prior;
} gen_rec;
typedef struct {
move m;
int capture;
} hist_rec;
/* Book data will be saved in single linked list */
typedef struct node {
short line[100], len;
struct node* next;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -