Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 4
    \$\begingroup\$ That image, though. +1 \$\endgroup\$ Commented Dec 3, 2015 at 20:12
  • \$\begingroup\$ I think this has a bug. Math.abs(enemyIntel - selfIntel) < closestIntel should be Math.abs(enemyIntel - selfIntel) < Math.abs(closestIntel - selfIntel). \$\endgroup\$ Commented Dec 9, 2015 at 17:46
  • \$\begingroup\$ @MegaTom I think you're right. I will check on this further when I have Java available. Thanks for the possible catch! \$\endgroup\$ Commented Dec 9, 2015 at 19:00