10 typedef unsigned int BOOL;
13 // Constants for each state a board square can be in and a programmer
14 // defined type for these states.
21 typedef signed char SQUARE;
22 #define IS_SQUARE_EMPTY(x) (x == EMPTY)
25 // A (simple) representation of a tic tac toe position
27 #define BOARD_SIZE (3)
29 typedef struct _POSITION
32 SQUARE sBoard[BOARD_SIZE][BOARD_SIZE];
33 unsigned int uNumEmpty;
37 // A representation of a move in a tic tac toe game
39 typedef unsigned int COORD;