change to final_test

Dependencies:   4DGL-uLCD-SE EthernetInterface HTTPClient mbed-rtos mbed

Fork of Fianl_test by Hongyao Shi

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers board.h Source File

board.h

00001 
00002 
00003 class Board
00004 {
00005     public:
00006     int check_victory(int playerID);
00007     void update_board(Board other_board);
00008     int ** get_board();
00009     void set_board(int col, int row, int playerID);
00010     bool updateBoard(int turn, int printout);
00011     int updateBoard_output(int turn, int printout);
00012     void printBoard();
00013     int turn;
00014     Board(void);
00015         
00016     private:
00017     int **board;
00018 };