Using Match Games #217
Unanswered
NotADuplicate
asked this question in
Q&A
Replies: 1 comment
-
Hey! The viewer doesn't support showing the content of the child games (Drarig29/brackets-viewer.js#105). You'll have to make the UI yourself if you want to show each child game. And |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to build a best of 3 tournament but I'm having some difficulty understanding the functionality of the matchGames. When I create my bracket I use:
await manager.create.stage({
tournamentId: 3,
name: 'Season 2 Playoffs',
type: 'single_elimination',
seeding: teams.map((team) => team.name),
matchesChildCount: 3,
settings: {
seedOrdering: ['inner_outer'],
size: this.getNearestPowerOfTwo(teams.length),
},
});
And yet I still don't see any matchGames, and the matches say they have a child count of 0. So I've been running this after my bracket creation:
manager.update.matchChildCount("stage",0, 3);
And that does create 3 matchgames per match in the structure, but still when I'm using the viewer I only see one match game per match in the way the bracket looks.

I have also had difficulty updating the match games, I am using the manager.update.updateMatchGame, but I don't understand how the input should be formatted such as how I should construct the deepPartial update structure. Are there any examples of a BoX tournament created with this?
Beta Was this translation helpful? Give feedback.
All reactions