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*
- \$\begingroup\$ If anyone needs help with this challenge, you can get into the chat I created for this challenge . \$\endgroup\$overactor– overactor2014-07-29 14:30:52 +00:00Commented Jul 29, 2014 at 14:30
- \$\begingroup\$ Do planes start headed East/West or North/South? or something else? \$\endgroup\$pseudonym117– pseudonym1172014-07-29 18:15:01 +00:00Commented 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\$Sparr– Sparr2014-07-30 05:19:24 +00:00Commented 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\$user2813274– user28132742014-07-30 14:34:11 +00:00Commented 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\$Sparr– Sparr2014-07-30 18:56:27 +00:00Commented Jul 30, 2014 at 18:56
| Show 10 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
\$\sin^2 \theta\$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. code-golf), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you