Claude Opus 5.5 打造用声音联网的双手机 Pong 游戏 Chirp Pong
Chirp Pong
Simon Willison 用 Claude Code 中的 Claude Opus 5.5 做了一个双人 Pong 类游戏 Chirp Pong,两台手机各自运行静态 HTML,通过麦克风发送 chirp 音频、由 Web 麦克风 API 解析来同步游戏状态,无需网络连接。玩家把手机靠近即可对战,并在画面和玩法上加入了比 Pong 更复杂的互动设计。
Another game experiment - I wanted to see if it was feasible to have a two player game on two separate phones running in static HTML where the networking code uses chirps sent via the microphone. It seems to work!
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 in Claude Code.
来源:Simon Willison · simonwillison.net