4 ms·
You are so right, I am ashamed. See also this comment: https://news.ycombinator.com/item?id=6976883 https://news.ycombinator.com/item?id=6976883 We could try d
by nwinter 13y ago
You are so right, I am ashamed. See also this comment: https://news.ycombinator.com/item?id=6976883 https://news.ycombinator.com/item?id=6976883
We could try doing placements outside of California later, but for now we don't have much of a network outside of the SF Bay Area. (We're quite young as a startup.)
- emeraldd 13y agoOne question, why does this.addRect use the center of a rectangle to define it rather than a vertex? It makes attempting dealing with "native" rectangles rather awkward.
- nwinter 13y agoThat's how all the CodeCombat game engine works (things are positioned by their center points), so because this challenge was taken from an algorithm used in two places in the engine, it maintains that. I know it makes it a bit more complicated to write the code, but it's a lot easier for us to then snatch the winning solution to make CodeCombat faster!