Drarig29 / brackets-manager.js

A simple library to manage tournament brackets (round-robin, single elimination, double elimination).
https://drarig29.github.io/brackets-docs
MIT License
253 stars 38 forks source link

Support 'Skip first round' for a double elimination stage #37

Closed Drarig29 closed 3 years ago

Drarig29 commented 4 years ago

https://help.toornament.com/structures/introducing-the-skip-1st-round

Drarig29 commented 3 years ago

image

The first round of LB is ordered as reverse.

Drarig29 commented 3 years ago

To get this same exact ordering, just use these settings in manager.create():

settings: {
  skipFirstRound: true,
  seedOrdering: ['inner_outer', 'reverse'],
}