slashinfty / tournament-organizer

JavaScript library for running tournaments
https://slashinfty.github.io/tournament-organizer/
MIT License
51 stars 18 forks source link

Is there a way to know what matches are from the upper or low bracket? #17

Closed Ceneka closed 1 year ago

slashinfty commented 1 year ago

I assume you mean winner's and loser's brackets in double elimination? That code resides in the tournament-pairings package. It creates all winner's rounds, then places the loser's rounds after them. You can identify the first round containing loser's matches by looking at the loser's path in the first round matches.

Ceneka commented 1 year ago

Yeah, that's exactly what I was talking about! thanks