summaryrefslogtreecommitdiff
path: root/tit4tat.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tit4tat.pl')
-rw-r--r--tit4tat.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tit4tat.pl b/tit4tat.pl
index c94c13e..47d8535 100644
--- a/tit4tat.pl
+++ b/tit4tat.pl
@@ -1,6 +1,6 @@
% Syntax: MODULE(UserDecisionHistry [in], ModuleDecision [out])
% Use opponents last decision
-tit4tat([Last|_],Last).
+tit4tat([Last|_],Last,_,_).
% Fallback to coorporate if history is empty.
-tit4tat([],c).
+tit4tat([],c,_,_).