change to final_test
Dependencies: 4DGL-uLCD-SE EthernetInterface HTTPClient mbed-rtos mbed
Fork of Fianl_test by
board.h@0:28f8ba171e86, 2015-04-20 (annotated)
- Committer:
- honelight
- Date:
- Mon Apr 20 23:05:36 2015 +0000
- Revision:
- 0:28f8ba171e86
test program, still doesn't work;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
honelight | 0:28f8ba171e86 | 1 | |
honelight | 0:28f8ba171e86 | 2 | |
honelight | 0:28f8ba171e86 | 3 | class Board |
honelight | 0:28f8ba171e86 | 4 | { |
honelight | 0:28f8ba171e86 | 5 | public: |
honelight | 0:28f8ba171e86 | 6 | int check_victory(int playerID); |
honelight | 0:28f8ba171e86 | 7 | void update_board(Board other_board); |
honelight | 0:28f8ba171e86 | 8 | int ** get_board(); |
honelight | 0:28f8ba171e86 | 9 | void set_board(int col, int row, int playerID); |
honelight | 0:28f8ba171e86 | 10 | bool updateBoard(int turn, int printout); |
honelight | 0:28f8ba171e86 | 11 | int updateBoard_output(int turn, int printout); |
honelight | 0:28f8ba171e86 | 12 | void printBoard(); |
honelight | 0:28f8ba171e86 | 13 | int turn; |
honelight | 0:28f8ba171e86 | 14 | Board(void); |
honelight | 0:28f8ba171e86 | 15 | |
honelight | 0:28f8ba171e86 | 16 | private: |
honelight | 0:28f8ba171e86 | 17 | int **board; |
honelight | 0:28f8ba171e86 | 18 | }; |