Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy

Built: units/research/training, movements (scan, raid, attack, takeover, reinforce, settle, transport), deterministic
combat resolved in the event queue, reports, power/offline units, founding + conquest + incumbent sites; alliances,
roles, diplomacy (24h pact cancel via events), messages, rankings; vanilla-JS phone-first client (auth, POP, map,
alerts, settings, en/nb); systemd units, backup timer, DEPLOY.md, tools/admin.js.
Tested: npm test 96/96 (fake clock, in-memory db, a few real-HTTP tests); client checked with headless Chromium
screenshots only. NOT done: marketplace/transport trade, client screens for military/social, WebSocket push,
bots/balance, e2e suite. All unit stats and costs are unbalanced first guesses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2MJaQ5LXAHzGnTDgceT14
This commit is contained in:
jvanvik 2026-10-11 18:32:36 +02:00
parent b56b13880e
commit 249818a7aa
111 changed files with 17472 additions and 13 deletions

17
public/icons/icon.svg Normal file
View file

@ -0,0 +1,17 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<radialGradient id="g" cx="30%" cy="18%" r="95%"><stop offset="0" stop-color="#16315c"/><stop offset="1" stop-color="#070b16"/></radialGradient>
</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=".35" stroke-width="6"/>
<!-- region links to the core POP -->
<path d="M120 410L256 290M392 410L256 290M150 170L256 290M362 170L256 290" fill="none" stroke="#4de3ff" stroke-width="10" stroke-linecap="round" stroke-opacity=".7"/>
<g fill="#0d2038" stroke="#5aa9ff" stroke-width="9">
<circle cx="120" cy="410" r="26"/><circle cx="392" cy="410" r="26"/><circle cx="150" cy="170" r="26"/><circle cx="362" cy="170" r="26"/>
</g>
<!-- the core POP: a hexagon -->
<path d="M256 220l54 31v62l-54 31-54-31v-62z" fill="#0d2a44" stroke="#4de3ff" stroke-width="12" stroke-linejoin="round"/>
<circle cx="256" cy="282" r="17" fill="#35e0a1"/>
<!-- upstream arrow -->
<path d="M256 140V70M226 98l30-30 30 30" fill="none" stroke="#ffd24d" stroke-width="13" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB