跳到正文
Simon Willison·· 2026-10-16精选

Simon Willison 尝试用声音让两台手机玩静态网页乒乓球

AI 导读

作者公开一个通过提示构建的静态 HTML 游戏实验,用麦克风声信号同步相邻手机状态。适合作为智能体编程与原型测试案例,实验可玩性不等于成熟商用产品。

推荐理由

Codex 来源核对 · 按原文范围整理,保留案例及数据的适用边界。

正文 · AI 翻译

工具 Chirp Pong — Chirp Pong 是一款双人球拍游戏,两部手机通过声音配对并相互传球,使用各自设备的扬声器和麦克风,而非 Wi-Fi 或蓝牙。页面提供对战模式,通过啁啾声握手将两部手机配对;另有与 CPU 对手较量的练习模式,可选择 7、11 或 15 分的赛制。

又一个游戏实验——我想看看,能否在两部独立的手机上运行一个基于静态 HTML 的双人游戏,让网络通信代码使用通过麦克风发送的啁啾声。看起来可行!

Build a two player competitive pong like game where two players use their phones close to each other and the game state is sent via audio noises which the web microphone API can interpret - but add graphical and gameplay twists to make it a lot more fun and intertwine than pong

Claude Opus 5.5 Extra 在 Claude Code 中。

来源:Simon Willison · simonwillison.net