Existing sport timer and scoreboard software, further development.
Add a SinBin function to Delphi 6 project. The sport has a 'Sin Bin' which is used by referee to penalise players.
A player or players may recieve 1, 2, 5 minute or remainder of match penalty.
Players may be panalised individually or more than one at a time.
All penalties stop if game clock is paused. Timed play may stop during a players penalty so the duration of a penalty will run from start of penalty until start time minus 1,2 or 5 minutes is deducted from the game clock. (readily avaialble in the existing software. )
Example, player Black number 6, recieves two minute penalty at 11:48. Time back in will be 9:48. Warning flash or something for Time keeper at 10 seconds before time up.
Text file output at start of penalty writes detail of team colour, player number, penalty duration, and time back into game.