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.

Required fields*

15
  • \$\begingroup\$ If anyone needs help with this challenge, you can get into the chat I created for this challenge . \$\endgroup\$ Commented Jul 29, 2014 at 14:30
  • \$\begingroup\$ Do planes start headed East/West or North/South? or something else? \$\endgroup\$ Commented Jul 29, 2014 at 18:15
  • 2
    \$\begingroup\$ @overactor there's a bug in the cooldown code. You're using simulateMove in the "Calculate the new positions" section, which decrements cooldown in addition to finding new positions. This means a plane can fire every turn if they ignore their own cooldown counter. \$\endgroup\$ Commented Jul 30, 2014 at 5:19
  • 2
    \$\begingroup\$ For those who may find it useful, this regex will search through the log to find where your plane shoots ^Move(.*?)shoot: true$ (replace "Move" with your name, and make sure that . does not capture new lines) \$\endgroup\$ Commented Jul 30, 2014 at 14:34
  • 2
    \$\begingroup\$ here's a commit for my plane wrapper, along with a dumb python plane. I'd love it if someone would write a smarter plane in perl/python/lua/bash/whatever and give me some feedback on if/how the wrapper works for you. github.com/sparr/Dogfight-KOTH/commit/… if people can/will use this, we can get it into @overactor's repo and allow arbitrary language submissions. \$\endgroup\$ Commented Jul 30, 2014 at 18:56