TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Play with lasers and mirrors: Jane Street's March puzzle, interactive

3 点作者 gobdovan大约 2 个月前

1 comment

gobdovan大约 2 个月前
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:&#x2F;&#x2F;ouatu.ro&#x2F;hall-of-mirrors-3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ouatu.ro&#x2F;hall-of-mirrors-3&#x2F;</a> Original puzzle: <a href="https:&#x2F;&#x2F;www.janestreet.com&#x2F;puzzles&#x2F;current-puzzle&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.janestreet.com&#x2F;puzzles&#x2F;current-puzzle&#x2F;</a> Source code (built with SolidJS): <a href="https:&#x2F;&#x2F;github.com&#x2F;ouatu-ro&#x2F;hall-of-mirrors-3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ouatu-ro&#x2F;hall-of-mirrors-3</a><p>It supports keyboard shortcuts to toggle laser visibility and line lengths, left&#x2F;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.