opponent1 as home team in double round robin mode #155
laukaichung
started this conversation in
Ideas
Replies: 1 comment
-
Good point! PRs are welcome |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.create
to enable this?Currently:
Ideal:
Updated:
I figured out a workaround way of inversing opponents for double round robin mode with the
helpers.invertOpponents
before rendering. Just need to check if theopponent1
s 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.Beta Was this translation helpful? Give feedback.
All reactions