Class Index
Functions called directly in response to user action (clicking a button, etc).
All aspects of contract negotiation.
The annual draft of new prospects.
Functions related to free agents that didn't make sense to put anywhere else.
Everything about games except the actual simulation.
Individual game simulation.
Creating and removing leagues.
Functions operating on player objects, or parts of player objects.
Somewhat of a hodgepodge.
Trades between the user's team and other teams.
Functions that directly access an IndexedDB database.
Anything that directly updates the UI.
Advanced stats (PER, WS, etc) that require some nontrivial calculations and thus are calculated and cached once each day.
Various utility functions that don't have anywhere else to go.
These functions all deal with locking game state when there is some blocking action in progress.
Module to emulate some of Python's random library.