summaryrefslogtreecommitdiff
path: root/pavlov.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pavlov.pl')
-rw-r--r--pavlov.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/pavlov.pl b/pavlov.pl
index cc33a73..0da8011 100644
--- a/pavlov.pl
+++ b/pavlov.pl
@@ -1,3 +1,4 @@
+% Pavlov:
% Cooperates if and only if both players opted for the
% same choice in the previous move, otherwise it defects.
pavlov([], c, _, c):-!.