From b6ae44b772c8893f772b24dfadd25e196e9aaf79 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 6 Aug 2013 23:26:42 -0400 Subject: [PATCH] add mordred being ducking --- tim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tim.py b/tim.py index a79f6ee..1c19144 100644 --- a/tim.py +++ b/tim.py @@ -108,7 +108,7 @@ class DeceptionGame(object): transaction = [] def obs(deal): - if self.player_is_good(deal, p1): + if self.player_is_good(deal, p1) and self.player_role(deal, p1) == "Mordred": if self.player_is_good(deal, p2) == claim: return True else: