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

dynamic tournaments #14

Closed
clux opened this issue Nov 16, 2013 · 1 comment
Closed

dynamic tournaments #14

clux opened this issue Nov 16, 2013 · 1 comment

Comments

@clux
Copy link
Collaborator

clux commented Nov 16, 2013

At the moment all tournaments are static, in the sense that all matches are pre-created an there is not really any room for adding matches to the match list as the tournament progresses because of assumptions we have based tournament on, and this is fine.

TieBreaker add this kind of dynamic behaviour of having new matches suddenly introduced by setting a freezing point, then forwarding to it.

However, this is actually a lot more common than previously anticipated. Example FFA without the arfiticial scoring limit need tiebreakers at each round: tournament-js/ffa#1

Thus, what we really need is a dynamic tournament, that can have freezing points, but really encapsulate some of this progression to a new stage logic. Initially we can have a dynamic FFA tournament type that features this, creates tiebreakers automatically after each round, then forwards the winners of the tiebreaker to a new ffa round based on advancers / sizes parameters. Essentially, the API would be unchanged, except for the addition of the freezing points.

This would only really necessitate an extra id parameter short for "stage" so that ALL these dynamic matches can be bunched into one "giant" array. Obviously, we also need a module to actually treat these types of tournaments differently by not expecting the matches array to stay static.

@clux
Copy link
Collaborator Author

clux commented Dec 5, 2013

tourney takes care of these things now - although it is still a bit experimental.
Example implementations of ffa with tiebreakers and groupstage with tiebreakers exist.
Will add a link in README then close this.

@clux clux closed this as completed in bd9e91c Dec 5, 2013
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