Adding the new strategy ======================= To get the strategy to be recognised by the library we need to add it to the files that initialise when someone types :code:`import axelrod`. This is done in the :code:`axelrod/strategies/_strategies.py` file. To classify the new strategy, run rebuild_classifier_table:: python rebuild_classifier_table.py This will update :code:`axelrod/strategies/_strategies.py`. Check that the recorded classifications for the strategies are what you expected. If you have added your strategy to a file that already existed (perhaps you added a new variant of :code:`titfortat` to the :code:`titfortat.py` file), simply add your strategy to the list of strategies already imported from :code:`.py`:: from import If you have added your strategy to a new file then simply add a line similar to above with your new strategy. Once you have done that, you need to add the class itself to the :code:`all_strategies` list (in :code:`axelrod/strategies/_strategies.py`). You will also need to increment the doctest in :code:`axelrod/docs/index.rst`. Finally, if you have created a new module (a new :code:`` file) please add it to the :code:`docs/references/all_strategies.rst` file so that it will automatically be documented.