Example #1
0
 def choose_trains(self, game_state: BotGameState, trains):
     most_tiles = get_most(game_state)
     chosen_trains = [train for train in trains if train.owner_tile_count == most_tiles and not train.am_owner]
     return TrainChooser.get_results(chosen_trains, trains)
Example #2
0
 def choose_trains(self, game_state: BotGameState, trains):
     chosen_trains = [train for train in trains if train.am_owner]
     return TrainChooser.get_results(chosen_trains, trains)