Simon Willison·· 3 小时前AI 评分27
Simon Willison 的 Chirp Pong:用麦克风 chirp 同步的双人 Pong 实验
Chirp Pong
AI 导读
Simon Willison 的 Chirp Pong 用麦克风 chirp 在两部手机间同步静态 HTML 双人游戏,看起来可行。他想验证两部彼此分开的手机能否各自运行静态 HTML,并由 chirp 承担联网代码。
正文 · 原文
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