nttb / tt-match-ranking Goto Github PK
View Code? Open in Web Editor NEWAn utility library to calculate ranking in a table tennis match/tournament.
License: European Union Public License 1.2
An utility library to calculate ranking in a table tennis match/tournament.
License: European Union Public License 1.2
Currently the library supports only best-of 3 or a variation of it.
However in some cases the rules is that a minimum of 3 games is played.
So 11-0,11-0,11-0
can occur but also 11-0,0-11,11-0
.
Currently the system remove players and their sets that have walked away from more than half of the matches. They aren't show in the ranking and although it is easy to determine that based on the input it would even be better if it was also part of the output.
When build it exists out of multiple javascript files. Although this is fine for developers that are familiar with javascript bundeling, it will make it harder for developers who are unfamiliar with it.
I see no reason that the typescript compilation can output a single file. In fact from a performance point of view I think it's prefered.
Currently builds are done by hand, locally on a developer machine. As a general rule local builds are untrusted and it would be prefered if builds were created by Github.
Things to that we need to think about:
It would be useful for both users and developers of the library that when the ranking is generated it also reports the steps and calculations that it has taken.
The current library does display a few (deprecated) fields but without inner understanding of the system it will be hard to use and validate (which is why they have been marked as deprecated).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.