mlb-led-scoreboard
mlb-led-scoreboard copied to clipboard
Additional play display compatibility
This pull request makes changes in data/plays.py and data/game.py to add compatibility with numerous other common plays in the scoreboard. This could be combined with changes in renderers/game/game.py to display many more play results on scoreboards (as I've done with the rest of the code on my personal repository).
Specifically:
- Added "RBI" tag for run scoring plays to differentiate them for others
- Added "Home Run" play for display of all types of Home Runs
- Added tag for type of out made (fly, pop, ground) to allow for display
- Added other plays such as "Stolen Base"
All original plays and abbreviations should have been maintained and not break any existing functionality.
(I don't know what I'm doing, so please provide feedback if going about this incorrectly)
Thanks for the detailed thoughts (some of which made me facepalm)! I'll revise accordingly.