summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tit4tat.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tit4tat.pl b/tit4tat.pl
index 6362ecc..c94c13e 100644
--- a/tit4tat.pl
+++ b/tit4tat.pl
@@ -1,3 +1,5 @@
+% Syntax: MODULE(UserDecisionHistry [in], ModuleDecision [out])
+
% Use opponents last decision
tit4tat([Last|_],Last).
% Fallback to coorporate if history is empty.