3 ms·
Show HN: Play with lasers and mirrors: Jane Street's March puzzle, interactive
- gobdovan 2y agoJane Street publishes a puzzle every month, and the March one involves lasers and mirrors. 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. Try it here: https://ouatu.ro/hall-of-mirrors-3/ https://ouatu.ro/hall-of-mirrors-3/ Original puzzle: https://www.janestreet.com/puzzles/current-puzzle/ https://www.janestreet.com/puzzles/current-puzzle/ Source code (built with SolidJS): https://github.com/ouatu-ro/hall-of-mirrors-3 https://github.com/ouatu-ro/hall-of-mirrors-3 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. It was fun to make, and hopefully fun to use too.