Creative

Build a two-phone Pong game that talks through sound

Simon Willison had Claude Code build a two-player Pong game where phones share the game through audio chirps picked up by the microphone; he says it seems to work.

Done with Claude CodeClaude Opus 5.5

What they did

Simon Willison asked Claude Code, running Opus 5.5, for a two-player game like Pong. Players hold their phones close together. The phones share what is happening in the game as sounds, heard through each phone's microphone. He also asked for twists to the look and the play. The game is published as a single web page.

How it went

He says it seems to work.

Worth knowing

It is one simple web page with no server behind it. The only link between the two phones is sound.

Try it yourself with Claude Code

Build a two-player game in a single static HTML file, played on two phones held near each other. Send the game state between the devices as audio chirps that the other phone decodes through the web microphone API, with no server. Base it on [game idea, e.g. Pong], and add graphical and gameplay twists to make it more fun. Explain your audio encoding scheme before writing the code.

Swap the highlighted [parts] for your own details.

Read the original

Source: Simon Willison's Weblog · Simon Willison · Oct 15, 2026

Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified.

Get 5 use cases every day

The best things people got an agent to do yesterday, each with the prompt. Free, one email a day.

See today's issue