by ericsoderstrom · 8y ago · 0 comments
Rough guesses for available actions:
32 (directions for movement)
+ 10 (spell/item activations) * 20 (potential targets. heroes + near by creeps)
+ 15 (attack commands. 5 enemy heroes and ~10 near by creeps)Which still leaves... approximately 170,000 actions unaccounted for
For a hero like invoker who can cast Sunstrike anywhere on the map at any time, would you try to come up with domain heuristics (only consider locations in the map near enemy heroes), or deal with an explosion of possible actions (and this applies to a ton of different hero mechanics that are not in scope here)?
In the development for the Magic the Gathering AI (Duels), one of the restrictions is "don't cast harmful spells on your targets" even though for some edge cases this is actually the optimal thing to do. They traded a smaller search space at the expense of optimality.
Sniper and Viper have non-targeted abilities that they were using to zone the enemy in a teamfight.
Based on the examples under the "Model structure" section, I'm guessing they are counting all combinations of spell and target location, including locations on the ground for ground-targetable spells? That could add up quick... e.g. 10 spells * 20 target units * 9x9 grid of locations around each = around 16,000 possibilities.