Repository navigation
opponent1 as home team in double round robin mode #155
laukaichung
started this conversation in
Ideas
Replies: 1 comment
|
Good point! PRs are welcome |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How would you identify which opponent is home team in double round robin mode #49? I'd like to treat opponent1 as the home team and opponent2 as the away team, but it would be much easier if the opponents are inversed in the second encounter. Would you consider a setting in
bracketsManager.createto enable this?Currently:
Ideal:
Updated:
I figured out a workaround way of inversing opponents for double round robin mode with the
helpers.invertOpponentsbefore rendering. Just need to check if theopponent1s are the same in the first and last matches of the group. If so, usehelpers.invertOpponents(match)to change the second half of the matches. I guess it will also mutate the match list in the storage as well. Not ideal, but it works. Wish the brackets-manager would do it for me in the beginning.All reactions