Simon Willison·· 3 小时前AI 评分20
Claude Opus 5.5 在 Claude Code 中打造用声音联网的双人 Chirp Pong
Chirp Pong
AI 导读
Claude Opus 5.5 Extra 在 Claude Code 中构建了一款双人竞技游戏 Chirp Pong,两台手机通过麦克风发送的 chirp 音频传输游戏状态,由 Web 麦克风 API 解析,无需网络代码即可在静态 HTML 中运行。玩家将手机靠近即可对战,游戏在 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