private void placePiece(Command command) {
        Piece piece = null;
        String pieceType = command.getPiece();
        String pieceColor = command.getPossiblePieceColor();
        String pieceCode = command.getPossiblePieceCode();
        String colorCode = command.getPossibleColorCode();


        if (pieceType.equals("Pawn")) {
            piece = new Pawn(pieceType, pieceColor, pieceCode, colorCode);

        } else if (pieceType.equals("King")) {
            piece = new King(pieceType, pieceColor, pieceCode, colorCode);
        } else if (pieceType.equals("Queen")) {
            piece = new Queen(pieceType, pieceColor, pieceCode, colorCode);
        } else if (pieceType.equals("Rook")) {
            piece = new Rook(pieceType, pieceColor, pieceCode, colorCode);
        } else if (pieceType.equals("Knight")) {
            piece = new Knight(pieceType, pieceColor, pieceCode, colorCode);
        } else if (pieceType.equals("Bishop")) {
            piece = new Bishop(pieceType, pieceColor, pieceCode, colorCode);
        }
        theBoard.placePiece(command.getDestinRow(), command.getDestinColumn(), piece);

    }