/*#include <curses.h>*/
#include <stdio.h>
#define bool int
#define TRUE (0==0)
#define FALSE (0!=0)

#define LEN		15

#define BOARDLINE	3
#define BOARDCOL	(COLS/2 - LEN - 2)
#define MSGLINE		20
#define ERRORLINE	21
#define HELPWLINE	2
#define HELPWCOL	59
#define HELPWCOL2	65
#define MYLINE		4
#define YOURLINE	17
#define SOCKLINE	10
#define SOCKCOL		1
#define RACKCOL		3
#define HELPLINE	(LINES-6)

#define RV(x)		((x) | 0200)

#define REG		' '
#define LETx2		'.'
#define LETx3		':'
#define WORDx2		'-'
#define WORDx3		'='

#define TILEBACK	RV ('#')
#define BOARDCHAR(y,x)	(wordmult[y][x] > 1 ?\
			     wordmult[y][x] > 2 ? WORDx3 : WORDx2\
			:lettermult[y][x] > 1 ?\
			     lettermult[y][x] > 2 ? LETx3 : LETx2\
			:REG)


#define Xpos(x) 	(BOARDCOL  + 2 * (x))
#define Ypos(y) 	(BOARDLINE + (y))