Penalty Controls - rollerderby/scoreboard GitHub Wiki

Screen Layout

pt-screen

The screen follows the penalty tracking sheet from the WFTDA statsbook with the two teams side by side. Each row represents a skater. The columns have the following functions:

  • # - The number of the skater. Is highlighted in green, when the skater is in the current lineup. Different positions use different shades of green. Tapping the number allows entering a new penalty for the skater.
    • When the Skater has been marked as Captain for the team this cell will display a "C" in the top left corner.
  • Penalty cells - Denote penalty codes and jams. Tapping a cell with a penalty allows editing or deleting the penalty, tapping an empty cell allows entering a new penalty. Color codes:
    • Light Blue (and an exclamation mark next to the penalty code) - This penalty has not yet been served. The skater should be on their way to the box or in the queue. (If the marker is in error, you can mark the penalty served in the edit popup - see below.)
    • Green (and a dash next to the penalty code) - The skater (or a substitute) is currently serving this penalty.
    • Yellow/Orange/Red (whole row, where not blue or green) - This skater is on 5/6/7 penalties. Red is also used to mark expelled skaters.
  • FO_Ex - View, edit, add, or remove a foul out or expulsion. Foul outs are maintained automatically.
  • Penalty Count - Lists the number of penalties for each skater. The header gives the total number of penalties for the team.

Edit popup

penalty-popup

From top to bottom the elements are:

  • Period/Jam selectors - Set the period and jam for which the penalty is recorded. When adding a new penalty this is pre-filled with the current jam or, between jams, the previous jam. If you are recording a penalty for an older or the upcoming jam, you can change this accordingly. Note: When editing period/jam for an existing penalty the edit will only be stored after you tap Set Period/Jam or a penalty code. If you close the popup with the X in the top right corner your change will be discarded.
  • Penalty codes - Tap these to select the penalty code. When editing the current code will be highlighted.
  • Served - Indicates if this penalty has beeen served. Tap to toggle. This will be automatically marked, once the skater is marked in the box. (If they are currently sitting or lineup tracking is disabled, it will be marked right away.) If you are entering a penalty after the skater has left the box, set this manually.
  • Delete - Deletes the penalty or aborts creating a new one.