summaryrefslogtreecommitdiff
path: root/rules/periodically_ddc.pl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-12 10:37:23 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-12 10:37:23 +0100
commit565fbb75729138607c75c9ddcaca385402d67944 (patch)
tree78dc67b79c891dcd5c953cc929b489accb930c68 /rules/periodically_ddc.pl
parent7e23cb0e2a2ad82cddf354ee0d3c2773b99b4d02 (diff)
downloadwbs-565fbb75729138607c75c9ddcaca385402d67944.tar.gz
wbs-565fbb75729138607c75c9ddcaca385402d67944.tar.bz2
wbs-565fbb75729138607c75c9ddcaca385402d67944.zip
Prisoners Dilemma: Add parameter description to modules
Diffstat (limited to 'rules/periodically_ddc.pl')
-rw-r--r--rules/periodically_ddc.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/periodically_ddc.pl b/rules/periodically_ddc.pl
index 897986d..e76f5ab 100644
--- a/rules/periodically_ddc.pl
+++ b/rules/periodically_ddc.pl
@@ -1,4 +1,7 @@
% Plays periodically: Defect–Defect–Coop.
+%
+% Syntax: periodically_ddc(+history, -choice, +state_in, -state_out)
+
periodically_ddc(_, d, [], [1]).
periodically_ddc(_, d, [1], [2]).
periodically_ddc(_, c, [2], []).