summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
df9b2d1)
And then I made them all floats
FUCK FUCK FUCK FUCK FUCK
agentFile.write(line)
line = oldFile.readline()
values = line.split(' ')
agentFile.write(line)
line = oldFile.readline()
values = line.split(' ')
- agent["totalScore"] += int(values[2].strip())
+ agent["totalScore"] += float(values[2].strip())
agent["Wins"] += int(values[5].strip())
agent["Losses"] += int(values[8].strip())
agent["Draws"] += int(values[11].strip())
agent["Wins"] += int(values[5].strip())
agent["Losses"] += int(values[8].strip())
agent["Draws"] += int(values[11].strip())