Simon Willison·· 2 天前AI 评分18
Chirp Pong:用手机麦克风音频联网的双人 Pong 游戏实验
Chirp Pong
AI 导读
Simon Willison 用 Claude Code 中的 Claude Opus 5.5 Extra 做了一个双人竞技 Pong 类游戏实验,两台手机以静态 HTML 运行,联网代码通过麦克风发送 chirp 音频传递游戏状态,由 Web 麦克风 API 解析。实验验证了这种音频联网方式可行,并在画面和玩法上加入了比 Pong 更复杂的交互设计。
正文 · AI 翻译
另一个游戏实验——我想看看是否可行:让两台分别运行静态 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