score.py#

class sc2.score.ScoreDetails(proto) None[source]#

Accessable in self.state.score during step function For more information, see Blizzard/s2client-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}

“)