示例#1
0
 def announce_later_turn(self, prev_turns, our_roll):
     if tools.higher_than(our_roll, prev_turns[-1][1]):
         announcement = our_roll
     else:
         announcement = tools.rank_to_value(
             tools.value_to_rank(prev_turns[-1][1]) + 1)
     return announcement
示例#2
0
 def should_accuse_non_trivially(self, prev_turns):
     if tools.higher_than((5, 4), prev_turns):
         return False
     return True