-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
165 lines (139 loc) · 7.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<html>
<head>
<title>Axelrod Python Project</title>
<meta name="description" content="The project site for the Axelrod Python Project">
<link rel="icon" href="static/favicon.ico" type="image/x-icon" />
<!-- Custom CSS -->
<link rel="stylesheet" href="semantic/dist/semantic.css">
<link rel="stylesheet" href="css/monokai.css">
<!-- Google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71279718-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="ui grid container">
<div class="ui raised very padded text container segment">
<a href="https://github.com/you"><img style="position: absolute; top: 0;
left: 0; border: 0;"
src="https://camo.githubusercontent.com/c6625ac1f3ee0a12250227cf83ce904423abf351/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f677261795f3664366436642e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_gray_6d6d6d.png"></a>
<h1 class="ui header" align="center">Axelrod-Python</h1>
</div>
<!-- Introduction -->
<div class="ui raised very padded text container segment">
<h2 class="ui header">Welcome to the Axelrod Python Project</h2>
<p>An open reproducible implementation of the Iterated Prisoner's Dilemma Tournament.</p>
<div class="highlight"><div class="hll"><pre><span class="k">$ </span><span class="nn">pip install axelrod</span>
</div>
</div>
<p> The project has 3 goals:
<ul>
<li>To enable the reproduction of previous Iterated Prisoner's Dilemma research as easily as possible.</li>
<li>To produce the de-facto tool for any future Iterated Prisoner's Dilemma research.</li>
<li>To provide as simple a means as possible for anyone to define and contribute new and original Iterated Prisoner's Dilemma strategies.</li>
</ul>
</p>
<p>Everything is on <a href='https://github.com/Axelrod-Python'>github</a> and released under an MIT license.<p>
</div>
<!-- Axelrod Python Library -->
<div class="ui raised very padded text container segment" id='axelrod-python-library'>
<h2 class="ui header">The Axelrod Python Library</h2>
<p>A Python package with over 70 strategies.</p>
<p>Easily contribute more strategies via pull request <b>and/or</b> run your own
tournaments:</p>
<!-- Output of pygmentiz -->
<div class="highlight"><div class="hll"><pre><span class="kn">import</span> <span class="nn">axelrod</span>
<span class="n">strategies</span> <span class="o">=</span> <span class="p">[</span><span class="n">s</span><span class="p">()</span> <span class="k">for</span> <span class="n">s</span> <span class="ow">in</span> <span class="n">axelrod</span><span class="o">.</span><span class="n">basic_strategies</span><span class="p">]</span>
<span class="n">tournament</span> <span class="o">=</span> <span class="n">axelrod</span><span class="o">.</span><span class="n">Tournament</span><span class="p">(</span><span class="n">strategies</span><span class="p">)</span>
<span class="n">results</span> <span class="o">=</span> <span class="n">tournament</span><span class="o">.</span><span class="n">play</span><span class="p">()</span>
<span class="n">plot</span> <span class="o">=</span> <span class="n">axelrod</span><span class="o">.</span><span class="n">Plot</span><span class="p">(</span><span class="n">results</span><span class="p">)</span>
<span class="n">p</span> <span class="o">=</span> <span class="n">plot</span><span class="o">.</span><span class="n">boxplot</span><span class="p">()</span>
<span class="n">p</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
</pre></div></div>
</div>
<!-- Documentation -->
<div class="ui raised very padded text container segment" id='documentation'>
<h2 class="ui header">Documentation</h2>
<p>The library is well documented and should allow you <a
href="http://axelrod.readthedocs.org/en/latest/usage.html#using-as-a-library">to create your own
tournaments very easily</a>.</p>
<p>The documentation is also becoming a good reference point on the Iterated
Prisoner's Dilemma with an <a
href="http://axelrod.readthedocs.org/en/latest/overview_of_strategies.html">overview of some of the classic tournaments</a>.</p>
</div>
<!-- New strategies welcome -->
<div class="ui raised very padded text container segment" id='new-strategies-welcome'>
<h2 class="ui header">New strategies welcome</h2>
<p>
The package keep track of the performance of all submitted strategies.
</p>
<p>
Here is the latest summary, if you can beat the current field please do send
us <a
href='http://axelrod.readthedocs.io/en/latest/tutorials/contributing/strategy/instructions.html'>contribute</a>
and/or <a href='https://gitter.im/Axelrod-Python/Axelrod'>get in touch</a>:
</p>
<p>
<img class="ui fluid image"
src='http://axelrod-python.github.io/tournament/assets/strategies_boxplot.svg'
alt='Full tournament results'>
</p>
</div>
<!-- DjAxelrod web app -->
<div class="ui raised very padded text container segment" id="djaxelrod-web-app">
<h2 class="ui header">The DjAxelrod web app</h2>
<p>We are building an exciting Django based web app.</p>
<p>Soon anyone will be able to create and run tournaments from the library
using a simple interface.</p>
</div>
<!-- How to reference the library -->
<div class="ui raised very padded text container segment" id="referencing">
<h2 class="ui header">How to reference this library</h2>
<p>We would be delighted if anyone wanted to use and/or reference this library
for their own research.</p>
<p>If you do please let us know and reference this page:</p>
<div class="highlight"><pre><div class="hll"><span class="kd">@misc</span><span class="p">{</span><span class="nl">Axelrod-Pythonprojectteam2015</span><span class="p">,</span>
<span class="na">author</span> = <span class="p">{</span><span class="s2">Axelrod-Python project team</span><span class="p">},</span>
<span class="na">title</span> = <span class="p">{{</span><span class="s2">Axelrod-Python vx.y.z</span><span class="p">}},</span>
<span class="na">url</span> = <span class="p">{</span><span class="s2">http://axelrod-python.github.io/</span><span class="p">},</span>
<span class="na">year</span> = <span class="p">{</span><span class="s2">2015</span><span class="p">}</span>
<span class="p">}</span>
</div>
</pre></div>
</div>
<!-- Contact information -->
<div class="ui raised very padded text container segment" id="contact-us">
<h2 class="ui header">Contact Information</h2>
<div class="ui list">
<div class="item">
<div class="content">
Gitter room: <a href='https://gitter.im/Axelrod-Python/Axelrod'>https://gitter.im/Axelrod-Python/Axelrod</a>
</div>
</div>
<div class="item">
<div class="content">
Github: <a href='https://github.com/Axelrod-Python'>https://github.com/Axelrod-Python/</a>
</div>
</div>
<div class="item">
<div class="content">
Email: <a href="https://groups.google.com/forum/#!topic/axelrod-python"
target="_blank">Axelrod-python e-mail group</a>
</div>
</div>
<div class="item">
<div class="content">
This website: <a href="http://axelrod-python.github.io/">axelrod-python.github.io</a>
</div>
</div>
</div>
</div>
</div>
</html>