Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
axelrod Pass fitness function moran process (#1198) Aug 24, 2018
docs Pass fitness function moran process (#1198) Aug 24, 2018
test_outputs Re write the result set Feb 3, 2018
.editorconfig adds further file types to editorconfig Mar 10, 2015
.gitattributes Letting git merge hypothesis db files Dec 15, 2015
.gitignore Re write the result set Feb 3, 2018
.mailmap Revert "corrects Owen Campbell email address" Oct 15, 2015
.prepare-commit-msg.py [#647] Add instructions for graphical git client Jun 28, 2016
.travis.yml Pin sphinx to 1.7.6 on travis. Aug 21, 2018
CHANGES.md Release v4.2.2 Jul 30, 2018
CITATION.rst Add a minor fix to the CITATION.rst Apr 11, 2017
CONTRIBUTING.rst Create contributing.rst Mar 28, 2017
LICENSE.txt Change copyright holders to project team members Jun 4, 2016
MANIFEST.in Fix data file inclusion in setup.py Jan 5, 2017
README.rst Correct README for python version. Jan 9, 2018
appveyor.yml Change build command for appveyor May 21, 2017
citations.md Add a page of citations Aug 13, 2018
doctests.py Add a matplotlibrc file to set the backend. Aug 16, 2018
matplotlibrc isort test_plot.py and add a comment to mplrc Aug 16, 2018
requirements.txt WIP: Fix compute features and retrain ann (#1182) Jul 30, 2018
run_mypy.py actions.py to action.py, note possible typos in docs/reference/over..… Jul 7, 2017
run_strategy_indexer.py Use pathlib with strategy indexer. Apr 20, 2017
setup.cfg Add setup.cfg for wheel distribution Sep 9, 2016
setup.py Fix the long description for new pypi May 26, 2018
test Move filename back to tournament.play and add build_results. Update t… May 8, 2016

README.rst

https://coveralls.io/repos/github/Axelrod-Python/Axelrod/badge.svg?branch=master https://travis-ci.org/Axelrod-Python/Axelrod.svg?branch=packaging

Join the chat at https://gitter.im/Axelrod-Python/Axelrod

Axelrod

Goals

A Python library with the following principles and goals:

  1. Enabling the reproduction of previous Iterated Prisoner's Dilemma research as easily as possible.
  2. Creating the de-facto tool for future Iterated Prisoner's Dilemma research.
  3. Providing as simple a means as possible for anyone to define and contribute new and original Iterated Prisoner's Dilemma strategies.
  4. Emphasizing readability along with an open and welcoming community that is accommodating for developers and researchers of a variety of skill levels.

Features

With Axelrod you:

The library has 100% test coverage and is extensively documented. See the documentation for details and examples of all the features: http://axelrod.readthedocs.org/

An open reproducible framework for the study of the iterated prisoner's dilemma: a peer reviewed paper introducing the library (22 authors).

Installation

The library requires Python 3.5 or greater.

The simplest way to install is:

$ pip install axelrod

To install from source:

$ git clone https://github.com/Axelrod-Python/Axelrod.git
$ cd Axelrod
$ python setup.py install

Quick Start

The following runs a basic tournament:

>>> import axelrod as axl
>>> axl.seed(0)  # Set a seed
>>> players = [s() for s in axl.demo_strategies]  # Create players
>>> tournament = axl.Tournament(players)  # Create a tournament
>>> results = tournament.play()  # Play the tournament
>>> results.ranked_names
['Defector', 'Grudger', 'Tit For Tat', 'Cooperator', 'Random: 0.5']

Examples

Contributing

All contributions are welcome!

You can find helpful instructions about contributing in the documentation: http://axelrod.readthedocs.org/en/latest/tutorials/contributing/index.html

Publications

Contributors

The library has had many awesome contributions from many great contributors. The Core developers of the project are: