Grid Line-of-Sight in JavaScript
2022-09-02
Click and drag over the grid to make a line. Any cells the line intersects will be highlighted in red.As usual, the code is all in one HTML file, which you can view by pressing F12 in Chrome and going to "Sources".