score.py

class sc2.score.ScoreDetails(proto)

Accessable in self.state.score during step function For more information, see https://github.com/Blizzard/s2client-proto/blob/master/s2clientprotocol/score.proto

property summary

TODO this is super ugly, how can we improve this summary? Print summary to file with: In on_step:

with open(“stats.txt”, “w+”) as file:
for stat in self.state.score.summary:

file.write(f”{stat[0]:<35} {float(stat[1]):>35.3f}

“)