Hello! Either this is a bug, or I need to learn more about python.
I have a set of code that runs great, got me to silver league, but I wanted to keep optimizing. What I found was that when I made a seemingly innocuous change to my code from:
priorityScores[k] = float(sampleGroup[k].health)/float(sampleGroup[k].totalCost())
priorityScores[k] = float(sampleGroup[k].health)/float(1)
then I would always lose on step 23 because I failed to produce any output. You can see the replay here:
My bot always grabs 3 samples and analyzes them as the starting move. That might explain why it is always step 23 that kills me.
On the off chance that my full code would help with this, here is the full code.
[Don’t share full code in the forum]
The change I made was to line 81. Please help!