← Simon Willison's blog

Chirp Pong

2026-10-15T19:47:52+00:00  ·  Simon Willison's blog  ·  原文

###

### Simon Willison's blog

### ---

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

正文抓取自 Simon Willison's blog 官方开放接口;版权归原文作者与出版方所有,仅供学习使用。