Piezas.cpp
/**
 * Constructor sets an empty board (default 3 rows, 4 columns) and 
 * specifies it is X's turn first
**/
Constructor sets an empty board (default 3 rows, 4 columns) and
specifies it is X's turn first
Constructor sets an empty board ( default 3 rows 4 columns ) and specifies it is X ' s turn first
Piezas::Piezas()
{
    turn = X;
    board.resize(BOARD_ROWS);
    for(int i=0; i<BOARD_ROWS; i++) {
        board[i].resize(BOARD_COLS);
        for(int j=0; j<BOARD_COLS; j++) {
            board[i][j] = Blank;
        }
    }
}
Piezas :: Piezas ( ) { turn = X ; board . resize ( BOARD_ROWS ) ; for ( int i = 0 ; i < BOARD_ROWS ; i ++ ) { board [ i ] . resize ( BOARD_COLS ) ; for ( int j = 0 ; j < BOARD_COLS ; j ++ ) { board [ i ] [ j ] = Blank ; } } }
Constructor sets an empty board (default 3 rows, 4 columns) and
 specifies it is X's turn first
Constructor sets an empty board ( default 3 rows 4 columns ) and specifies it is X ' s turn first