/* tictac_def.h Definitions (constants) to be used in tic tac toe program */ // Since C has no boolean type, we define TRUE and FALSE. Note that // (10 == 10) does evaluate to TRUE, for consistency. #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif // Defining the symbols for the players and for an empty spot on // the board. #ifndef X #define X 'x' #endif #ifndef O #define O 'o' #endif #ifndef EMPTY #define EMPTY ' ' #endif