Calculates the total seconds passed in the game based on time and period.
Usage
seconds_passed(time_str, period)
Arguments
- time_str
A string representing the time in the current period.
- period
An integer representing the period.
Value
A numeric value representing the total seconds passed in the game.