跳到正文
原文
Simon Willison·· 4 天前AI 评分5

Claude Code 中的 Chirp Pong 游戏实验

Chirp Pong

AI 导读

Claude Code 中的 Claude Opus 5.5 Extra 实验了使用手机麦克风发送的音频噪声进行两人游戏的可行性,成功构建了一个基于静态 HTML 的两人竞争式乒乓球游戏,游戏状态通过 Web 微型电话 API 传输,增加了图形和游戏玩法,使其比传统乒乓球更具趣味性和互动性。

原文

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