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. --- .../assets/testData/editions/Buttons and Bugs.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 server/assets/testData/editions/Buttons and Bugs.json (limited to 'server/assets/testData/editions/Buttons and Bugs.json') diff --git a/server/assets/testData/editions/Buttons and Bugs.json b/server/assets/testData/editions/Buttons and Bugs.json new file mode 100644 index 0000000..25779e3 --- /dev/null +++ b/server/assets/testData/editions/Buttons and Bugs.json @@ -0,0 +1,36 @@ +{ + "edition": "Buttons and Bugs", + "classes": [ + ], + "monsterAbilities": [ + { + "name": "Flame Demon (BnB)", + "cards": [ + [ 1, true, 3, "%fire%","*.........", "%move% 1","*.........", "%attack% 3", "^%range% 2"], + [ 2, true, 49, "%move% 2","*.........", "%attack% 4", "[r]", "%fireair%%use%", "%range% 3", "[/r]" ], + [ 3, true, 67, "%move% 2", "*.........", "%attack% 3", "^%range% 2", "[r]","%iceearth%%use%", "%pierce% 2", "[/r]"] + ] + } + ], + "monsters": { + "Flame Demon (BnB)": { + "deck": "Flame Demon (BnB)", + "display": "Flame Demon", + "gfx": "Flame Demon BB", + "flying": true, + "count": 4, + "levels": [ + {"level": 0, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 1, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 2, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 3, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 4, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 5, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 6, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]}, + {"level": 7, "health": 12,"attributes": [ "%shield% 1", "%retaliate% 2" ]} + ] + } + }, + "scenarios": { + } +} \ No newline at end of file -- cgit v1.3.1