Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What are your favorite examples of elegant software?. Parent comment
I was bothered by this problem so I solved it for my own city builder game, Archapolis (still very early development):
https://www.youtube.com/watch?v=7q0l87hwmkI
I can path 200,000 to 300,000+ units simultaneously to random destinations, with a bonus of utilizing all shortest paths between two points.
The paths are all cached for constant time path finding, but I figured out how to do so efficiently (both building and storing tree/graph)
I wrote a non-technical article here:
https://www.yesboxstudios.com/2022/04/27/all-nck-shortest-pa...
There are no comments on this comment yet.
I was bothered by this problem so I solved it for my own city builder game, Archapolis (still very early development):
https://www.youtube.com/watch?v=7q0l87hwmkI
I can path 200,000 to 300,000+ units simultaneously to random destinations, with a bonus of utilizing all shortest paths between two points.
The paths are all cached for constant time path finding, but I figured out how to do so efficiently (both building and storing tree/graph)
I wrote a non-technical article here:
https://www.yesboxstudios.com/2022/04/27/all-nck-shortest-pa...