sbox.kill() clock.kill() serve.kill() sys.exit(0) signal.signal(signal.SIGINT, signal_handler) player_out = None prev_leader = None no_letters_warned = False last_skip = dict(map(lambda x: (x,False), scoreboard.player_list)) while True: reload(configs) clock.warn_thresh = int(configs.WARN_TIME * 60) if configs.WARN_TIME > 0 else None clock.alarm_thresh = int(configs.ALARM_TIME * 60) if configs.ALARM_TIME > 0 else None cur_player = scoreboard.get_player_turn() print "====== SCORES ======" scores = scoreboard.get_scores() for player, points in scores: print "%s: %d points" % (player, points) print "====================" print "-- Begin %s's turn --" % cur_player voice.say("%s's turn!" % cur_player) sbox.highlight(cur_player) serve.refresh()