From 565fbb75729138607c75c9ddcaca385402d67944 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 12 Nov 2012 10:37:23 +0100 Subject: Prisoners Dilemma: Add parameter description to modules --- rules/periodically_ddc.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rules/periodically_ddc.pl') 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], []). -- cgit