Beispiel #1
0
 def get_move(self, game_state: BotGameState):
     if self.turn == 0:
         if len(self.first_turn_moves) == 0:
             self.first_turn_moves = self.get_move_list_for_biggest_play_from(game_state, self.strategy,
                                                                              game_state.get_playable_numbers())
         if len(self.first_turn_moves) > 0:
             move = self.first_turn_moves.pop(0)
             return move
     move = self.get_valid_move(game_state, self.strategy)
     return move