logoalt Hacker News

Chirp Pong – uses microphones and audio for networked game play

26 points • by havaloc • last Friday at 4:25 AM • 14 comments • view on HN

Comments

pcherna • today at 2:36 PM

In the middle of playing my very first round with one of my adult children, the other adult child audio recorded part of our game and started replaying their recording to disrupt the rest of our game. All in good fun and we laughed pretty hard. Also, we had fun with the game.

➕ show 1 reply
robotresearcher • today at 5:57 PM

Fun idea, Simon!

I wonder if the game state could be sent in an analog/continuous encoding rather than as encoding of a digital state. So that the human player could learn to roughly interpret the sounds, or at least figure out that the sounds are correlated with what’s happening.

That might have a different, possibly satisfying feel compared to the current bloops.

State would not be reconstructed bit-perfect but for a model of a physical system like pong, approximate might be ok.

havaloc • last Friday at 4:25 AM

Simon Willison:

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

jp_rider • today at 4:56 PM

Very cool! How much bandwidth can you get using this method?

➕ show 1 reply
Tade0 • today at 6:20 PM

How many tokens was that in the end?

manuelmenzella • today at 3:34 PM

Super! Is it open source?

➕ show 1 reply
HoldOnAMinute • today at 4:05 PM

Why not use this technology to build a chat application?

➕ show 1 reply
DropDead • today at 4:46 PM

[dead]