change to final_test

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

Fork of Fianl_test by Hongyao Shi

Committer:
jderiso2
Date:
Fri May 01 02:39:55 2015 +0000
Revision:
4:e928ee72a948
Parent:
0:28f8ba171e86
Update for losing player to exit main loop and display winner

Who changed what in which revision?

UserRevisionLine numberNew 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 };