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

Add worst offenders page #39

Open
ceddlyburge opened this issue Oct 3, 2019 · 0 comments
Open

Add worst offenders page #39

ceddlyburge opened this issue Oct 3, 2019 · 0 comments

Comments

@ceddlyburge
Copy link
Owner

In much the same way as #28, it would be good to show a list of the players with the most penalty cards.

This should happen after #38, which will invovle parsing the card details from the api response and updating the model with new types to represent the cards.

Different sports have different meaning for their cards, and different colours, so the code can't really know the relative importance of each, so instead it should use a heuristic. The cards that appear most rarely in the spreadsheet will be assumed to be the worst, and be given higher rankings tha those that appear more commonly.

The players will be ordered according to this ranking primarily, and then by player name and team name.

The cards should be displayed using their icons as in #38, along with the number of them that the player received.

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