Jane Street publishes a puzzle every month, and the March one involves lasers and mirrors.<p>I found it tedious to work with on paper, so I built a more interactive version: place mirrors on the grid and try to make all the lasers turn green.<p>Try it here: <a href="https://ouatu.ro/hall-of-mirrors-3/" rel="nofollow">https://ouatu.ro/hall-of-mirrors-3/</a>
Original puzzle: <a href="https://www.janestreet.com/puzzles/current-puzzle/" rel="nofollow">https://www.janestreet.com/puzzles/current-puzzle/</a>
Source code (built with SolidJS): <a href="https://github.com/ouatu-ro/hall-of-mirrors-3" rel="nofollow">https://github.com/ouatu-ro/hall-of-mirrors-3</a><p>It supports keyboard shortcuts to toggle laser visibility and line lengths, left/right click to place mirrors, and touch support on mobile that cycles through mirror states.<p>It was fun to make, and hopefully fun to use too.