/*************************************************************************** * _ _ * * /_\ Chess Board /_\ * * \_/ ------------------- \_/ * * /_\ Cboard /_\ * * |_| ------------------- |_| * * /___\ GNU GPL Version 2 /___\ * * * ***************************************************************************/ #ifndef BOARD_H_ #define BOARD_H_ /* Header Files */ #include #include #include #include #include "../SET/setting.h" #include "../ENG/engine.h" #include "../NET/network.h" /* Define Bool */ #define TRUE 1 #define FALSE 0 /* Define */ #define H 11 #define A 11 /* Define Array */ #define HIGH 9 #define LOW 9 /* Define Buffer */ #define MOV 100 /*---------------------------------------------------------------------------*/ /* Function */ void displayBoard(char *chess, socket_t tcpsock0, socket_t tcpsock2); void cbnetwork(char *nmove,char *chess,char *player, socket_t tcpsock0, socket_t tcpsock2); void wengine(char *nmove,char *player); void bengine(char *nmove,char *player); void normal(char *nmove,char *player); void server(char *nmove, char *player, socket_t tcpsock2); void client(char *nmove, char *player, socket_t tcpsock0); /*---------------------------------------------------------------------------*/ #endif