产品

Simon Willison 用声音做双机联机游戏 Chirp Pong

Chirp Pong

精选理由

Willison 用手机麦克风发啁啾声当网线,两台手机玩双人 Pong,代码靠 Claude Opus 5.5 生成,想法挺有意思

Simon Willison 发布了 Chirp Pong,一款在两台手机上运行的双人 Pong 类游戏,纯静态 HTML 实现,不依赖网络连接。游戏状态通过麦克风发送的音频啁啾声传输,由 Web Microphone API 解码完成两台设备间的通信。该项目由 Claude Opus 5.5 Extra 在 Claude Code 中辅助开发,并在经典 Pong 玩法上增加了图形与玩法变化。

原文 · Simon Willison’s Weblog

Chirp Pong

Tool: Chirp 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 . Tags: game-design , ai , generative-ai , llms , claude-code