Code Monkey home page Code Monkey logo

Comments (4)

AnthonyCouval avatar AnthonyCouval commented on June 12, 2024 1

Ok thanks !
But there is still one problem to solve 😏
When the first stage is over, how I get the qualified teams of the round-robin stage ? I see the get.finalStandings() method but when I try to use it I have this error "A round-robin stage does not have standings."

from brackets-manager.js.

AnthonyCouval avatar AnthonyCouval commented on June 12, 2024 1

Yes, last night I did the ranking for the round robin, it gives me the n-first of each group.

There should be many options for the round robin, to choose how many qualifiers you want per group or like you said others differents ways to get qualified teams.

Fortunately, it's quite easy to add things by my own because the library is well coded, so it's to bad you not continue the dev.
By the way having a busy job myself, I completely understand.

We are developping many tools for Counter Strike 2, be sure you will be mentionned as a contributor.

Thanks for your precious help Drarig !

from brackets-manager.js.

Drarig29 avatar Drarig29 commented on June 12, 2024

Hey @AnthonyCouval! Thank you 🙇

I think the transition from a round-robin stage to an elimination stage can be made in a lot of different ways. So I fear it would be too complex to have a one-size-fits-all solution.

And I prefer not to add new features to the library... for now I try to maintain what's existing when I have the time.

What I did in another project is that whenever you mark a match as completed by setting its results (in round-robin), you also check if no matches are remaining.

If no tests are remaining, then you are at the end of the first stage, and you can create a - or fill an existing - second stage.

from brackets-manager.js.

Drarig29 avatar Drarig29 commented on June 12, 2024

Yes, by standings, I mean 1st, 2nd and 3rd place. What you want is something I'd call a ranking.

And the issue is that you can compute a ranking in very different ways: do you want to sort by win - loss? Or only by win? Or by some average?

I actually have a github issue already open for that, but I never did because of this exact difficulty:

So you'll probably have to implement it yourself 😕

from brackets-manager.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.