Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

udp client: register arena:snap + squash:move geckos listeners

Server-emitted arena:snap packets over UDP were being dropped silently
because lib/udp.mjs only listened for tv, fairy:point, and 1v1:move.
The server's "prefer UDP, fall back to WS" path sees the emit succeed
and never falls back, so arena clients never received snapshots — other
players appeared frozen / absent.

Same latent bug for squash:move; adding both for consistency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+10
+10
system/public/aesthetic.computer/lib/udp.mjs
··· 136 136 channel.on("1v1:move", (content) => { 137 137 respond("1v1:move", content); 138 138 }); 139 + 140 + // 🏟️ Arena snapshots (server-authoritative broadcast at 30Hz) 141 + channel.on("arena:snap", (content) => { 142 + respond("arena:snap", content); 143 + }); 144 + 145 + // 🎾 Squash position updates (peer-relayed) 146 + channel.on("squash:move", (content) => { 147 + respond("squash:move", content); 148 + }); 139 149 }); 140 150 141 151 channel.onDisconnect((error) => {