jquery-bracket icon indicating copy to clipboard operation
jquery-bracket copied to clipboard

Add custom session name for teams.

Open brownsugar opened this issue 9 years ago • 5 comments

I want to define custom session name for each team matches, for example:

teams: [
    "A": ["Team 1", "Team 2"],
    "B": ["Team 3", "Team 4"]
]

and show it on bracket, also can show "Loser of A" or something hint when using double elimination. qq 20160114010359

brownsugar avatar Jan 13 '16 17:01 brownsugar

Are there two requirements? I mean, does the "session name" have another function than just indicating where winner or loser proceeds? Since the "session name" is attached to teams instead of matches, what would be the purpose of it after first round?

If you want to attach data to a specific match, you can use the third value of match results for that: http://www.aropupu.fi/bracket/#matches

teijo avatar Jan 14 '16 11:01 teijo

Yes, I'm sorry I was confused with those two functions, I missed the "Match information" part, and now I get it.

Another requirement is to show a hint of matches (Loser of XX), and the XX can auto defined by plugin, every match has their own name, like A, B, C, ..., Y, Z, AA, AB, ...to make the bracket easier to read.

brownsugar avatar Jan 14 '16 12:01 brownsugar

So something like this (regardless wether it's single or double elimination)?

Double elimination bracket

teijo avatar Jan 15 '16 23:01 teijo

Yes!! That's what I mean :smile:

brownsugar avatar Jan 16 '16 03:01 brownsugar

+1, would love to see something like this

majtymit avatar Nov 13 '16 19:11 majtymit