src/pazusoba.cpp
// This is for debugging only, don't use it in pazusoba.cpp
This is for debugging only, don't use it in pazusoba.cpp
This is for debugging only don ' t use it in pazusoba . cpp
std::string solver::get_board_string(const game_board& board) const {
    char board_string[MAX_BOARD_LENGTH + 1]{};
    for (int i = 0; i < MAX_BOARD_LENGTH; i++) {
        auto orb = board[i];
        if (orb == 0)
            break;
        board_string[i] = ORB_WEB_NAME[orb];
    }
    return std::string(board_string);
}
std :: string solver :: get_board_string ( const game_board & board ) const { char board_string [ MAX_BOARD_LENGTH + 1 ] { } ; for ( int i = 0 ; i < MAX_BOARD_LENGTH ; i ++ ) { auto orb = board [ i ] ; if ( orb == 0 ) break ; board_string [ i ] = ORB_WEB_NAME [ orb ] ; } return std :: string ( board_string ) ; }
This is for debugging only, don't use it in pazusoba.cpp
This is for debugging only don ' t use it in pazusoba . cpp