Example #1
0
 def handle_stopped_round(self):
     notifier.notify('Round has not been started')
     print('Press <Enter> to start the round')
Example #2
0
 def round_finished(self):
     notifier.notify('Time Up', timeout=15 * 1000)
     self.sound_player.play_timeup()
     self.round_started = False
     print('Round finished!\n')
Example #3
0
 def round_finished(self):
     notifier.notify('Time Up', timeout=15 * 1000)
     self.sound_player.play_timeup()
     self.round_started = False
     print('Round finished!\n')
Example #4
0
 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
Example #5
0
 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