summaryrefslogtreecommitdiff
path: root/grudger.pl
diff options
context:
space:
mode:
Diffstat (limited to 'grudger.pl')
-rw-r--r--grudger.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/grudger.pl b/grudger.pl
index 3a78513..b075a42 100644
--- a/grudger.pl
+++ b/grudger.pl
@@ -2,6 +2,6 @@
% that move defects forever (he does not forgive).
% http://euler.fd.cvut.cz/predmety/game_theory/lecture_repeat.pdf
-grudger([], c).
-grudger([d|_], d).
-grudger([c|Tail], Decision, _, _) :- grudger(Tail, Decision).
+grudger([], c, _, _).
+grudger([d|_], d, _, _).
+grudger([c|Tail], Decision, _, _) :- grudger(Tail, Decision, _, _).