diff options
Diffstat (limited to 'grudger.pl')
-rw-r--r-- | grudger.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, _, _). |