summaryrefslogtreecommitdiff
path: root/rules/gradual_killer.pl
diff options
context:
space:
mode:
Diffstat (limited to 'rules/gradual_killer.pl')
-rw-r--r--rules/gradual_killer.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/gradual_killer.pl b/rules/gradual_killer.pl
index 599ef3e..c40eeb9 100644
--- a/rules/gradual_killer.pl
+++ b/rules/gradual_killer.pl
@@ -3,6 +3,8 @@
% If the opponent has defected in rounds 6 and 7, than the Gradual Killer
% keeps defecting forever, otherwise he keeps cooperation forever.
+% Syntax: gradual_killer(+history, -choice, +state_in, -state_out)
+
gradual_killer(_, d, [], [1]).
gradual_killer(_, d, [1], [2]).
gradual_killer(_, d, [2], [3]).