Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with a BYE and possibly ordering or balancing #58

Closed
Drarig29 opened this issue Feb 13, 2021 · 1 comment
Closed

Bug with a BYE and possibly ordering or balancing #58

Drarig29 opened this issue Feb 13, 2021 · 1 comment

Comments

@Drarig29
Copy link
Owner

await manager.create({
    name: 'Example',
    tournamentId: 0,
    type: 'double_elimination',
    seeding: [
        'Team 1', 'Team 2', 'Team 3', 'Team 4',
        null, 'Team 6', 'Team 7', 'Team 8',
        'Team 9', 'Team 10', 'Team 11', 'Team 12',
        'Team 13', 'Team 14', 'Team 15',
    ],
    settings: {
        size: 16,
    },
});

Two BYEs are produced with it:

image

@Drarig29
Copy link
Owner Author

Actually no, it's not a bug. The second BYE is the result of completing the seeding to a size of 16 with a BYE.

The result I wanted was the 5th seed to be a BYE and the last seed to be a TBD ("to be determined") participant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant