Axelrod-Python / axelrod-fortran

Python wrapper library around TourExec Fortran for Axelrod's second tournament.
Other
4 stars 0 forks source link

======== Overview

Python wrapper for strategies originally written in Fortran.

Installation

To use this library the original Fortran code must be compiled: https://github.com/Axelrod-Python/TourExec.

::

pip install axelrod-fortran

Usage

Running a match:

.. code-block:: python

import axelrod_fortran as axlf import axelrod as axl p1 = axlf.Player('k31r') p2 = axlf.Player('k33r') match = axl.Match((p1, p2), turns=5) match.play() [(C, C), (C, C), (C, D), (C, D), (C, C)]

Contributing

Please see CONTRIBUTING.rst for details about installing for development and running the test suite.