add mordred being ducking

This commit is contained in:
Barak Michener 2013-08-06 23:26:42 -04:00
parent 98ba4cac7b
commit b6ae44b772

2
tim.py
View file

@ -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: