1 comment

[ 3.0 ms ] story [ 9.8 ms ] thread
Jane 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/ Original puzzle: https://www.janestreet.com/puzzles/current-puzzle/ Source code (built with SolidJS): 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.