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

"League mode" scoring script #20

Open
privong opened this issue Nov 20, 2018 · 0 comments
Open

"League mode" scoring script #20

privong opened this issue Nov 20, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@privong
Copy link
Owner

privong commented Nov 20, 2018

For a series of games involving the same players, write a script to calculate the "league" score. Each player gets points for their relative finishing position in a game. For example, one possibility for a 4 player game is that first place gets 6 points, second place gets 3, third place gets 1, and fourth place gets 0. Tally these up across a series of games to show "league standings".

The script should take as inputs:

  • information on which games should be used (specified as a list of gameIDs or a date range)
  • (optional) points per finishing position

When a list of games is given, the script should go through and identify only those subsets of games which have the same sets of players. These should be presented to the user so the user can select which "league" to assess. This will handle instances in which "non-league" games were played mixed in with league games. Or alternately multiple "leagues" can be in place at the same time.

@privong privong added the enhancement New feature or request label Nov 20, 2018
@privong privong added this to the v0.4.3 milestone Nov 20, 2018
@privong privong self-assigned this Nov 20, 2018
@privong privong changed the title "League mode" scorintg script "League mode" scoring script Nov 21, 2018
@privong privong modified the milestones: v0.4.3, v0.5.0 May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant