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()
{
	board.resize(BOARD_ROWS);
	for (int i = 0 ; i < BOARD_ROWS; ++i)
		board[i].resize(BOARD_COLS);
	turn = X;
	for(int i=0; i< BOARD_ROWS; i++)
	{
		for( int j =0; j < BOARD_COLS; j++)
		{
			board[i][j] = Blank;
		}
	}
}
Piezas :: Piezas ( ) { board . resize ( BOARD_ROWS ) ; for ( int i = 0 ; i < BOARD_ROWS ; ++ i ) board [ i ] . resize ( BOARD_COLS ) ; turn = X ; for ( int i = 0 ; i < BOARD_ROWS ; i ++ ) { 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