Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Please, help with Prime Pathing

#1

I have encountered a tricky problem - nearest moving point is beyond the wall. So how I can … filter only visible points, maybe?

#2

@Dmithry My original solution for this was rather extensive. I believe I detected all of the traps and manually identified a path through so that I looked at those traps first.

Looking at the code again. The isPathClear() function might help.