# 我用 Claude Code 做了一个激光干射击游戏：摄像头看着你的显示器并给激光命中计分（开源、免费）

- 原标题：I built a laser dry-fire shooting game with Claude Code: a webcam watches your monitor and scores laser hits \(open source, free\)
- 类型：项目
- 来源：Reddit
- 发布时间：2026-10-25
- 首次精选：2026-10-26 15:47
- 分级：值得看
- 学习层级：进阶
- 主题：[coding-agents-engineering](<https://oplearnx.com/md/topics/coding-agents-engineering.md>)（第 9 位）、[creative-coding-design](<https://oplearnx.com/md/topics/creative-coding-design.md>)（第 13 位）、[vision-multimodal-understanding](<https://oplearnx.com/md/topics/vision-multimodal-understanding.md>)（第 16 位）
- 原文链接：[https://reddit.com/r/ClaudeAI/comments/1xeqtp1/i\_built\_a\_laser\_dryfire\_shooting\_game\_with\_claude](<https://reddit.com/r/ClaudeAI/comments/1xeqtp1/i_built_a_laser_dryfire_shooting_game_with_claude>)
- 本站页面：[https://oplearnx.com/resources/pk\_730b6d1c7c6b](<https://oplearnx.com/resources/pk_730b6d1c7c6b>)

## 摘要

Reddit r/ClaudeAI 上的社区帖子。作者称用约两周时间以 Claude Code 做出 ScreenPlink：以显示器为靶，用激光训练手枪或激光弹壳射击，显示器旁的摄像头拍摄屏幕并计算命中像素、打出弹孔并让靶倒下。功能包括九种训练、十五个带计分环的人形靶、17 发弹匣和同屏双人；摄像头可斜置，应用通过拍摄屏幕上的标记自行标定。作者说明代码基本全部由 Claude Code 编写，自己负责设计与验收，难点在于让无法看到屏幕、无法扣扳机的智能体调试一个测量物理世界的程序，为此使用了进程内 MCP 服务器等做法。适合用 Claude Code 做图像/硬件相关项目开发的人阅读。

---
来源：LearnMap · 学径（https://oplearnx.com）
