X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2FSampleAgents.py;h=b7fd49ddbec232c9eab8c46f323987de45605f66;hb=096c5a1586137638164557da4d2f18679d7236a4;hp=8a3c43935fc61a7fdb6cdae3f9540765e1ab9b63;hpb=75c1e3a9cb882db9937f709f9bf9ac11cfa2258c;p=progcomp10.git diff --git a/src/SampleAgents.py b/src/SampleAgents.py index 8a3c439..b7fd49d 100644 --- a/src/SampleAgents.py +++ b/src/SampleAgents.py @@ -70,7 +70,7 @@ class Wash (LearningAgent): return attack, bluff def Defend (self, foe, bluff): if Loss in LearningAgent.GetWinHistory (self, foe): - if bluff == Rock: attack = Scissors # They've fucked us in the past, + if bluff == Rock: attack = Scissors # They've screwed us in the past, elif bluff == Paper: attack = Rock # so we assume they're lying and else: attack = Paper # hoping we go for a kill. else: