#define BOARD_WIDTH 3
#define BOARD_HEIGHT 3
#define CHAR_X 1
#define CHAR_O 2
#define PLAYER_HUMAN 1
#define PLAYER_COMPUTER 2
#define PLAYER_COUNT 2

void printboard(int board[BOARD_WIDTH][BOARD_HEIGHT]);
int checkwin(int board[BOARD_WIDTH][BOARD_HEIGHT]);

#ifndef DEFINED_LOCATION
	struct location
	{
		int x, y;
	};
	#define DEFINED_LOCATION
#endif

#ifndef DEFINED_PLAYER
	struct playerdefinition
	{
		int ptype;	// 1 == human, 2 == computer
		int value;	// 1 == x, 2 == y
	};
	#define DEFINED_PLAYER
#endif

