Eh. I caught the fact that fights can end in ties but I can't get the answer to part 2. Seems like WAY lower boost than the example data.
k
karelpeeters
12/24/2018, 10:21 PM
Double check the order in which everything is supposed to happen, eg. target selection order != attack order and there are 3 things to take into account when picking a target.
t
todd.ginsberg
12/24/2018, 10:29 PM
Yeah I suspect that’s what it is. I’ve refactored a lot recently and I probably have something that incidentally works for samples in both parts and actual for part 1. Gotta probably figure it out tomorrow. Family stuff tonight.
todd.ginsberg
12/24/2018, 11:20 PM
You were right Karel. I had messed up one of my sorts during a refactor! Good intuition! 🙂
todd.ginsberg
12/24/2018, 11:20 PM
I reverted and it worked, so I stepped through it and I noticed where I converted one of my sorts wrong.
k
karelpeeters
12/24/2018, 11:30 PM
Awesome!
karelpeeters
12/24/2018, 11:30 PM
And looks like you've got your priorities straight, AoC > family 😄