From f6955e34489c79f6d5b764cb6a39b1387366b433 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 8 Nov 2026 21:56:29 +0100 Subject: Phase 0: project scaffolding - server/: Dart game-server package (shelf + WebSocket) with the hello/welcome handshake, ping/pong, error responses, healthz, static SPA serving with SPA fallback, and smoke tests (5/5) - web/: Svelte 5 + TypeScript SPA with the protocol client, connection-status page, vitest and svelte-check; Vite dev server proxies /ws to the Dart server - game data assets copied from the read-only reference app into server/assets/ (data, images, i18n, fonts, testData) - PLAN.md implementation plan and progress tracker; README rewritten for the web app; AGPLv3 LICENSE inherited from the reference app; .gitignore; scripts/ci.sh (full pipeline) - CLAUDE.md project guidance Verified: scripts/ci.sh passes end-to-end; live smoke confirms the server serves the built SPA at / and answers a WebSocket hello with a welcome message. --- server/assets/data/summons.json | 67 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 server/assets/data/summons.json (limited to 'server/assets/data/summons.json') diff --git a/server/assets/data/summons.json b/server/assets/data/summons.json new file mode 100644 index 0000000..26f7a50 --- /dev/null +++ b/server/assets/data/summons.json @@ -0,0 +1,67 @@ +{ + "summons": { + "Warrior Spirit": { + "health": 6, + "gfx": "Warrior Spirit", + "move": 1, + "attack": 3 + }, + "Skeleton": { + "health": 3, + "gfx": "Skeleton", + "move": 2, + "attack": 2 + }, + "Steel Construct": { + "health": 5, + "gfx": "Steel Construct", + "move": 2, + "attack": 3 + }, + "custom": { + "health": 2, + "move": 2, + "attack": 2 + }, + "Jade Falcon ": { + "health": 2, + "move": 3, + "attack": 2 + }, + "Warrior Spirit ": { + "health": 4, + "move": 1, + "attack": 3 + }, + "Skeleton ": { + "health": 3, + "move": 2, + "attack": 2 + }, + "Steel Construct ": { + "health": 5, + "move": 2, + "attack": 3 + }, + "Delicate Model": { + "health": 1, + "move": 1, + "attack": 0 + }, + "Harrower Swarm": { + "health": 3, + "move": 3, + "attack": 2 + }, + "Smoke Spirit": { + "health": 6, + "move": 3, + "attack": 1 + }, + "Water Spirit": { + "health": 3, + "move": 2, + "attack": 2 + } + } +} \ No newline at end of file -- cgit v1.3.1