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!
4949Quick start
5050-----------
5151
52+ Count the number of available players::
53+
54+ >>> import axelrod as axl
55+ >>> len(axl.strategies)
56+ 236
57+
5258Create matches between two players::
5359
5460 >>> import axelrod as axl
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ above with your new strategy.
2424
2525Once you have done that, you need to add the class itself to the
2626: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 `.
2729
2830Finally, if you have created a new module (a new :code: `<strategy.py> ` file)
2931please 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