From 096c5a1586137638164557da4d2f18679d7236a4 Mon Sep 17 00:00:00 2001 From: Daniel Axtens <dja@ucc.asn.au> Date: Thu, 26 Aug 2010 21:55:36 +0800 Subject: [PATCH] Let's not swear in the final product. --- src/SampleAgents.py | 2 +- src/progcomp.xcodeproj/project.pbxproj | Bin 7097 -> 6898 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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: diff --git a/src/progcomp.xcodeproj/project.pbxproj b/src/progcomp.xcodeproj/project.pbxproj index 7d4f27187f967bfc76e7f5ff0f38cd4beb819606..b85760a2e37257a89432a4359415dd2a816ca52c 100644 GIT binary patch delta 17 ZcmdmK{>gO1LgvjjEc)!5r*kU_002UG1{?qY delta 69 zcmexly3>5aLS{zC$rrgq*nK>mUHyVxCvNl<uvREYEXh!?Re*|3F62<zJfGQ+9aZV( I16)P|03&r3rvLx| -- GitLab