elif match.bracket == "losers": next_match = match.next_match set_player_in_match(next_match, match.next_match_slot, winner_id) # LB loser is eliminated
# Also send loser to losers bracket loser_id = get_loser(match) lb_match = get_loser_bracket_match(match) set_player_in_match(lb_match, next_free_slot(lb_match), loser_id) double elimination tournament generator
Winners R1: Losers R1: A vs B L1 vs L2 C vs D Winners R2: Losers R2: W1 vs W2 L3 vs W3 elif match