Closed Itangalo closed 2 years ago
It would be useful to have functions for determining if two points on a board (grid track) are connected by a line of sight.
This will require that the spaces have information about coordinates, not only connections, and also exact or approximated size/shape of spaces.
Holy cow. I managed to code a pretty good line-of-sight function.
Code, tests and documentation in place.
It would be useful to have functions for determining if two points on a board (grid track) are connected by a line of sight.
This will require that the spaces have information about coordinates, not only connections, and also exact or approximated size/shape of spaces.