创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Claude Code打造激光干火射击游戏ScreenPlink

AI 总结

开发者vkorost称,其约用两周时间借助Claude Code开发了开源项目ScreenPlink,相关代码几乎均由该编程智能体完成。这款Windows游戏通过摄像头识别激光命中的像素,在屏幕上显示弹孔并击倒目标;项目内置的进程内MCP服务器则向Claude Code提供测量结果与调试数据。开发者表示,运行需要防眩光显示器、支持60 fps的摄像头和红色激光训练器,不支持亮面屏幕及电视。

深度见解

ScreenPlink展示了利用Claude Code开发计算机视觉软件、调试物理世界交互及进行变异测试的详细实践,但性能数据和开发过程说法均来自开发者本人。

I built ScreenPlink with Claude Code over about two weeks. It is a laser dry-fire shooting game where your monitor is the target. You shoot the screen with a laser trainer pistol, or with a laser cartridge in your own gun. A webcam sitting beside the monitor watches the screen rather than you, the app works out which pixel you hit, punches a bullet hole there, and the target falls. Nine drills, fifteen figures with scoring rings, a 17-round magazine, and two players on one screen. You can also take both halves yourself with a pistol in each hand: two lasers landing in the same camera frame are detected as two separate shots. The 90-second trailer shows what the game looks like. The camera does not need to be in front of the screen or square to it. Off-axis at an angle is normal and supported: the app photographs its own markers on the monitor to learn the mapping, so calibration costs no ammunition. How Claude Code was used to build it Claude Code wrote essentially all of the code. I designed the game, directed Claude, shot at the monitor, and ruled on what was acceptable, but I did not write any code by hand. The hard part was never the game logic. It was getting an agent to develop and debug a program that measures the physical world, when the agent cannot see the monitor or pull the trigger. The honest headline number is not a test result: an independent microphone channel counts trigger pulls separately from the camera, and 84 to 89% of heard trigger pulls become a detected shot. All twenty lessons learned are described in details in the repo. Free to try, two ways to set up Open source (Apache-2.0), source plus a Windows release: https://github.com/vkorost/screenplink What you need: Windows, a matte (anti-glare) monitor, a webcam that does 60 fps, and a red laser trainer. Glossy screens and TVs do not work. submitted by /u/vkorost [link] [comments]

#ScreenPlink#Claude Code#Anthropic#Model Context Protocol

原文约 2 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。