From be89f998a8283fb2b9636f896fd932c89e69be58 Mon Sep 17 00:00:00 2001 From: Ian Miller Date: Sat, 1 Jun 2024 15:44:37 -0400 Subject: [PATCH 1/2] moved seed to tourney arg in hello world docs --- .../_static/running_axelrods_first_tournament/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py b/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py index 670a9ec7a..cec94590d 100644 --- a/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py +++ b/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py @@ -11,11 +11,11 @@ number_of_strategies = len( first_tournament_participants_ordered_by_reported_rank ) -axl.seed(0) tournament = axl.Tournament( players=first_tournament_participants_ordered_by_reported_rank, turns=200, repetitions=5, + seed=0 ) results = tournament.play() From a7a4732164d61c20f89a82a84da9f5993c4e0ee3 Mon Sep 17 00:00:00 2001 From: Ian Miller Date: Sun, 2 Jun 2024 21:40:39 -0400 Subject: [PATCH 2/2] formatting --- .../_static/running_axelrods_first_tournament/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py b/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py index cec94590d..f4f826a30 100644 --- a/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py +++ b/docs/tutorials/running_axelrods_first_tournament/_static/running_axelrods_first_tournament/main.py @@ -15,7 +15,7 @@ players=first_tournament_participants_ordered_by_reported_rank, turns=200, repetitions=5, - seed=0 + seed=0, ) results = tournament.play()