Skip to content
Snippets Groups Projects
Commit 096c5a15 authored by Daniel Axtens's avatar Daniel Axtens
Browse files

Let's not swear in the final product.

parent f3b1a5c2
No related merge requests found
......@@ -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:
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment