teijo / jquery-bracket

jQuery Bracket library for organizing single and double elimination tournaments
http://aropupu.fi/bracket/
MIT License
482 stars 253 forks source link

Change where the losing team in a double elimination bracket goes #142

Open tylerwyrostek opened 6 years ago

tylerwyrostek commented 6 years ago

When a team gets sent to the losers bracket I need it to follow certain logic, is there a way to change where the losing team goes in the losers bracket. For example if a team loses in the first round of the winners bracket I can put them into the third round of the losers bracket and in a certain match, lets say there are four matches in this rough I want to place them in the second match. Sorry if this is confusing and thank you for the help!

thestamp commented 6 years ago

double elim losers seed is a well-established format. Since this is custom i would recommend a fork instead.

On Sun, Feb 18, 2018 at 4:30 PM, Tyler Wyrostek notifications@github.com wrote:

When a team gets sent to the losers bracket I need it to follow certain logic, is there a way to change where the losing team goes in the losers bracket. For example if a team loses in the first round of the winners bracket I can put them into the third round of the losers bracket and in a certain match, lets say there are four matches in this rough I want to place them in the second match. Sorry if this is confusing and thank you for the help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/teijo/jquery-bracket/issues/142, or mute the thread https://github.com/notifications/unsubscribe-auth/ACimAkcg1AWkQfr9dU-Om6lV029gspE9ks5tWKR8gaJpZM4SJ4UA .

teijo commented 6 years ago

It's not supported, but if you want to give it a go, this would be the function you would need to modify: https://github.com/teijo/jquery-bracket/blob/6fbd3f3e9535b6822a57b790bc93d96431a49cc8/src/jquery.bracket.ts#L590