Thanks AntiSquid, Illedan and Wildum for the contest. This is my 2nd contest and I finished in 468 (and in gold, which is a minor improvement over my performance in Mean Max)
In general this contest had me learning a lot of things that I should not be doing for a primarily heuristics competition with no sim:
I love rust, but it definitely wasn't the right tool for this job for me, and I got a bunch of paper cuts because of it. I would have probably been better off with the other language I know well (c#)
I stored all units in a different array (er actually vector) depending on their team and type. This was not a good idea, since most languages I know have easy ways of having a similar interface without all the hassle of splitting up everything and trying avoid spaghetti code because of it.
This is something I really wish I did way more of, I could have caught both of those issues, and many more minor ones if I had just thought things out a little better.
Some things I think I did right:
Keeping it simple-ish (...or trying to?)
I remember bob's post mortem from Fantasic Bits, and really took it to heart whenever I could, keeping that in mind I avoided some of the problems I could have had ended up with, like absolutely spaghetti code. However I still ended up with fairly unreadable code in the end (to the point where I'm actually tinkering with a local rewrite)
My bot wasn't really an if else bot as much as a "Try these things in this order picking the first one that works" bot. It really didn't do that much "move if you get hit" → "heal" "buy/sell stuff" → "attack" (skills being in there somewhere)
In conclusion, that was my recap of this contest, once again thanks AntiSquid, Illedan and Wildum for making it. I enjoyed it despite the (sometimes) hair tearing complexity that I'm no good at, and I'm really looking forward to the next contest.