def generate(driver, _options = {})
      round = guess_round(driver)

      teams = if driver.matches.empty?
                padded = Algorithm::Util.padd_teams_pow2 driver.seeded_teams
                Algorithm::SingleBracket.seed padded
              else
                last_matches = previous_round_matches driver, round
                get_match_winners driver, last_matches
              end

      driver.create_matches Algorithm::GroupPairing.adjacent(teams)
    end
def generate(driver, _options = {})
      round = guess_round(driver)

      teams = if driver.matches.empty?
                padded = Algorithm::Util.padd_teams_pow2 driver.seeded_teams
                Algorithm::SingleBracket.seed padded
              else
                last_matches = previous_round_matches driver, round
                get_match_winners driver, last_matches
              end

      driver.create_matches Algorithm::GroupPairing.adjacent(teams)
    end
Generate matches with the given driver

 @param driver [Driver]
 @return [nil]