def handle_stopped_round(self): notifier.notify('Round has not been started') print('Press <Enter> to start the round')
def round_finished(self): notifier.notify('Time Up', timeout=15 * 1000) self.sound_player.play_timeup() self.round_started = False print('Round finished!\n')
def round_info(self): if self.timer.ellapsed_time == self.timer.duration - 60: notifier.notify('60 seconds to round finish...') print('Round is going to finish in 60 seconds') self.info_notified = True