#define	uleft	04040
#define	uright	04004
#define	dleft	00440
#define	dright	00404
#define	left	00040
#define	right	00004
#define	up	04000
#define	down	00400
#define	u2r1	06004
#define	u1r2	04006
#define	d1r2	00406
#define	d2r1	00604
#define	d2l1	00640
#define	d1l2	00460
#define	u1l2	04060
#define	u2l1	06040
#define	rank2	00200
#define	rank7	02000

extern short	attacv[64];
extern short	center[64];
extern char	*bheur[];
extern char	*wheur[];
extern short	control[64];
extern int	clktim[2];
extern int      testf;
extern short	qdepth;
extern short	mdepth;
extern short	bookf;
extern short	bookp;
extern short	manflg;
extern short	matflg;
extern short	intrp;
extern short	moveno;
extern short	gval;
extern short	game;
extern short	abmove;
extern short	*lmp;
extern short	*amp;
extern char	*sbufp;
extern short	lastmov;
extern short	mantom;
extern short	ply;
extern short	value;
extern short	ivalue;
extern short	mfmt;
extern short	depth;
extern short	flag;
extern short	eppos;
extern short	bkpos;
extern short	wkpos;
extern short	column;
extern short	edge[8];
extern short	pval[13];
extern short	ipval[13];
extern short	dir[64];
extern short	board[64];
extern short	*lmbuf;
extern short	*ambuf;
extern char	sbuf[100];
#define LBSIZE	1000
#define ABSIZE	1200
