def get_game_range_row_names(game_begin, game_end):
    """Get the row range containing the given games.

    Sample row name:
      g_0000000001_m001

    To capture the range of all moves in the two given games,
    the end row will need to go up to g_00..(N+1).

    Args:
      game_begin:  an integer of the beginning game number.
      game_end:  an integer of the ending game number, inclusive.

    Returns:
      The two string row numbers to pass to Bigtable as the row range.
    """
    row_fmt = 'g_{:0>10}_'
    return row_fmt.format(game_begin), row_fmt.format(game_end + 1)