返回全部动态

Chirp Pong:用手机麦克风音频联机的双人游戏实验

原标题:Chirp Pong

Simon Willison's Weblog开源质量 54

AI 摘要

Simon Willison 在博客中展示了一个实验性双人游戏 Chirp Pong:两台手机运行静态 HTML,通过麦克风发送和接收音频“chirp”来同步游戏状态,实现近距离对战。该游戏在 pong 基础上加入了图形和玩法变化,代码由 Claude Code 中的 Claude Opus 5.5 Extra 协助完成。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

15th October 2026 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


发布时间:2026-10-16 03:47
抓取时间:2026-10-16 04:01
来源机构:Simon Willison
阅读原文simonwillison.net