We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Yes, you can make pull request to suggest improvements. The github is available here: https://github.com/marchete... .
In few days, the feature with edit/fork button should be available directly from the playground interface, in the header.
how to partition city map by using voronoi diagram?
This is a great explanation for vornoi. Thank you very much
Be careful with JS code in /lets-get-your-hands-dirty, I used the same name for local variable in `fillVoronoi` as existing function (`var distance = distance(tile, player);`) and at first thought that my implementation was incorrect when the problem was with variable shadowing.
Strange, I think this is the first time I see this particular case.
Also there was no errors in the Console. I checked and noticed that all Errors are ignored, they are caught in main.js. I think it would be better to at least log them.
can you include an example code??
Added a solution to the exercise as an spoiler block.
¿About a real implementation?
I may depend on the language you use.
The pseudocode is on the first page. If you need a real implementation you can either check the source code of the course ( https://github.com/marchete... ) or in the Rosetta Code web ( https://rosettacode.org/wik... ). There are multiple implementations in many languages.
Thanks i've already check rosetta. it's very interesting
wow, this would work well for https://www.codingame.com/m... I assume
the playground is actually linked there ;)
>Community-empowered: All content is hosted on Github repositories. What does that mean? Well, readers can make pull requests on the author’s content in order to suggest improvements.
Hi, this is a quote from https://tech.io/blog/techio...
Can I see this feature on the example of this content?