GroupStage tourney that tiebreaks until all done
In other words this module tiebreaks, and only makes sense to use over
GroupStage if you know exactly how many players to progress to another tournament.
GroupStage, but set
var GS = require'groupstage-tb';var trn = 16 groupSize: 4 limit: 4 ;// score trn.matches until trn.stageDone()while !trnisDone// trn will automatically tiebreak for us so we can pick group winner in each grouptrncreateNextStage;// keep scoring trn.matches (now tiebreakers) until trn.stageDone()trncomplete; // seal
Install locally from npm:
$ npm install groupstage-tb --save
Install development dependencies
$ npm install
Run the tests
$ npm test
MIT-Licensed. See LICENSE file for details.