[F] A2 P1 Fix potential tree modification conflict

This commit is contained in:
Hykilpikonna
2022-02-23 09:49:04 -05:00
parent 68d4cc7355
commit 7dbcd30cc8
+1 -1
View File
@@ -167,7 +167,7 @@ def part1_runner(games_file: str, n: int, black_random: bool) -> None:
"""
tree = load_game_tree(games_file)
white = RandomTreePlayer(tree)
black = a2_minichess.RandomPlayer() if black_random else white
black = a2_minichess.RandomPlayer() if black_random else RandomTreePlayer(tree)
a2_minichess.run_games(n, white, black, show_stats=True)