if verbose:
print "Preparing .html results files..."
+#BACKUP THE RESULTS DIRECTORY GOD DAMMIT
+os.system("mkdir .before_round"+str(totalRounds)+"_BACKUP/; cp " + resultsDirectory+"*" + " .before_round"+str(totalRounds)+"_BACKUP/")
+
if os.path.exists(resultsDirectory + "index.html") == True:
os.remove(resultsDirectory + "index.html") #Delete the file
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())