Beispiel #1
0
 def _run_and_plot(self, plot_index, num_plots, name, match_maker, environment):
     engine = Engine(match_maker, environment)
     for i in range(self.num_rounds):
         engine.one_round()
     target_players = engine.players_with_mmr_between(self.min_mmr, self.max_mmr)
     stats = engine.statistics(target_players)
     Runner._print_stats(name, stats)
     Runner._plot(plot_index, num_plots, stats)