Add co-op server, deploy docs, e2e suite and wire in the music tracks
- server/: Node (ws) static server + authoritative co-op rooms; dual-stack listen, proxy-aware client IP and Origin check, keep-alive pings, per-socket rate limits, graceful shutdown; 59 node:test tests - docs/DEPLOY.md + deploy/netwall.service: Debian 13 LXC, systemd, nginx Proxy Manager walk-through, path prefix, troubleshooting - e2e/: Playwright suite (smoke, touch, end flow, two-browser co-op incl. reconnect, 14-size layout matrix); npm run e2e - Music: tracks.json now points at the uploaded theme/battle/boss/win/lose files; stingers fade out when a new game starts - PAUSED indicator, refreshed icon Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tb8pW2KAN4oFkh1aK1BfD8
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 80 KiB |
|
|
@ -4,20 +4,16 @@
|
|||
</defs>
|
||||
<rect width="512" height="512" rx="112" fill="url(#g)"/>
|
||||
<rect x="20" y="20" width="472" height="472" rx="94" fill="none" stroke="#4de3ff" stroke-opacity=".4" stroke-width="6"/>
|
||||
<!-- firewall bricks with a gap the route squeezes through -->
|
||||
<!-- two wall rows with staggered gaps: the route has to snake through -->
|
||||
<g fill="#12305e" stroke="#5aa9ff" stroke-width="7" stroke-linejoin="round">
|
||||
<rect x="96" y="112" width="96" height="58" rx="10"/><rect x="208" y="112" width="96" height="58" rx="10"/><rect x="320" y="112" width="96" height="58" rx="10"/>
|
||||
<rect x="152" y="186" width="96" height="58" rx="10"/><rect x="264" y="186" width="96" height="58" rx="10"/>
|
||||
<rect x="96" y="260" width="96" height="58" rx="10"/><rect x="320" y="260" width="96" height="58" rx="10"/>
|
||||
<rect x="150" y="126" width="96" height="56" rx="10"/><rect x="258" y="126" width="96" height="56" rx="10"/><rect x="366" y="126" width="96" height="56" rx="10"/>
|
||||
<rect x="46" y="218" width="96" height="56" rx="10"/><rect x="154" y="218" width="96" height="56" rx="10"/><rect x="262" y="218" width="96" height="56" rx="10"/>
|
||||
</g>
|
||||
<!-- the long route -->
|
||||
<path d="M70 372 H256 V288 M256 288 H288 M288 288 V216 M288 216 H128 M128 216 V142 H460" fill="none" stroke="#4de3ff" stroke-width="9" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="2 22" opacity=".0"/>
|
||||
<path d="M66 366 H236 V290 H292 V214 H132 V140 H236 V86" fill="none" stroke="#4de3ff" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="1 24" opacity="0"/>
|
||||
<path d="M64 390 H224 V342 H296 V288 H224 V226 H128 V140" fill="none" stroke="#ffd24d" stroke-width="0" />
|
||||
<path d="M60 392 C 150 392 150 340 232 340 S 300 290 300 250 S 120 250 120 214" fill="none" stroke="#4de3ff" stroke-width="11" stroke-linecap="round" stroke-dasharray="1 26" opacity=".95"/>
|
||||
<circle cx="60" cy="392" r="20" fill="#ff5c7a"/><circle cx="60" cy="392" r="9" fill="#2a0c18"/>
|
||||
<!-- the server -->
|
||||
<rect x="396" y="334" width="76" height="96" rx="14" fill="#0d2038" stroke="#4de3ff" stroke-width="8"/>
|
||||
<g stroke="#4de3ff" stroke-width="7" stroke-linecap="round"><path d="M414 358h24M414 380h24M414 402h24"/></g>
|
||||
<g fill="#35e0a1"><circle cx="458" cy="358" r="5"/><circle cx="458" cy="380" r="5"/><circle cx="458" cy="402" r="5"/></g>
|
||||
<path d="M74 404 H414 V200 H98 V74 H388" fill="none" stroke="#4de3ff" stroke-width="11" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="1 25"/>
|
||||
<!-- gateway and server -->
|
||||
<circle cx="74" cy="404" r="22" fill="#ff5c7a"/><circle cx="74" cy="404" r="9" fill="#2a0c18"/>
|
||||
<rect x="392" y="36" width="72" height="84" rx="14" fill="#0d2038" stroke="#4de3ff" stroke-width="8"/>
|
||||
<g stroke="#4de3ff" stroke-width="7" stroke-linecap="round"><path d="M410 60h22M410 78h22M410 96h22"/></g>
|
||||
<g fill="#35e0a1"><circle cx="448" cy="60" r="4.5"/><circle cx="448" cy="78" r="4.5"/><circle cx="448" cy="96" r="4.5"/></g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |