tswift242 / fantasyfootball-custom-scorer

Fantasy Football program for quickly determining good custom scoring rules for custom leagues
MIT License
0 stars 0 forks source link

Fantasy Football Custom Scoring Helper

This application is designed to help fantasy football league comissioners choose approperiate custom scoring rules for their league, should they desire to stray from the defaults. By using the program, one can see what the effects of a specific set of custom rules are, both on the absolute scores of each player, and the relative rankings of the players.

About the program

The program allows one to choose a set of custom scoring rules for the league by assigning a scoring rule to each of the supported scoring statistics. Then, one can have these rules take effect by evaluating each player against the scoring rules, which assigns each player an updated score. Players are automatically sorted by score so that relative rankings can easily be discerned.

For convenience, players are organized by position. Selecting a player mode changes which players are currently visible based on position. Only players corresponding to the current player mode are scored against the current set of scoring rules.

The application allows one to score the same set of players against 2 different sets of scoring rules, to allow easy comparisons between slight (or significant) rule variations. We call the area within the UI containing a single set of players with their accompanying scoring rules a "scoring panel". The program's UI consists of 2 scoring panels, as well as panel which specifies global options across both scoring panels.

Features/Functionality

Global options/actions

These are options which apply to both scoring panels.

Individual options/actions

These are options which apply to each individual scoring panel.

Players

The program currently uses a fixed set of hard-coded players and statistics. Each mode (position) is meant to have a set of representative players, in that good, mediocre, and bad players are all included, in roughly equal amounts. Player statistics are from the 2012-2013 NFL season. The goal is to enhance our data usage in the future by having player statistics read out of a CSV file, and ideally have the ability to grab this data from online sources dynamically as needed.

Stat Abbreviations

Multi-categorical

Passing

Rushing

Receiving

General Offense

Kicking

Defensive