From 4f68ee63a4e32d351a274113a610bea01c506e27 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 6 Nov 2012 16:38:16 +0100 Subject: tit4tat.pl: Try to document the syntax Since its not readable from the facts. --- tit4tat.pl | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit