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