Skip to content

Commit 2b4250c

Browse files
miller-ianIan Miller
and
Ian Miller
authored
Moved seed to Tourney arg in main.py (#1442)
* moved seed to tourney arg in hello world docs * formatting --------- Co-authored-by: Ian Miller <[email protected]>
1 parent 9838f84 commit 2b4250c

File tree

1 file changed

+1
-1
lines changed
  • docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament

1 file changed

+1
-1
lines changed

docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
number_of_strategies = len(
1212
first_tournament_participants_ordered_by_reported_rank
1313
)
14-
axl.seed(0)
1514
tournament = axl.Tournament(
1615
players=first_tournament_participants_ordered_by_reported_rank,
1716
turns=200,
1817
repetitions=5,
18+
seed=0,
1919
)
2020
results = tournament.play()
2121

0 commit comments

Comments
 (0)