4 ms·
It would be very nice to have a console.log/dir style function that would let you inspect objects/arrays. (Makes debugging significantly easier). Also, any ch
by emeraldd 13y ago
It would be very nice to have a console.log/dir style function that would let you inspect objects/arrays. (Makes debugging significantly easier).
Also, any chances of expanding beyond California?
- nwinter 13y agoYou 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!