File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
tutorials/contributing/strategy Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ validity and reproducibility of results!
49
49
Quick start
50
50
-----------
51
51
52
+ Count the number of available players::
53
+
54
+ >>> import axelrod as axl
55
+ >>> len(axl.strategies)
56
+ 236
57
+
52
58
Create matches between two players::
53
59
54
60
>>> import axelrod as axl
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ above with your new strategy.
24
24
25
25
Once you have done that, you need to add the class itself to the
26
26
:code: `all_strategies ` list (in :code: `axelrod/strategies/_strategies.py `).
27
+ You will also need to increment the doctest in
28
+ :code: `axelrod/docs/index.rst `.
27
29
28
30
Finally, if you have created a new module (a new :code: `<strategy.py> ` file)
29
31
please add it to the :code: `docs/references/all_strategies.rst ` file so that it
You can’t perform that action at this time.
0 commit comments