Ejemplo n.º 1
0
 def set_likely_moves_unless_revealed(self):
     if len(self.moves) == 4:
         return
     additional_moves = get_all_likely_moves(self.name,
                                             [m.name for m in self.moves])
     for m in additional_moves:
         self.moves.append(Move(m))
Ejemplo n.º 2
0
 def set_likely_moves_unless_revealed(self):
     if len(self.moves) == 4:
         return
     additional_moves = get_all_likely_moves(self.name, [m.name for m in self.moves])
     for m in additional_moves:
         # check that the move not Nothing
         if(m != ''): 
             self.moves.append(Move(m))
Ejemplo n.º 3
0
 def set_likely_moves_unless_revealed(self):
     if len(self.moves) == 4:
         logger.debug("{} revealed 4 moves: {}".format(self.name, self.moves))
         return
     additional_moves = get_all_likely_moves(self.name, [m.name for m in self.moves])
     logger.debug("Guessing additional moves for {}: {}".format(self.name, additional_moves))
     for m in additional_moves:
         self.moves.append(Move(m))