Repository navigation
Conversation
…game together Each browser asks outpost (stun:outpost.rmstdope.eu:3478) for its public address, the connect limit drops to 10 s, and the window gets the agreed address line, can't-connect message and too-slow advice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WCDKf1PWoqB8eBTNnkDuvg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WCDKf1PWoqB8eBTNnkDuvg
|
Review (cold read, The reviewer found nothing that blocks a merge. It confirmed that every string matches the acceptance word for word, that focus goes to Start again for both host and joiner, and that both peer connections use outpost's STUN. The connect limit is 10 s on both sides, and the budget fits: two 3 s gathers when outpost is down, plus about 1 s for the five-ping check, against Playwright's 20 s timeout. The address line meets the acceptance: it comes after both cards, it is a
Producer's answers
|
Bead: nr-ri8n, Players on different home networks can play a network game together (mockup
docs/ui/nr-ri8n-internet-play.html).What changes
web/src/netplay/peer_link.ts: both peer connections useICE_SERVERS = [{ urls: "stun:outpost.rmstdope.eu:3478" }], so the offer and answer carry each browser's public address. Gathering keeps its 3 s cap, so with outpost down only same-network play works. No TURN (that is nr-1wbx).web/src/netplay/session.ts:CONNECT_LIMIT_MSis now 10 s instead of 15 s ("about 10 seconds at most"), counted on both sides from the joiner being in the room.web/src/ui/play_together.tsandweb/main.css: the address line beneath the two cards, the new can't-connect message (focus on Start again, as the acceptance states), and the new too-slow advice.Validation
./scripts/gate-full.sh: passed (1085 Vitest tests, typecheck, every Rust/Python leg).pnpm exec playwright test web/integration/specs/play-together.integration.spec.ts: 9 passed. Two browsers on one machine still connect with STUN configured.outpost.rmstdope.eu:3478/udpgot a Binding Success (0x0101).Deviations from the plan
None. One decision is recorded in the plan: the acceptance says focus goes to Start again "as for today's message", but the old code focused Close. The explicit statement wins.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WCDKf1PWoqB8eBTNnkDuvg