2 * UCC 2012 Programming Competition Entry
11 # define DEBUG(s, a...) fprintf(stderr, "DEBUG: "s"\n" ,## a)
13 # define DEBUG(...) do{}while(0)
15 #define ASSERT(val) do{if(!(val)){fprintf(stderr, "ASSERTION FAILED - " #val " at %s:%i\n", __FILE__, __LINE__);exit(-1);} }while(0)
22 typedef struct sMove tMove;
53 enum eDirections dir; // eDirections
61 extern int giBoardWidth;
62 extern int giBoardHeight;
63 extern char *gaBoardState;
65 extern void AI_Initialise(enum eColours Colour, const char *Opponent);
66 extern void AI_HandleMove(int bMyMove, const tMove *Move);
67 extern void AI_DoMove(tMove *MyMove);