Skip to content

Commit e725cb1

Browse files
committed
Update the README to use new tournament option.
I have also bumped the minimum requirement for Axelrod as this is the one actually needed to reproduce Axelrod's second tournament. Closes #41
1 parent 2fe6852 commit e725cb1

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ docs/_build
6767

6868
*.sublime-project
6969
*.sublime-workspace
70+
71+
# Test outputs
72+
second_tournament*.svg
73+
summary.csv

README.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Running an instance of Axelrod's second tournament:
3939
>>> players = [axlf.Player(name) for name in axlf.second_tournament_strategies]
4040
>>> print(len(players), "players")
4141
63 players
42-
>>> tournament = axl.Tournament(players, repetitions=1, turns=200)
42+
>>> tournament = axl.Tournament(players, repetitions=1,
43+
... turns=63, match_attributes={"length": -1})
4344
>>> results = tournament.play()
4445
>>> results.write_summary('summary.csv')
4546
>>> plot = axl.Plot(results)

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
axelrod>=3.1.2
1+
axelrod>=3.3.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def read(*names, **kwargs):
5454
'Topic :: Utilities',
5555
],
5656
install_requires=[
57-
'axelrod >= 3.2.1',
57+
'axelrod >= 3.3.0',
5858
],
5959
python_requires=">=3.5",
6060
)

0 commit comments

Comments
 (0)